![]() |
Diana Software
|
contains information on flagged samples More...
Public Types | |
| enum | EventType { Signal =1 , Reversed =2 , Noise =3 , Pulser =5 , Veto =7 , Side =9 , LED =11 , Unassigned =99 } |
| event type, for QSampleInfo internal use More... | |
Public Member Functions | |
| QSampleInfo () | |
| default constructor More... | |
| virtual | ~QSampleInfo () |
| default destructor More... | |
| bool | GetIsPulser () const |
| Get IsPulser. More... | |
| bool | GetIsSignal () const |
| Get IsSignal. More... | |
| bool | GetIsReversed () const |
| Get IsSignal. More... | |
| bool | GetIsLED () const |
| Get IsLED. More... | |
| bool | GetIsVeto () const |
| Get IsMuon. More... | |
| bool | GetIsNoise () const |
| Get IsNoise. More... | |
| bool | GetIsSide () const |
| Get IsSide. More... | |
| Int_t | GetTriggerNumber () const |
| Get number of the trigger that fired. Valid for IsSignal() More... | |
| Int_t | GetPulserDelay () const |
| Get pulser delay. Valid for IsPulser. More... | |
| Int_t | GetSampleIndex () const |
| Get SampleIndex from the beginning of the waveform. More... | |
| Int_t | GetOriginChannel () const |
| Get Origin Channel inducing the special sample. More... | |
| Int_t | GetEventNumber () const |
| Get EventNumber associated to this sample, or to the main event. More... | |
| void | SetIsPulser () |
| Set event type to Pulser. More... | |
| void | SetIsSignal () |
| Set event type to Signal. More... | |
| void | SetIsReversed () |
| Set event type to Reversed. More... | |
| void | SetIsLED () |
| Set event type to LED. More... | |
| void | SetIsVeto () |
| Set event type to Muon. More... | |
| void | SetIsNoise () |
| Set event type to Noise. More... | |
| void | SetIsSide () |
| Set event type to Side. More... | |
| void | SetOriginChannel (int ch) |
| Set Origin Channel. More... | |
| void | SetTriggerNumber (Int_t n) |
| Set trigger number (1 to 4) More... | |
| void | SetPulserDelay (Int_t delay) |
| set pulser delay in ms More... | |
| void | SetSampleIndex (Int_t index) |
| Set SampleIndex. More... | |
| void | SetEventNumber (Int_t eventNumber) |
| Set EventNumber. More... | |
| void | Clear () |
| void | Dump (std::ostream &o) const |
Public Attributes | |
| EventType | fEventType |
Private Member Functions | |
| QObjectDef (QSampleInfo, 8) | |
Private Attributes | |
| Int_t | fTriggerNumber |
| Int_t | fPulserDelay |
| Int_t | fSampleIndex |
| Int_t | fEventNumber |
| Int_t | fOriginChannel |
contains information on flagged samples
Flagged samples can be of different types:
Definition at line 23 of file QSampleInfo.hh.
event type, for QSampleInfo internal use
| Enumerator | |
|---|---|
| Signal | signal event |
| Reversed | reversed event |
| Noise | noise event |
| Pulser | Pulser event |
| Veto | muon event |
| Side | master sample of a side pulse |
| LED | LED event |
| Unassigned | default status set in Clear() |
Definition at line 91 of file QSampleInfo.hh.
| QSampleInfo::QSampleInfo | ( | ) |
default constructor
|
inlinevirtual |
default destructor
Definition at line 30 of file QSampleInfo.hh.
| void QSampleInfo::Clear | ( | ) |
Definition at line 11 of file QSampleInfo.cc.
References fEventNumber, fEventType, fOriginChannel, fPulserDelay, fSampleIndex, fTriggerNumber, Q_INT_DEFAULT, and Unassigned.
Referenced by QObjectImp().
| void QSampleInfo::Dump | ( | std::ostream & | o | ) | const |
Definition at line 21 of file QSampleInfo.cc.
References fEventNumber, fPulserDelay, fSampleIndex, fTriggerNumber, GetIsLED(), GetIsNoise(), GetIsPulser(), GetIsReversed(), GetIsSide(), GetIsSignal(), GetIsVeto(), and GetOriginChannel().
Referenced by QPulseInfo::Dump().
|
inline |
Get EventNumber associated to this sample, or to the main event.
Definition at line 55 of file QSampleInfo.hh.
References fEventNumber.
|
inline |
Get IsLED.
Definition at line 39 of file QSampleInfo.hh.
References fEventType, and LED.
Referenced by Dump(), and QPulseInfo::GetIsLED().
|
inline |
Get IsNoise.
Definition at line 43 of file QSampleInfo.hh.
References fEventType, and Noise.
Referenced by Dump(), and QPulseInfo::GetIsNoise().
|
inline |
Get IsPulser.
Definition at line 33 of file QSampleInfo.hh.
References fEventType, and Pulser.
Referenced by Dump(), and QPulseInfo::GetIsPulser().
|
inline |
Get IsSignal.
Definition at line 37 of file QSampleInfo.hh.
References fEventType, and Reversed.
Referenced by Dump(), and QPulseInfo::GetIsReversed().
|
inline |
Get IsSide.
Definition at line 45 of file QSampleInfo.hh.
References fEventType, and Side.
Referenced by Dump(), and QPulseInfo::GetIsSide().
|
inline |
Get IsSignal.
Definition at line 35 of file QSampleInfo.hh.
References fEventType, and Signal.
Referenced by Dump(), and QPulseInfo::GetIsSignal().
|
inline |
Get IsMuon.
Definition at line 41 of file QSampleInfo.hh.
References fEventType, and Veto.
Referenced by Dump(), and QPulseInfo::GetIsVeto().
|
inline |
Get Origin Channel inducing the special sample.
Definition at line 53 of file QSampleInfo.hh.
References fOriginChannel.
Referenced by Dump().
|
inline |
Get pulser delay. Valid for IsPulser.
Definition at line 49 of file QSampleInfo.hh.
References fPulserDelay.
Referenced by MSelectPulserByDelay::Filter().
|
inline |
Get SampleIndex from the beginning of the waveform.
Definition at line 51 of file QSampleInfo.hh.
References fSampleIndex.
Referenced by MOptimumFilter::Do(), MBaselineModule::Do(), MPeakDetector::Do(), MDecorrelator::Do(), MLockinDenoising::Do(), MNoiseFrequencyCoherence::Do(), MCustomWaveform::Do(), MDownSampling::Do(), MOverlappedWindowFilter::Filter(), and QGPulse::GetPulseFromChain().
|
inline |
Get number of the trigger that fired. Valid for IsSignal()
Definition at line 47 of file QSampleInfo.hh.
References fTriggerNumber.
|
private |
|
inline |
Set EventNumber.
Definition at line 81 of file QSampleInfo.hh.
References fEventNumber.
Referenced by MQinoDataReader::Do().
|
inline |
Set event type to LED.
Definition at line 65 of file QSampleInfo.hh.
References fEventType, and LED.
|
inline |
Set event type to Noise.
Definition at line 69 of file QSampleInfo.hh.
References fEventType, and Noise.
Referenced by MQinoDataReader::Do().
|
inline |
Set event type to Pulser.
Definition at line 59 of file QSampleInfo.hh.
References fEventType, and Pulser.
Referenced by MQinoDataReader::Do().
|
inline |
Set event type to Reversed.
Definition at line 63 of file QSampleInfo.hh.
References fEventType, and Reversed.
|
inline |
Set event type to Side.
Definition at line 71 of file QSampleInfo.hh.
References fEventType, and Side.
Referenced by QCreateSidePulseByPulseSplitting::FillList().
|
inline |
Set event type to Signal.
Definition at line 61 of file QSampleInfo.hh.
References fEventType, and Signal.
Referenced by MQinoDataReader::Do().
|
inline |
Set event type to Muon.
Definition at line 67 of file QSampleInfo.hh.
References fEventType, and Veto.
|
inline |
|
inline |
set pulser delay in ms
Definition at line 77 of file QSampleInfo.hh.
References fPulserDelay.
Referenced by MQinoDataReader::Do().
|
inline |
Set SampleIndex.
Definition at line 79 of file QSampleInfo.hh.
References fSampleIndex.
Referenced by MCustomWaveform::Do(), MDownSampling::Do(), and MQinoDataReader::Do().
|
inline |
Set trigger number (1 to 4)
Definition at line 75 of file QSampleInfo.hh.
References fTriggerNumber.
Referenced by MQinoDataReader::Do().
|
private |
sample index from the beginning of the waveform event number, if any, associated to this sample
Definition at line 108 of file QSampleInfo.hh.
Referenced by Clear(), Dump(), GetEventNumber(), and SetEventNumber().
| EventType QSampleInfo::fEventType |
event type
Definition at line 102 of file QSampleInfo.hh.
Referenced by Clear(), GetIsLED(), GetIsNoise(), GetIsPulser(), GetIsReversed(), GetIsSide(), GetIsSignal(), GetIsVeto(), SetIsLED(), SetIsNoise(), SetIsPulser(), SetIsReversed(), SetIsSide(), SetIsSignal(), and SetIsVeto().
|
private |
integer with the number of the channel inducing the trigger
Definition at line 109 of file QSampleInfo.hh.
Referenced by Clear(), GetOriginChannel(), and SetOriginChannel().
|
private |
pulser delay in ms. Valid for Pulser
Definition at line 106 of file QSampleInfo.hh.
Referenced by Clear(), Dump(), GetPulserDelay(), and SetPulserDelay().
|
private |
Definition at line 107 of file QSampleInfo.hh.
Referenced by Clear(), Dump(), GetSampleIndex(), and SetSampleIndex().
|
private |
Valid for Signal and Noise
Definition at line 105 of file QSampleInfo.hh.
Referenced by Clear(), Dump(), GetTriggerNumber(), and SetTriggerNumber().