LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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)
 

Public Attributes

elements
 STL member. More...
 

Private Attributes

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

Detailed Description

Definition at line 24 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 35 of file OpDetWaveform.h.

38  : fChannel(chan), fTimeStamp(time)
39  {
40  this->reserve(len);
41  };
TimeStamp_t fTimeStamp
On electronics time scale.
Definition: OpDetWaveform.h:27
raw::OpDetWaveform::OpDetWaveform ( TimeStamp_t  time,
Channel_t  chan,
std::vector< uint16_t > const &  rhs 
)
inline

Definition at line 43 of file OpDetWaveform.h.

44  : std::vector<ADC_Count_t>(rhs.begin(), rhs.end()), fChannel(chan), fTimeStamp(time){};
TimeStamp_t fTimeStamp
On electronics time scale.
Definition: OpDetWaveform.h:27

Member Function Documentation

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

Definition at line 54 of file OpDetWaveform.h.

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

Definition at line 55 of file OpDetWaveform.h.

55 { fTimeStamp = time; }
TimeStamp_t fTimeStamp
On electronics time scale.
Definition: OpDetWaveform.h:27
TimeStamp_t raw::OpDetWaveform::TimeStamp ( ) const
inline
std::vector<ADC_Count_t>& raw::OpDetWaveform::Waveform ( )
inline

Definition at line 47 of file OpDetWaveform.h.

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

Definition at line 50 of file OpDetWaveform.h.

50 { return *this; }

Member Data Documentation

T std::vector< T >::elements
inherited

STL member.

Channel_t raw::OpDetWaveform::fChannel
private

Definition at line 26 of file OpDetWaveform.h.

Referenced by ChannelNumber().

TimeStamp_t raw::OpDetWaveform::fTimeStamp
private

On electronics time scale.

Definition at line 27 of file OpDetWaveform.h.

Referenced by TimeStamp().


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