RdStationSimulationRejector.h
Go to the documentation of this file.
1 #ifndef _RdStationSimulationRejector_RdStationSimulationRejector_h_
2 #define _RdStationSimulationRejector_RdStationSimulationRejector_h_
3 
4 
5 #include <fwk/VModule.h>
6 
7 #include <cmath>
8 
9 
11 
22 
23  public:
24  fwk::VModule::ResultFlag Init() override;
25  fwk::VModule::ResultFlag Run(evt::Event& event) override;
27 
28  private:
29  // parameterisation at which radial axis distance thinning might become a problem.
30  // depends on your thinning level, cf. PhD thesis of Felix Schlüter
31  double thinning_distance(const double zenith)
32  { return (1.93259388e-02 * exp(zenith * 7.89363304e+00) + 6.37926253e+02) * 0.85; }
33 
36 
37  REGISTER_MODULE("RdStationSimulationRejector", RdStationSimulationRejector);
38  };
39 
40 }
41 
42 #endif
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
Module interface.
Definition: VModule.h:53
REGISTER_MODULE("RdStationSimulationRejector", RdStationSimulationRejector)
fwk::VModule::ResultFlag Finish() override
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.