![]() |
Diana Software
|
Raw event: sampled waveform. More...
Public Member Functions | |
| QPulse () | |
| default constructor More... | |
| QPulse (const QPulse &other) | |
| copy constructor More... | |
| virtual | ~QPulse () |
| destructor More... | |
| const Diana::QVector & | GetSamples () const |
| Get Samples casted to double (QVector instead of QVectorI). Use this method in place of GetSamplesADC. More... | |
| void | SetSamplesADC (const Diana::QVectorI &samples) |
| Set Samples acquired from ADC. More... | |
| const Diana::QVectorI & | GetSamplesADC () const |
| Get Samples acquired from ADC. Beware that fSamplesADC may by empty if fFiller is valid More... | |
| void | SetPulseFiller (const QPulseFiller &filler) |
| Set QPulseFiller as input from continuous files. More... | |
| const QPulseFiller * | GetPulseFiller () const |
| Get QPulseFiller. More... | |
| QPulseFiller * | GetPulseFiller () |
| Get QPulseFiller. More... | |
| void | Consolidate () |
| Consolidate. Store samples from the fFiller into fSamplesADC More... | |
| void | DeleteADC () |
| Consolidate. Store samples from the fFiller into fSamplesADC More... | |
| void | Clear () |
| Clear() More... | |
| const QPulse & | operator= (const QPulse &) |
| void | Dump (std::ostream &o) const |
Protected Member Functions | |
| QObjectDef (QPulse, 5) | |
Protected Attributes | |
| Diana::QVector * | fSamples |
| Acquired Samples casted to double. More... | |
| bool | fSamplesAreSet |
| boolean for samples caching mechanism More... | |
| Diana::QVectorI | fSamplesADC |
| Acquired Samples. More... | |
| QPulseFiller * | fFiller_ptr |
| pulse filler More... | |
Raw event: sampled waveform.
| QPulse::QPulse | ( | ) |
default constructor
| QPulse::QPulse | ( | const QPulse & | other | ) |
|
virtual |
| void QPulse::Clear | ( | ) |
Definition at line 13 of file QPulse.cc.
References QPulseFiller::Clear(), fFiller_ptr, fSamples, fSamplesADC, and fSamplesAreSet.
Referenced by QObjectImp(), QPulse(), and SetPulseFiller().
| void QPulse::Consolidate | ( | ) |
Consolidate. Store samples from the fFiller into fSamplesADC
Definition at line 90 of file QPulse.cc.
References DianaThrow, err, fFiller_ptr, QPulseFiller::Fill(), fSamplesADC, and QERR_SUCCESS.
Referenced by MQPulseManager::Do().
| void QPulse::DeleteADC | ( | ) |
Consolidate. Store samples from the fFiller into fSamplesADC
Definition at line 98 of file QPulse.cc.
References fSamplesADC.
Referenced by MQPulseManager::Do().
| void QPulse::Dump | ( | std::ostream & | o | ) | const |
Definition at line 106 of file QPulse.cc.
References fSamplesADC.
|
inline |
|
inline |
Get QPulseFiller.
Definition at line 48 of file QPulse.hh.
References fFiller_ptr.
Referenced by MCustomWaveform::Do().
| const Diana::QVector & QPulse::GetSamples | ( | ) | const |
Get Samples casted to double (QVector instead of QVectorI). Use this method in place of GetSamplesADC.
Definition at line 49 of file QPulse.cc.
References DianaThrow, err, fFiller_ptr, QPulseFiller::Fill(), fSamples, fSamplesADC, fSamplesAreSet, GetSamplesADC(), QERR_OUT_OF_RANGE, and QERR_SUCCESS.
Referenced by MCOFBiComponent::Do(), MOptimumFilter::Do(), MAdvancedPeakFinder::Do(), MTestFetchContinuousIO::Do(), MTutorialAveragePulse::Do(), MTutorialPulseShape::Do(), MDownSampling::Do(), MOverlappedWindowFilter::Filter(), MFilterTest::Filter(), QGFileHandler::GetEvent(), and MDecorrelator::GetNeighbourSamples().
| const Diana::QVectorI & QPulse::GetSamplesADC | ( | ) | const |
Get Samples acquired from ADC. Beware that fSamplesADC may by empty if fFiller is valid
Definition at line 69 of file QPulse.cc.
References fSamplesADC.
Referenced by MTestFetchContinuousIO::Do(), QCreateSidePulseByPulseSplitting::FillList(), and GetSamples().
Definition at line 35 of file QPulse.cc.
References QPulseFiller::Clear(), fFiller_ptr, QPulseFiller::Fill(), fSamplesADC, fSamplesAreSet, and QObject::operator=().
Referenced by QPulse().
|
protected |
| void QPulse::SetPulseFiller | ( | const QPulseFiller & | filler | ) |
Set QPulseFiller as input from continuous files.
Definition at line 81 of file QPulse.cc.
References Clear(), fFiller_ptr, QPulseFiller::Fill(), and fSamplesADC.
Referenced by MCustomWaveform::Do().
| void QPulse::SetSamplesADC | ( | const Diana::QVectorI & | samples | ) |
Set Samples acquired from ADC.
Definition at line 74 of file QPulse.cc.
References fSamplesADC, and fSamplesAreSet.
Referenced by MDecorrelator::Do(), MDownSampling::Do(), and QCreateSidePulseByPulseSplitting::FillList().
|
protected |
pulse filler
Definition at line 77 of file QPulse.hh.
Referenced by Clear(), Consolidate(), GetPulseFiller(), GetSamples(), operator=(), SetPulseFiller(), and ~QPulse().
|
mutableprotected |
Acquired Samples casted to double.
Definition at line 68 of file QPulse.hh.
Referenced by Clear(), GetSamples(), and ~QPulse().
|
protected |
Acquired Samples.
Definition at line 74 of file QPulse.hh.
Referenced by Clear(), Consolidate(), DeleteADC(), Dump(), GetSamples(), GetSamplesADC(), operator=(), SetPulseFiller(), and SetSamplesADC().
|
mutableprotected |
boolean for samples caching mechanism
Definition at line 71 of file QPulse.hh.
Referenced by Clear(), GetSamples(), operator=(), and SetSamplesADC().