FdApertureLightFinderOG/FdApertureLightFinder.h
Go to the documentation of this file.
1 
9 #ifndef _FdApertureLightFinderOG_FdApertureLightFinder_h_
10 #define _FdApertureLightFinderOG_FdApertureLightFinder_h_
11 
12 
13 
14 #include <fwk/VModule.h>
15 #include <fevt/Eye.h>
16 #include <evt/Event.h>
17 #include <utl/Vector.h>
18 #include <utl/AugerUnits.h>
19 #include <deque>
20 
22 using namespace utl;
23 
24 namespace fdet{
25  class Pixel;
26  class Telescope;
27 }
28 
29 
30 class TTree;
31 namespace FdApertureLightFinderOG {
32 
46 
47  public:
48 
51  fwk::VModule::ResultFlag Finish();
52 
53  // temporary constants to go to detector description
54  static const double kPhoton2Pe;
55  static const double kGainVariance;
56  static const double kTelescopeMaxTheta ;
57  static const double kTelescopeMinTheta ;
58 
59 
60  private:
61 
62  bool FindSignalTimeRange(const fevt::Eye& eye);
63  bool FindLightFlux(fevt::Eye& eye);
64 
65  double fmaxZetaAngle;
66  double fminZetaAngle;
68  double fSafetyMargin;
69 
73  bool IsNearBorder (const utl::Vector& direction,
74  const fdet::Telescope& telescope,
75  double zeta) const;
76 
78  unsigned int GetMaxOffset(const fevt::Eye& eye) const;
79 
81  double FindZeta(const fevt::Eye& eye,
82  double initZeta,
83  double finZeta,
84  double stepZeta) const;
85 
87  void CombineAndFillFluxes(fevt::Eye& eye,
88  const std::deque<double>& fluoTime,
89  const std::deque<double>& fluoFlux,
90  const std::deque<double>& vfluoFlux,
91  const std::deque<double>& vBackground);
92 
94  double fTStart;
96  double fTStop;
97 
102 
103 
104  REGISTER_MODULE("FdApertureLightOG", FdApertureLightFinder);
105 
106 }; /*FdAperturedLightFinder */
107 
108  } //namespace;
109 
110 #endif // _FdApertureLightFinderOG_FdApertureLightFinder_h_
111 
112 // Configure (x)emacs for this file ...
113 // Local Variables:
114 // mode:c++
115 // compile-command: "make -C .. -k"
116 // End:
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
void Init()
Initialise the registry.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
Module interface.
Definition: VModule.h:53
#define REGISTER_MODULE(_moduleName_, _ModuleType_)
Definition: VModule.h:145
A simple module to reconstruct the light flux at the apertures.
Detector description interface for Telescope-related data.
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
Vector object.
Definition: Vector.h:30

, generated on Tue Sep 26 2023.