FdEnergyDepositFinder.h
Go to the documentation of this file.
1 #ifndef _FdEnergyDepositFinderKG_FdEnergyDepositFinder_h_
2 #define _FdEnergyDepositFinderKG_FdEnergyDepositFinder_h_
3 
4 #include "CFMatrixCalculator.h"
5 #include "ProfileCalculator.h"
6 #include "ProfileFitter.h"
7 #include "GHShapeParameters.h"
8 #include <fwk/VModule.h>
9 #include <utl/PhysicalFunctions.h>
10 #include <evt/GaisserHillas4Parameter.h>
11 
12 #include <map>
13 
14 
15 namespace fevt {
16  class Eye;
17 }
18 namespace evt {
19  class ShowerFRecData;
20 }
21 
22 namespace FdEnergyDepositFinderKG {
23 
57 
58  public:
59  fwk::VModule::ResultFlag Init() override;
60  fwk::VModule::ResultFlag Run(evt::Event& event) override;
61  fwk::VModule::ResultFlag Finish() override { return eSuccess; }
62 
63  private:
66  eRp,
68  eT0,
76  };
77 
79  eMinus = -1,
80  ePlus = 1
81  };
82 
83  bool IsEventCandidate(const fevt::Eye& eye) const;
84  bool FitProfile(fevt::Eye& eye,
85  const EFitFunctionType type);
86  bool GuessGHParameters(evt::ShowerFRecData& shower) const;
88  const EFitFunctionType) const;
89  bool PrepareEyeCopy(fevt::Eye& eye, const EErrorPropType type) const;
90  void PropagateUncertainties(fevt::Eye& eye) const;
91 
92  private:
93  // two versions of CFM are stored - first for ProfileCalculator, second for ProfileFitter
98 
100 
101  typedef std::map<EErrorPropStage, evt::GaisserHillas4Parameter> RecResults;
104 
105  // GaisserHillas shape parameters, constraints etc
107 
108  // energy threshold for electrons
110 
111  // options for invisible energy
114 
115  // options for error propagation
117  bool fRescaleErrors = false;
119 
120  // options for event selection
121  double fMaxZenith = 0;
122  bool fOnlyNonMono = false;
123 
124  unsigned int fDenseMatrixDim = 0;
125  int fAafCorrection = 0;
126  bool fUseNoiseBins = false;
127 
128  private:
129  REGISTER_MODULE("FdEnergyDepositFinderKG", FdEnergyDepositFinder);
130 
131  };
132 
133 }
134 
135 
136 #endif
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
bool PrepareEyeCopy(fevt::Eye &eye, const EErrorPropType type) const
Report success to RunController.
Definition: VModule.h:62
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
REGISTER_MODULE("FdEnergyDepositFinderKG", FdEnergyDepositFinder)
void DumpCurrentParameters(const evt::ShowerFRecData &, bool, const EFitFunctionType) const
utl::InvisibleEnergy::ECompositionModel fComposition
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
bool IsEventCandidate(const fevt::Eye &eye) const
constexpr double MeV
Definition: AugerUnits.h:184
bool FitProfile(fevt::Eye &eye, const EFitFunctionType type)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
Interface class to access to Fluorescence reconstruction of a Shower.
bool GuessGHParameters(evt::ShowerFRecData &shower) const
std::map< EErrorPropStage, evt::GaisserHillas4Parameter > RecResults
determines energy deposit profile and fits a four-parameter Gaisser-Hillas to it (telescope-based).
utl::InvisibleEnergy::EInteractionModel fInvisibleEnergyModel

, generated on Tue Sep 26 2023.