ATLAS Offline Software
|
c-struct reproducing the structure of the persistent data More...
#include <LArShapeP2.h>
Public Types | |
typedef ILArShape::ShapeRef_t | ShapeRef_t |
Public Member Functions | |
LArShapeP2 () | |
LArShapeP2 (float timeOffset, float timeBinWidth, const std::vector< std::vector< float > > &vShape, const std::vector< std::vector< float > > &vShapeDer) | |
LArShapeP2 (float timeOffset, float timeBinWidth, unsigned int nPhases, unsigned int nSamples, const std::vector< float > &shape, const std::vector< float > &shapeDer, unsigned int index) | |
LArShapeP2 (const LArCompactSubsetChannelProxy &other) | |
LArShapeP2 (const LArCompactSubsetConstChannelProxy &other) | |
size_t | shapeSize () const |
size_t | shapeDerSize () const |
ShapeRef_t | shape (size_t tbin) const |
ShapeRef_t | shapeDer (size_t tbin) const |
void | setFrom (LAr2DWaveBase &other) |
Assign from another wave object. More... | |
bool | isEmpty () const |
Is there any data in this channel? More... | |
float | timeOffset () const |
Return the time offset for this channel. More... | |
float | timeBinWidth () const |
Return the time bin width for this channel. More... | |
size_t | waveSize (unsigned int which) const |
Return the number of time bins for a wave. More... | |
LArVectorProxy | wave (unsigned int which, size_t tbin) const |
Return wave data. More... | |
Static Public Attributes | |
static const unsigned int | nWaves = 2 |
The number of different types of waves we store. More... | |
Private Attributes | |
float | m_timeOffset |
The time offset for this channel. More... | |
float | m_timeBinWidth |
The time bin width for this channel. More... | |
std::vector< std::vector< float > > | m_waves [nWaves] |
The wave data. More... | |
c-struct reproducing the structure of the persistent data
Definition at line 19 of file LArShapeP2.h.
Definition at line 24 of file LArShapeP2.h.
|
inline |
Definition at line 26 of file LArShapeP2.h.
LArShapeP2::LArShapeP2 | ( | float | timeOffset, |
float | timeBinWidth, | ||
const std::vector< std::vector< float > > & | vShape, | ||
const std::vector< std::vector< float > > & | vShapeDer | ||
) |
Definition at line 9 of file LArShapeP2.cxx.
LArShapeP2::LArShapeP2 | ( | float | timeOffset, |
float | timeBinWidth, | ||
unsigned int | nPhases, | ||
unsigned int | nSamples, | ||
const std::vector< float > & | shape, | ||
const std::vector< float > & | shapeDer, | ||
unsigned int | index | ||
) |
Definition at line 18 of file LArShapeP2.cxx.
LArShapeP2::LArShapeP2 | ( | const LArCompactSubsetChannelProxy & | other | ) |
Definition at line 32 of file LArShapeP2.cxx.
LArShapeP2::LArShapeP2 | ( | const LArCompactSubsetConstChannelProxy & | other | ) |
Definition at line 38 of file LArShapeP2.cxx.
|
inherited |
Is there any data in this channel?
|
inherited |
Assign from another wave object.
other | The source object. NOTE: We use move semantics; OTHER is left with no data. |
Could write with an rvalue reference in the future?
Definition at line 109 of file LAr2DWaveBase.cxx.
|
inline |
Definition at line 44 of file LArShapeP2.h.
|
inline |
Definition at line 45 of file LArShapeP2.h.
|
inline |
Definition at line 42 of file LArShapeP2.h.
|
inline |
Definition at line 41 of file LArShapeP2.h.
|
inherited |
Return the time bin width for this channel.
|
inherited |
Return the time offset for this channel.
|
inherited |
Return wave data.
which | The type of wave to return. |
tbin | The time bin to return. |
|
inherited |
Return the number of time bins for a wave.
which | The type of wave to query. |
|
privateinherited |
The time bin width for this channel.
Definition at line 150 of file LAr2DWaveBase.h.
|
privateinherited |
The time offset for this channel.
Definition at line 147 of file LAr2DWaveBase.h.
|
privateinherited |
The wave data.
Definition at line 153 of file LAr2DWaveBase.h.
|
staticinherited |
The number of different types of waves we store.
Definition at line 52 of file LAr2DWaveBase.h.