RdEventPostSelector.h
Go to the documentation of this file.
1 #ifndef _RdEventPostSelector_RdEventPostSelector_h_
2 #define _RdEventPostSelector_RdEventPostSelector_h_
3 
4 #include <fwk/VModule.h>
5 
6 #include <utl/Point.h>
7 #include <utl/Vector.h>
8 
9 
10 namespace RdEventPostSelector {
11 
22 
23  public:
24  fwk::VModule::ResultFlag Init() override;
25  fwk::VModule::ResultFlag Run(evt::Event& event) override;
27 
28  private:
30  double fMaxZenith = 0;
31 
33  bool fUseConverged = false;
34 
36  bool fUseSuccessfulFits = false;
37 
40 
42  std::string fUseCoincidenceCheck;
43 
46 
49 
50  double fAERA24Distance = 0;
51 
58 
59  unsigned int fWhichEye = 6;
60 
61  // radio core/axis, other core/axis (can be SD or FD)
62  bool passesCoincidenceCheck(const utl::Point& rCore, const utl::Vector& rAxis,
63  const utl::Point& oCore, const utl::Vector& oAxis);
64 
65  REGISTER_MODULE("RdEventPostSelector", RdEventPostSelector);
66  };
67 
68 }
69 
70 
71 #endif
72 
double fMaxZenith
xml settings: maximum value for zenith cut
REGISTER_MODULE("RdEventPostSelector", RdEventPostSelector)
Point object.
Definition: Point.h:32
Selects events based on specific conditions (e.g. successful direction reconstruction) ...
bool passesCoincidenceCheck(const utl::Point &rCore, const utl::Vector &rAxis, const utl::Point &oCore, const utl::Vector &oAxis)
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
int fMinNumberOfStationsWithPulseFound
xml settings: minimum required number of stations with pulse found
bool fUseSuccessfulFits
xml settings: successful fits
std::string fUseCoincidenceCheck
xml settings: defines wether to use the coincidence checking below
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
bool fUseConverged
xml settings: convergence cut
Module interface.
Definition: VModule.h:53
double fMaximumAxisToCoreDistance
xml settings: maximum SD axis to RD core distance between Rd and Sd/Fd event in km ...
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
double fMaximumAngularDeviation
xml settings: maximum angular deviation between Rd and Sd/Fd event in degrees
Vector object.
Definition: Vector.h:30
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)

, generated on Tue Sep 26 2023.