ThresholdCalculator.h
Go to the documentation of this file.
1 #ifndef _ThresholdCalculatorKG_ThresholdCalculator_h_
2 #define _ThresholdCalculatorKG_ThresholdCalculator_h_
3 
4 #include <fwk/VModule.h>
5 #include <string>
6 #include <TH1D.h>
7 #include <TFile.h>
8 
9 #include <fdet/Telescope.h>
10 
11 namespace evt {
12  class Event;
13 }
14 
15 namespace ThresholdCalculatorKG {
16 
23 
24  public:
25 
28 
32 
33  private:
34 
36  unsigned int fBoxcarSumLength;
37  std::vector<double> fNpe;
38  std::vector<TH1D*> fSamples;
39  std::vector<TH1*> fSummedSamples;
40  std::string fRootFileName;
41  TFile* fHistoFile;
42  unsigned int fEye;
43  unsigned int fTel;
44  int fBaseline;
45  std::vector<unsigned int> fNumberOfTraces;
46  std::vector<double> fSampleMaximum;
47 
48  REGISTER_MODULE("ThresholdCalculatorKG", ThresholdCalculator);
49 
50  };
51 
52 }
53 
54 #endif
55 
56 // Configure (x)emacs for this file ...
57 // Local Variables:
58 // mode: c++
59 // compile-command: "make -k"
60 // End:
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.
REGISTER_MODULE("ThresholdCalculatorKG", ThresholdCalculator)
Module interface.
Definition: VModule.h:53
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.
Definition: VModule.h:60

, generated on Tue Sep 26 2023.