![]() |
PandaRoot
|
Class to hold multiple waveforms from one Emc Hit / ADC readout. More...
#include <BSEmcMultiWaveform.h>
Public Member Functions | |
BSEmcMultiWaveform () | |
BSEmcMultiWaveform (Int_t t_trackid, Long_t t_detId, Long_t t_waveform_length=128, Int_t t_hitIndex=-1) | |
virtual | ~BSEmcMultiWaveform () |
void | SetWaveform (const std::vector< Double_t > &t_signal, Int_t t_length, Int_t t_waveform) |
virtual void | clearAndReset () |
virtual void | Clear (Option_t *) |
Int_t | GetNumberOfWaveforms () const |
Int_t | GetActiveWaveform () const |
void | SetActiveWaveform (Int_t t_active=1) |
Int_t | GetWaveformLength () const |
virtual std::vector< Double_t > | GetSignal () const |
const std::vector< Double_t > & | GetSignal (Int_t t_waveform) const |
![]() | |
BSEmcWaveform () | |
BSEmcWaveform (Int_t t_trackId, long t_detId, const std::vector< Double_t > &t_signal, Int_t t_hitIndex=-1) | |
virtual | ~BSEmcWaveform () |
long | GetDetectorId () const |
Int_t | GetTrackId () const |
Short_t | GetModule () const |
virtual std::vector< Double_t > | GetSignalError () const |
Int_t | GetHitIndex () const |
virtual Bool_t | operator== (const BSEmcWaveform &t_otherWave) const |
virtual Bool_t | operator< (const BSEmcWaveform &t_otherWave) const |
virtual Bool_t | operator!= (const BSEmcWaveform &t_otherWave) const |
virtual Bool_t | equal (FairTimeStamp *t_data) |
BSEmcWaveform & | operator+= (const BSEmcWaveform &t_otherWave) |
Double_t | GetSampleRate () const |
Int_t | GetWaveformLength () const |
void | SetSampleRate (Double_t t_rate) |
void | SetWaveform (std::vector< Double_t > &t_signal, Int_t t_length) |
Double_t | Max () |
Double_t | GetActiveTime () const |
Int_t | GetPileupCount () const |
void | AddEvt (Int_t t_evtNo) |
const std::vector< Int_t > & | GetEvtList () const |
TGraphErrors * | ToTGraph () const |
Double_t | GetBaseline () const |
Double_t | Integral () const |
void | SetDetectorId (UInt_t t_detId) |
void | SetOverlapTime (const Double_t t_overlap) |
Friends | |
class | BSEmcAbsWaveformModifier |
Additional Inherited Members | |
![]() | |
Int_t | fTrackId {-1} |
Int_t | fDetectorId {-1} |
Int_t | fWaveformLength {-1} |
std::vector< Double_t > | fSignal {} |
std::vector< Double_t > | fSignalError {} |
Int_t | fHitIndex {-1} |
Double_t | fSampleRate {-1} |
Double_t | fBaselineValue {-1} |
std::vector< Int_t > | fEvt {} |
Double_t | fOverlapTime {} |
Class to hold multiple waveforms from one Emc Hit / ADC readout.
Definition at line 34 of file BSEmcMultiWaveform.h.
|
inline |
Definition at line 39 of file BSEmcMultiWaveform.h.
BSEmcMultiWaveform::BSEmcMultiWaveform | ( | Int_t | t_trackid, |
Long_t | t_detId, | ||
Long_t | t_waveform_length = 128 , |
||
Int_t | t_hitIndex = -1 |
||
) |
|
inlinevirtual |
Definition at line 43 of file BSEmcMultiWaveform.h.
References clearAndReset(), BSEmcWaveform::fSignal, and SetWaveform().
|
inlinevirtual |
Reimplemented from BSEmcWaveform.
Definition at line 53 of file BSEmcMultiWaveform.h.
References BSEmcWaveform::fSignal.
|
virtual |
Reimplemented from BSEmcWaveform.
Referenced by ~BSEmcMultiWaveform().
|
inline |
Definition at line 60 of file BSEmcMultiWaveform.h.
|
inline |
Definition at line 59 of file BSEmcMultiWaveform.h.
|
virtual |
Reimplemented from BSEmcWaveform.
Referenced by GetWaveformLength().
|
inline |
Definition at line 65 of file BSEmcMultiWaveform.h.
References BSEmcAbsWaveformModifier::ClassDef().
|
inline |
Definition at line 62 of file BSEmcMultiWaveform.h.
References GetSignal().
|
inline |
Definition at line 61 of file BSEmcMultiWaveform.h.
void BSEmcMultiWaveform::SetWaveform | ( | const std::vector< Double_t > & | t_signal, |
Int_t | t_length, | ||
Int_t | t_waveform | ||
) |
Referenced by ~BSEmcMultiWaveform().
|
friend |
Definition at line 36 of file BSEmcMultiWaveform.h.