All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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...
 

Additional Inherited Members

- Public Attributes inherited from std::vector< T >
elements
 STL member. More...
 

Detailed Description

Definition at line 25 of file lardataobj/lardataobj/RawData/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 lardataobj/lardataobj/RawData/OpDetWaveform.h.

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

Definition at line 48 of file lardataobj/lardataobj/RawData/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.

Member Function Documentation

Channel_t raw::OpDetWaveform::ChannelNumber ( ) const
inline
void raw::OpDetWaveform::SetChannelNumber ( Channel_t  chan)
inline
void raw::OpDetWaveform::SetTimeStamp ( TimeStamp_t  time)
inline

Definition at line 68 of file lardataobj/lardataobj/RawData/OpDetWaveform.h.

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

Definition at line 66 of file lardataobj/lardataobj/RawData/OpDetWaveform.h.

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

Definition at line 59 of file lardataobj/lardataobj/RawData/OpDetWaveform.h.

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

Definition at line 62 of file lardataobj/lardataobj/RawData/OpDetWaveform.h.

62 { return *this; }

Member Data Documentation

Channel_t raw::OpDetWaveform::fChannel
private
TimeStamp_t raw::OpDetWaveform::fTimeStamp
private

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