FdDoubleBumpFinder.h
Go to the documentation of this file.
1 #ifndef _FdDoubleBumpFinder_FdDoubleBumpFinder_h_
2 #define _FdDoubleBumpFinder_FdDoubleBumpFinder_h_
3 
4 #include <fwk/VModule.h>
5 #include <utl/Vector.h>
6 #include <utl/TimeStamp.h>
7 #include <utl/TimeInterval.h>
8 #include <vector>
9 #include <list>
10 #include <string>
11 #include "ProfileFitter.h"
12 
13 
14 
15 namespace fdDoubleBumpFinder {
16 
28 
29  public:
32 
36 
37  private:
38  bool IsPreselected(evt::Event& event, fevt::Eye& eye) const;
39  bool IsSelected(fevt::Eye& eye) const;
40  bool Scan(const std::vector<double>& depth, const std::vector<double>& dEdX,
41  const std::vector<double>& dEdXError, double& xMax1, double& xMax2, double& dEdXMax1, double& dEdXMax2);
42  bool Fit(fevt::Eye& eye);
43  bool FillRecData(evt::Event& event, fevt::Eye& eye);
44 
46 
47  unsigned int fMinAxisPixels;
51  double fMaxZenith;
52  double fCutValue;
56 
57  double fXMax1;
58  double fXMax2;
59  double fLambda1;
60  double fLambda2;
61  double fXFirst1;
62  double fXFirst2;
63  double fdEdXMax1;
64  double fdEdXMax2;
65  double fDGHChi2;
66  unsigned int fDGHNdf;
67  double fGHChi2;
68 
69  REGISTER_MODULE("FdDoubleBumpFinderKG",FdDoubleBumpFinder);
70 
71  };
72 
73 }
74 
75 
76 #endif
77 
78 // Configure (x)emacs for this file ...
79 // Local Variables:
80 // mode: c++
81 // compile-command: "make -C ../.. -k"
82 // End:
REGISTER_MODULE("FdDoubleBumpFinderKG", FdDoubleBumpFinder)
Module to create a trigger signal for a Shoot-the-Shower (Lidar) The selection is mainly done by fitt...
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
bool IsSelected(fevt::Eye &eye) const
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Module interface.
Definition: VModule.h:53
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
bool Scan(const std::vector< double > &depth, const std::vector< double > &dEdX, const std::vector< double > &dEdXError, double &xMax1, double &xMax2, double &dEdXMax1, double &dEdXMax2)
profileFit::ProfileFitter fProfileFitter
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
bool IsPreselected(evt::Event &event, fevt::Eye &eye) const
bool FillRecData(evt::Event &event, fevt::Eye &eye)

, generated on Tue Sep 26 2023.