RdAirShowerReconstruction.h
Go to the documentation of this file.
1 #ifndef _RdAirShowerReconstruction_h_
2 #define _RdAirShowerReconstruction_h_
3 
4 #include <fwk/VModule.h>
5 
6 
8 
9  enum InfoLevel {
10  eNone = 0,
11  eFinal = 1,
13  eObscure = 3,
14  eDebug = 4
15  };
16 
17 
26 
27  public:
30 
34 
35  private:
39  unsigned int fEnergyFitId;
41  unsigned int fEnergyFitParameter;
43  double fEnergyKappa;
45  double fEnergyB;
46 
48  unsigned int fXmaxFitId;
50  unsigned int fXmaxFitParameter;
54  double fXmaxBbar;
56  double fXmaxParamA;
58  double fXmaxParamB;
59 
61  double fZenith;
62 
64 
71  double CalculateEnergy(const double E0, const double E0_err, double& energy_err);
72 
74 
81  double CalculateXmax(const double eta, const double eta_err, double& Xmax_err);
82 
83  REGISTER_MODULE("RdAirShowerReconstruction", RdAirShowerReconstruction);
84 
85  };
86 
87 }
88 
89 
90 #endif
unsigned int fXmaxFitParameter
xml settings: index of parameter eta (slope) used for Xmax recontruction
unsigned int fEnergyFitId
xml settings: index of parametrization used for energy reconstruction
double CalculateXmax(const double eta, const double eta_err, double &Xmax_err)
return reconstructed Xmax
double fXmaxParamB
xml settings: paramenter B used for Xmax reconstruction
double fXmaxBbar
xml settings: constant bbar used for Xmax reconstruction
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
double fXmaxGroundDepth
xml settings: depth of the detector (in g/cm^2)
double fEnergyKappa
xml settings: constant kappa used for energy reconstruction
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)
double fZenith
zenith angle theta of arrival direction of air-shower
Reconstructs air-shower parameter, such as energy and shower maximum, using fitted parameters...
unsigned int fXmaxFitId
xml settings: index of parametrization used for Xmax reconstruction
double fXmaxParamA
xml settings: parameter A used for Xmax reconstruction
unsigned int fEnergyFitParameter
xml settings: index of parameter E0 used for energy reconstruction
REGISTER_MODULE("RdAirShowerReconstruction", RdAirShowerReconstruction)
Module interface.
Definition: VModule.h:53
double fEnergyB
xml settings: constant b used for energy reconstruction
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
double CalculateEnergy(const double E0, const double E0_err, double &energy_err)
return reconstructed energy

, generated on Tue Sep 26 2023.