1 #ifndef _ThresholdCalculatorKG_ThresholdCalculator_h_
2 #define _ThresholdCalculatorKG_ThresholdCalculator_h_
4 #include <fwk/VModule.h>
9 #include <fdet/Telescope.h>
15 namespace ThresholdCalculatorKG {
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
std::vector< double > fNpe
REGISTER_MODULE("ThresholdCalculatorKG", ThresholdCalculator)
std::vector< TH1 * > fSummedSamples
std::vector< TH1D * > fSamples
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
ResultFlag
Flag returned by module methods to the RunController.
std::vector< double > fSampleMaximum
unsigned int fBoxcarSumLength
std::string fRootFileName
std::vector< unsigned int > fNumberOfTraces