Diana Software
QSampleInfo.cc
Go to the documentation of this file.
1 #include "QSampleInfo.hh"
2 
3 using std::endl;
5 
7 {
8  Clear();
9 }
10 
12 {
19 }
20 
21 void QSampleInfo::Dump(std::ostream& o) const
22 {
23  o << "OriginChannel: " << GetOriginChannel() << endl;
24  o << "IsSignal: " << GetIsSignal() << endl;
25  o << "IsReversed: " << GetIsReversed() << endl;
26  o << "IsPulser: " << GetIsPulser() << endl;
27  o << "IsLED: " << GetIsLED() << endl;
28  o << "IsNoise: " << GetIsNoise() << endl;
29  o << "IsVeto: " << GetIsVeto() << endl;
30  o << "IsSide: " << GetIsSide() << endl;
31  o << "TriggerNumber: " << fTriggerNumber << endl;
32  o << "PulserDelay: " << fPulserDelay << endl;
33  o << "SampleIndex: " << fSampleIndex << endl;
34  o << "EventNumber: " << fEventNumber << endl;
35 }
#define Q_INT_DEFAULT
Definition: QDiana.hh:26
QObjectImp(QSampleInfo) QSampleInfo
Definition: QSampleInfo.cc:4
contains information on flagged samples
Definition: QSampleInfo.hh:24
Int_t fPulserDelay
Definition: QSampleInfo.hh:106
Int_t fOriginChannel
Definition: QSampleInfo.hh:109
bool GetIsPulser() const
Get IsPulser.
Definition: QSampleInfo.hh:33
Int_t fSampleIndex
Definition: QSampleInfo.hh:107
bool GetIsSide() const
Get IsSide.
Definition: QSampleInfo.hh:45
void Dump(std::ostream &o) const
Definition: QSampleInfo.cc:21
EventType fEventType
Definition: QSampleInfo.hh:102
Int_t GetOriginChannel() const
Get Origin Channel inducing the special sample.
Definition: QSampleInfo.hh:53
QSampleInfo()
default constructor
Int_t fEventNumber
Definition: QSampleInfo.hh:108
bool GetIsSignal() const
Get IsSignal.
Definition: QSampleInfo.hh:35
Int_t fTriggerNumber
Definition: QSampleInfo.hh:105
bool GetIsVeto() const
Get IsMuon.
Definition: QSampleInfo.hh:41
bool GetIsReversed() const
Get IsSignal.
Definition: QSampleInfo.hh:37
void Clear()
Definition: QSampleInfo.cc:11
bool GetIsNoise() const
Get IsNoise.
Definition: QSampleInfo.hh:43
bool GetIsLED() const
Get IsLED.
Definition: QSampleInfo.hh:39