1 #ifndef _MdEventSelectorAG_MdEventSelector_h_
2 #define _MdEventSelectorAG_MdEventSelector_h_
4 #include <fwk/VModule.h>
6 #include <mevt/MEvent.h>
7 #include <mevt/Counter.h>
8 #include <mevt/Module.h>
9 #include <sevt/SEvent.h>
11 #include <mdet/MDetector.h>
12 #include <mdet/Counter.h>
109 bool IsTimeOutlier(
const double md2sdTimeInterval,
const double distance)
const;
void RejectDenseDetectors(mevt::MEvent &me) const
const mevt::Counter * FindHottestCounterSaturated(const mevt::MEvent &me) const
Counter level event data.
Interface class to access to the SD part of an event.
bool HasEnoughDetectors(const mevt::MEvent &me) const
Checks if the number of detector is enough to reconstruct the event Counts detectors with at least on...
REGISTER_MODULE("MdEventSelectorAG", MdEventSelector)
bool IsTimeOutlier(const double md2sdTimeInterval, const double distance) const
Detector associated to muon detector hierarchy.
double fFirstCrownMaxDistance
unsigned int fMinNumberOfCounters
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
const mevt::Counter * FindHottestCounter(const mevt::MEvent &me) const
Find the hottest counter Two different algorithms are used to find the hottest counter depending if t...
void SetT5(evt::Event &e, const bool t5) const
int fT5NumberOfActiveStations
bool fRejectDenseStations
double fTimeOutlierConstant
bool IsHighTheta(const evt::Event &e) const
Check if the zenith angle reconstructed by the Sd is higher than the fMAxTheta set in the configurati...
double fTimeOutlierDistance
ResultFlag
Flag returned by module methods to the RunController.
bool fRejectTimeOutlierCounters
void RejectFarSilents(mevt::MEvent &me) const
const mdet::MDetector * theMDetector
void RejectTimeOutliers(mevt::MEvent &me, const sevt::SEvent &se) const
bool fRejectSaturatedEvents
void RejectCloseSimDetectors(mevt::MEvent &me) const
Reject all modules of a detector if it is classified as inside a minimal distance in the simulations...
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
bool IsMEventT5(const mevt::MEvent &me) const
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
const mevt::Counter * FindHottestCounterUnsaturated(const mevt::MEvent &me) const
double fFirstCrownMinDistance
virtual ~MdEventSelector()
Root of the Muon event hierarchy.
Selects events and detectors for the MD reconstruction.