BmnRoot
Loading...
Searching...
No Matches
BmnTrigWaveDigit Class Reference

#include <BmnTrigWaveDigit.h>

Inheritance diagram for BmnTrigWaveDigit:
[legend]
Collaboration diagram for BmnTrigWaveDigit:
[legend]

Public Member Functions

 BmnTrigWaveDigit ()
 
 BmnTrigWaveDigit (const BmnTrigWaveDigit &)
 
 BmnTrigWaveDigit (UShort_t iMod, Short_t *iValue, UInt_t nVals, Double_t trigTimestamp, Double_t adcTimestamp, Double_t time=0)
 
UShort_t GetMod () const
 
UInt_t GetNSamples () const
 
int GetIntegral (UInt_t start=0, UInt_t stop=1e9) const
 
int GetPeak (UInt_t start=0, UInt_t stop=1e9) const
 
Short_t * GetShortValue () const
 
void SetShortValue (Short_t *iValue) const
 
Double_t GetAdcTimestamp () const
 
Double_t GetTrigTimestamp () const
 
Double_t GetTime () const
 
vector< Double_t > & TdcVector ()
 
virtual ~BmnTrigWaveDigit ()
 
 BmnTrigWaveDigit ()
 
 BmnTrigWaveDigit (const BmnTrigWaveDigit &)
 
 BmnTrigWaveDigit (UShort_t iMod, Short_t *iValue, UInt_t nVals, Double_t trigTimestamp, Double_t adcTimestamp, Double_t time=0)
 
UShort_t GetMod () const
 
UInt_t GetNSamples () const
 
int GetIntegral (UInt_t start=0, UInt_t stop=1e9) const
 
int GetPeak (UInt_t start=0, UInt_t stop=1e9) const
 
Short_t * GetShortValue () const
 
void SetShortValue (Short_t *iValue) const
 
Double_t GetAdcTimestamp () const
 
Double_t GetTrigTimestamp () const
 
Double_t GetTime () const
 
vector< Double_t > & TdcVector ()
 
virtual ~BmnTrigWaveDigit ()
 

Protected Member Functions

 ClassDef (BmnTrigWaveDigit, 4)
 
 ClassDef (BmnTrigWaveDigit, 4)
 

Protected Attributes

UShort_t fMod
 
UInt_t fNsmpl
 
Short_t * fValueI
 
Double_t fTrigTimestamp
 
Double_t fAdcTimestamp
 
Double_t fTime
 
vector< Double_t > fTdcTimes
 

Detailed Description

Definition at line 10 of file BmnTrigWaveDigit.h.

Constructor & Destructor Documentation

◆ BmnTrigWaveDigit() [1/6]

BmnTrigWaveDigit::BmnTrigWaveDigit ( )

Definition at line 3 of file BmnTrigWaveDigit.cxx.

References fAdcTimestamp, fMod, fNsmpl, fTime, fTrigTimestamp, fValueI, and i.

◆ BmnTrigWaveDigit() [2/6]

BmnTrigWaveDigit::BmnTrigWaveDigit ( const BmnTrigWaveDigit dig)

◆ BmnTrigWaveDigit() [3/6]

BmnTrigWaveDigit::BmnTrigWaveDigit ( UShort_t  iMod,
Short_t *  iValue,
UInt_t  nVals,
Double_t  trigTimestamp,
Double_t  adcTimestamp,
Double_t  time = 0 
)

Definition at line 25 of file BmnTrigWaveDigit.cxx.

References fAdcTimestamp, fMod, fNsmpl, fTime, fTrigTimestamp, fValueI, and i.

◆ ~BmnTrigWaveDigit() [1/2]

BmnTrigWaveDigit::~BmnTrigWaveDigit ( )
virtual

Definition at line 36 of file BmnTrigWaveDigit.cxx.

References fValueI.

◆ BmnTrigWaveDigit() [4/6]

BmnTrigWaveDigit::BmnTrigWaveDigit ( )

◆ BmnTrigWaveDigit() [5/6]

BmnTrigWaveDigit::BmnTrigWaveDigit ( const BmnTrigWaveDigit )

◆ BmnTrigWaveDigit() [6/6]

BmnTrigWaveDigit::BmnTrigWaveDigit ( UShort_t  iMod,
Short_t *  iValue,
UInt_t  nVals,
Double_t  trigTimestamp,
Double_t  adcTimestamp,
Double_t  time = 0 
)

◆ ~BmnTrigWaveDigit() [2/2]

virtual BmnTrigWaveDigit::~BmnTrigWaveDigit ( )
virtual

Member Function Documentation

◆ ClassDef() [1/2]

BmnTrigWaveDigit::ClassDef ( BmnTrigWaveDigit  ,
 
)
protected

◆ ClassDef() [2/2]

BmnTrigWaveDigit::ClassDef ( BmnTrigWaveDigit  ,
 
)
protected

◆ GetAdcTimestamp() [1/2]

Double_t BmnTrigWaveDigit::GetAdcTimestamp ( ) const
inline

Definition at line 51 of file BmnTrigWaveDigit.h.

References fAdcTimestamp.

Referenced by BmnTrigWaveDigit().

◆ GetAdcTimestamp() [2/2]

Double_t BmnTrigWaveDigit::GetAdcTimestamp ( ) const
inline

Definition at line 51 of file BmnTrigWaveDigit.h.

References fAdcTimestamp.

