9 QPulse::QPulse() : fSamples(0),fSamplesAreSet(false),fSamplesADC(),fFiller_ptr(0)
60 err.SetDescription(__FILE__,__LINE__,
"fSamplesADC and fFillerPointer are empty!");
114 o<<
"ADC samples not valid"<<endl;
QObjectImp(QPulse) QPulse
error class with error type and description
QObject & operator=(const QObject &rhs)
operator=
coordinates to filla QPulse from a continuous file
void Clear()
clear members
virtual QError Fill(Diana::QVectorI &samples) const
Raw event: sampled waveform.
void Dump(std::ostream &o) const
QPulse()
default constructor
Diana::QVectorI fSamplesADC
Acquired Samples.
const QPulse & operator=(const QPulse &)
bool fSamplesAreSet
boolean for samples caching mechanism
void DeleteADC()
Consolidate. Store samples from the fFiller into fSamplesADC
const Diana::QVectorI & GetSamplesADC() const
Get Samples acquired from ADC. Beware that fSamplesADC may by empty if fFiller is valid
void SetSamplesADC(const Diana::QVectorI &samples)
Set Samples acquired from ADC.
Diana::QVector * fSamples
Acquired Samples casted to double.
const Diana::QVector & GetSamples() const
Get Samples casted to double (QVector instead of QVectorI). Use this method in place of GetSamplesADC...
void Consolidate()
Consolidate. Store samples from the fFiller into fSamplesADC
QPulseFiller * fFiller_ptr
pulse filler
virtual ~QPulse()
destructor
void SetPulseFiller(const QPulseFiller &filler)
Set QPulseFiller as input from continuous files.