Diana Software
MPulserFlagByRegularTiming.hh
Go to the documentation of this file.
1 #ifndef _M_HEATER_FLAG_BY_REGULAR_TIMING_HH_
2 #define _M_HEATER_FLAG_BY_REGULAR_TIMING_HH_
3 
88 #include "QModule.hh"
89 #include "QTimingAnalyzer.hh"
90 #include <map>
91 #include <string>
92 #include <vector>
93 
94 class MPulserFlagByRegularTiming : public Diana::QModule {
95 
96  public:
98  void Init(Diana::QEvent& ev);
99 
101  void Do(Diana::QEvent& ev);
102 
104  void Done();
105 
106  private:
109 
112 
113 
114 
119 
125 
131 
133  std::vector<double> fTimeAdjustments;
134 
137 
140 
142  std::map<int, QTimingAnalyzer> fTimingAnalyzer;
143 
146 
149 
150 };
151 
152 #endif
Flag heater events by their regular timing.
int fNecessaryCoincidentEvents
If UseCoincidence = true, the minimum number of required coincident events (not counting the current ...
double fFalsePositiveRate
False positive rate.
int fMaxRandomCoincidentEvents
If UseCoincidence = true, the maximum number of allowed coincident events in different heater groups ...
double fTimeIntervalStepSize
Step size for scan of time intervals.
int fSufficientCoincidentEvents
If UseCoincidence = true, the minimum number of required coincident events (not counting the current ...
std::vector< double > fTimeAdjustments
Time adjustments.
std::map< int, QTimingAnalyzer > fTimingAnalyzer
Timing analyzer for each channel.
double fTimeIntervalUncertainty
Uncertainty in expected heater time interval.
double fExpectedTimeInterval
Pulser expected time interval in sec.
void Do(Diana::QEvent &ev)
Do method.
void Init(Diana::QEvent &ev)
Init method.
bool fUseCoincidences
Whether or not to use coincidences.