◆ GetIntegral() [1/2]

int BmnTrigWaveDigit::GetIntegral ( UInt_t  start = 0,
UInt_t  stop = 1e9 
) const
inline

◆ GetIntegral() [2/2]

int BmnTrigWaveDigit::GetIntegral ( UInt_t  start = 0,
UInt_t  stop = 1e9 
) const
inline

Definition at line 24 of file BmnTrigWaveDigit.h.

References fNsmpl, fValueI, i, and min().

◆ GetMod() [1/2]

UShort_t BmnTrigWaveDigit::GetMod ( ) const
inline

Definition at line 16 of file BmnTrigWaveDigit.h.

References fMod.

Referenced by BmnTrigWaveDigit().

◆ GetMod() [2/2]

UShort_t BmnTrigWaveDigit::GetMod ( ) const
inline

Definition at line 16 of file BmnTrigWaveDigit.h.

References fMod.

◆ GetNSamples() [1/2]

UInt_t BmnTrigWaveDigit::GetNSamples ( ) const
inline

Definition at line 20 of file BmnTrigWaveDigit.h.

References fNsmpl.

Referenced by BmnTrigWaveDigit(), and BmnTrigRaw2Digit::FillEvent().

◆ GetNSamples() [2/2]

UInt_t BmnTrigWaveDigit::GetNSamples ( ) const
inline

Definition at line 20 of file BmnTrigWaveDigit.h.

References fNsmpl.

◆ GetPeak() [1/2]

int BmnTrigWaveDigit::GetPeak ( UInt_t  start = 0,
UInt_t  stop = 1e9 
) const
inline

◆ GetPeak() [2/2]

int BmnTrigWaveDigit::GetPeak ( UInt_t  start = 0,
UInt_t  stop = 1e9 
) const
inline

Definition at line 33 of file BmnTrigWaveDigit.h.

References fNsmpl, fValueI, i, and min().

◆ GetShortValue() [1/2]

Short_t * BmnTrigWaveDigit::GetShortValue ( ) const
inline

Definition at line 42 of file BmnTrigWaveDigit.h.

References fValueI.

Referenced by BmnTrigWaveDigit(), and BmnTrigRaw2Digit::FillEvent().

◆ GetShortValue() [2/2]

Short_t * BmnTrigWaveDigit::GetShortValue ( ) const
inline

Definition at line 42 of file BmnTrigWaveDigit.h.

References fValueI.

◆ GetTime() [1/2]

Double_t BmnTrigWaveDigit::GetTime ( ) const
inline

Definition at line 59 of file BmnTrigWaveDigit.h.

References fTime.

Referenced by BmnTrigWaveDigit(), and findIdx().

◆ GetTime() [2/2]

Double_t BmnTrigWaveDigit::GetTime ( ) const
inline

Definition at line 59 of file BmnTrigWaveDigit.h.

References fTime.

◆ GetTrigTimestamp() [1/2]

Double_t BmnTrigWaveDigit::GetTrigTimestamp ( ) const
inline

Definition at line 55 of file BmnTrigWaveDigit.h.

References fTrigTimestamp.

Referenced by BmnTrigWaveDigit().

◆ GetTrigTimestamp() [2/2]

Double_t BmnTrigWaveDigit::GetTrigTimestamp ( ) const
inline

Definition at line 55 of file BmnTrigWaveDigit.h.

References fTrigTimestamp.

◆ SetShortValue() [1/2]

void BmnTrigWaveDigit::SetShortValue ( Short_t *  iValue) const
inline

Definition at line 46 of file BmnTrigWaveDigit.h.

References fNsmpl, fValueI, and i.

◆ SetShortValue() [2/2]

void BmnTrigWaveDigit::SetShortValue ( Short_t *  iValue) const
inline

Definition at line 46 of file BmnTrigWaveDigit.h.

References fNsmpl, fValueI, and i.

◆ TdcVector() [1/2]

vector< Double_t > & BmnTrigWaveDigit::TdcVector ( )
inline

◆ TdcVector() [2/2]

vector< Double_t > & BmnTrigWaveDigit::TdcVector ( )
inline

Definition at line 63 of file BmnTrigWaveDigit.h.

References fTdcTimes.

Member Data Documentation

◆ fAdcTimestamp

Double_t BmnTrigWaveDigit::fAdcTimestamp
protected

◆ fMod

UShort_t BmnTrigWaveDigit::fMod
protected

Definition at line 69 of file BmnTrigWaveDigit.h.

Referenced by BmnTrigWaveDigit(), BmnTrigWaveDigit(), BmnTrigWaveDigit(), and GetMod().

◆ fNsmpl

UInt_t BmnTrigWaveDigit::fNsmpl
protected

◆ fTdcTimes

vector< Double_t > BmnTrigWaveDigit::fTdcTimes
protected

Definition at line 75 of file BmnTrigWaveDigit.h.

Referenced by TdcVector().

◆ fTime

Double_t BmnTrigWaveDigit::fTime
protected

Definition at line 74 of file BmnTrigWaveDigit.h.

Referenced by BmnTrigWaveDigit(), BmnTrigWaveDigit(), BmnTrigWaveDigit(), and GetTime().

◆ fTrigTimestamp

Double_t BmnTrigWaveDigit::fTrigTimestamp
protected

◆ fValueI

Short_t * BmnTrigWaveDigit::fValueI
protected

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