ATLAS Offline Software
|
c-struct reproducing the structure of the persistent data More...
#include <LArOFCP1.h>
Public Types | |
typedef ILArOFC::OFCRef_t | OFCRef_t |
Public Member Functions | |
LArOFCP1 () | |
LArOFCP1 (float timeOffset, float timeBinWidth, const std::vector< std::vector< float > > &vOFC_a, const std::vector< std::vector< float > > &vOFC_b) | |
LArOFCP1 (float timeOffset, float timeBinWidth, unsigned int nPhases, unsigned int nSamples, const std::vector< float > &ofc_a, const std::vector< float > &ofc_b, unsigned int index) | |
LArOFCP1 (const LArCompactSubsetChannelProxy &other) | |
LArOFCP1 (const LArCompactSubsetConstChannelProxy &other) | |
size_t | OFC_aSize () const |
size_t | OFC_bSize () const |
OFCRef_t | OFC_a (size_t tbin) const |
OFCRef_t | OFC_b (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 20 of file LArOFCP1.h.
typedef ILArOFC::OFCRef_t LArOFCP1::OFCRef_t |
Definition at line 25 of file LArOFCP1.h.
|
inline |
Definition at line 27 of file LArOFCP1.h.
LArOFCP1::LArOFCP1 | ( | float | timeOffset, |
float | timeBinWidth, | ||
const std::vector< std::vector< float > > & | vOFC_a, | ||
const std::vector< std::vector< float > > & | vOFC_b | ||
) |
Definition at line 8 of file LArOFCP1.cxx.
LArOFCP1::LArOFCP1 | ( | float | timeOffset, |
float | timeBinWidth, | ||
unsigned int | nPhases, | ||
unsigned int | nSamples, | ||
const std::vector< float > & | ofc_a, | ||
const std::vector< float > & | ofc_b, | ||
unsigned int | index | ||
) |
Definition at line 16 of file LArOFCP1.cxx.
LArOFCP1::LArOFCP1 | ( | const LArCompactSubsetChannelProxy & | other | ) |
Definition at line 30 of file LArOFCP1.cxx.
LArOFCP1::LArOFCP1 | ( | const LArCompactSubsetConstChannelProxy & | other | ) |
Definition at line 36 of file LArOFCP1.cxx.
|
inherited |
Is there any data in this channel?
|
inline |
Definition at line 45 of file LArOFCP1.h.
|
inline |
Definition at line 42 of file LArOFCP1.h.
|
inline |
Definition at line 46 of file LArOFCP1.h.
|
inline |
Definition at line 43 of file LArOFCP1.h.
|
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.
|
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.