|
ATLAS Offline Software
|
Go to the documentation of this file.
35 #ifndef LARRAWCONDITIONS_LAR2DWAVEBASE_H
36 #define LARRAWCONDITIONS_LAR2DWAVEBASE_H
52 static const unsigned int nWaves = 2;
70 const std::vector<std::vector<float> >& wave0,
71 const std::vector<std::vector<float> >& wave1);
91 const std::vector<float>& wave0,
92 const std::vector<float>& wave1,
160 #endif // not LARRAWCONDITIONS_LAR2DWAVEBASE_H
float timeBinWidth() const
Return the time bin width for this channel.
static const unsigned int nWaves
The number of different types of waves we store.
LArVectorProxy wave(unsigned int which, size_t tbin) const
Return wave data.
LAr2DWaveBase()
Default constructor.
Proxy for accessing a range of float values like a vector.
void setFrom(LAr2DWaveBase &other)
Assign from another wave object.
float m_timeBinWidth
The time bin width for this channel.
size_t waveSize(unsigned int which) const
Return the number of time bins for a wave.
bool isEmpty() const
Is there any data in this channel?
A more compact way of storing shape/ofc data — const portion.
std::vector< std::vector< float > > m_waves[nWaves]
The wave data.
float timeOffset() const
Return the time offset for this channel.
float m_timeOffset
The time offset for this channel.
A more compact way of storing shape/ofc data — non-const portion.
Per-channel class holding wave information in time bins.
Proxy for accessing a range of float values like a vector.