Public Member Functions | Private Attributes | List of all members
raw::OpDetWaveform Class Reference

#include <OpDetWaveform.h>

Inheritance diagram for raw::OpDetWaveform:

Public Member Functions

 OpDetWaveform (TimeStamp_t time=std::numeric_limits< TimeStamp_t >::max(), Channel_t chan=std::numeric_limits< Channel_t >::max(), size_type len=0)
 
 OpDetWaveform (TimeStamp_t time, Channel_t chan, std::vector< uint16_t > const &rhs)
 
std::vector< ADC_Count_t > & Waveform ()
 
std::vector< ADC_Count_t > const & Waveform () const
 
Channel_t ChannelNumber () const
 
TimeStamp_t TimeStamp () const
 
void SetChannelNumber (Channel_t chan)
 
void SetTimeStamp (TimeStamp_t time)
 

Private Attributes

Channel_t fChannel
 
TimeStamp_t fTimeStamp
 On electronics time scale. More...
 

Detailed Description

Definition at line 25 of file OpDetWaveform.h.

Constructor & Destructor Documentation

raw::OpDetWaveform::OpDetWaveform ( TimeStamp_t  time = std::numeric_limits<TimeStamp_t>::max(),
Channel_t  chan = std::numeric_limits<Channel_t>::max(),
size_type  len = 0 
)
inline

Definition at line 38 of file OpDetWaveform.h.

41  : fChannel(chan)
42  , fTimeStamp(time)
43  {
44  this->reserve(len);
45  };
TimeStamp_t fTimeStamp
On electronics time scale.
Definition: OpDetWaveform.h:29
raw::OpDetWaveform::OpDetWaveform ( TimeStamp_t  time,
Channel_t  chan,
std::vector< uint16_t > const &  rhs 
)
inline

Definition at line 48 of file OpDetWaveform.h.

51  : std::vector< ADC_Count_t >(rhs.begin(), rhs.end())
52  , fChannel(chan)
53  , fTimeStamp(time)
54  {
55  };
TimeStamp_t fTimeStamp
On electronics time scale.
Definition: OpDetWaveform.h:29

Member Function Documentation

Channel_t raw::OpDetWaveform::ChannelNumber ( ) const
inline

Definition at line 65 of file OpDetWaveform.h.

65 { return fChannel; }
void raw::OpDetWaveform::SetChannelNumber ( Channel_t  chan)
inline

Definition at line 67 of file OpDetWaveform.h.

67 { fChannel = chan; }
void raw::OpDetWaveform::SetTimeStamp ( TimeStamp_t  time)
inline

Definition at line 68 of file OpDetWaveform.h.

68 { fTimeStamp = time; }
TimeStamp_t fTimeStamp
On electronics time scale.
Definition: OpDetWaveform.h:29
TimeStamp_t raw::OpDetWaveform::TimeStamp ( ) const
inline

Definition at line 66 of file OpDetWaveform.h.

66 { return fTimeStamp; }
TimeStamp_t fTimeStamp
On electronics time scale.
Definition: OpDetWaveform.h:29
std::vector<ADC_Count_t>& raw::OpDetWaveform::Waveform ( )
inline

Definition at line 59 of file OpDetWaveform.h.

59 { return *this; }
std::vector<ADC_Count_t> const& raw::OpDetWaveform::Waveform ( ) const
inline

Definition at line 62 of file OpDetWaveform.h.

62 { return *this; }

Member Data Documentation

Channel_t raw::OpDetWaveform::fChannel
private

Definition at line 28 of file OpDetWaveform.h.

TimeStamp_t raw::OpDetWaveform::fTimeStamp
private

On electronics time scale.

Definition at line 29 of file OpDetWaveform.h.


The documentation for this class was generated from the following file: