1 #ifndef _RdEventPreSelector_RdEventPreSelector_h_
2 #define _RdEventPreSelector_RdEventPreSelector_h_
4 #include <fwk/VModule.h>
6 #include <utl/AugerUnits.h>
7 #include <utl/TimeStamp.h>
152 bool CloseTo(
const double a,
const double b,
const double tolerance)
const;
double fMaxNumberOfAvailableStationsInLargestEvents
Interface class to access the Event Trigger (T3)
unsigned int CountStationWithPulse(evt::Event &event) const
std::vector< unsigned long > fEventGPSSeconds
bool fUseExternallyTriggeredEvent
bool fUseCalibrationTriggeredEvent
REGISTER_MODULE("RdEventPreSelector", RdEventPreSelector)
bool fUsePeriodicTriggeredEvent
bool fUseTriggerInformation
bool fUseAERAletTriggeredEvent
bool CloseTo(const double a, const double b, const double tolerance) const
int fMinNumberOfStations
Minimal number of stations which must be in the event.
double fMinNumberOfStationsWithPulse
unsigned int fNRejectedStationRejectionList
number of events deselected because event contains station in station rejection list ...
bool fUseGUITriggeredEvent
bool fBreakLoopAtMaxDateTime
break loop in ModuleSequence instead of continue
std::set< utl::TimeStamp > fSelectedEventDates
List of allowed event dates.
bool fUseFDTriggeredEvent
unsigned int fNRejectedMinNumberOfStationsWithPulse
number of events deselected due to the SNR cut
bool fUsePassThroughTriggeredEvent
int fMaxNumberOfStations
Maximal number of stations which must be in the event (if 0, this cut is ignored) ...
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
std::vector< int > fNotParticipatingStationIds
List of station IDs which must not be part of the event.
double fMaxFDZenith
maximum allowed FD angle
bool fUseHEATTriggeredEvent
bool CheckTrigger(const revt::EventTrigger &evtrig)
A TimeStamp holds GPS second and nanosecond for some event.
bool fUseScintillatorTriggeredEvent
bool fUseSelfTriggeredEvent
std::set< std::pair< int, int > > fDeselectedRunEventIds
List of not allowed combination of run and event IDs.
bool fFDInput
selects if FD should be used as input for radio
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
double fAllowedTimeAroundEventTime
std::set< std::pair< int, int > > fSelectedRunEventIds
List of allowed allowed combination of run and event IDs.
unsigned int fNRejectedEventRejectionList
number of events deselected because event in event rejection list
Preselects events by certain cuts (like number of stations or WCD reconstruction) ...
bool fUseSDTriggeredEvent
int fMaxEventId
Maximal event ID (0, this cut is ignored)
unsigned int fNRejectedMinNumberOfStations
number of events deselected because of not sufficient number of stations
std::set< int > fDeselectedEventIds
List of not allowed event IDs (attention: ID = ID in Run, which is not an unique identifier) ...
unsigned int fWhichEye
selects the reconstructed FD eye as input
utl::TimeStamp fAllowedTimeStop
std::set< int > fSelectedEventIds
List of allowed event IDs (attention: ID = ID in Run, which is not an unique identifier) ...
ResultFlag
Flag returned by module methods to the RunController.
unsigned int fNumberOfEvents
total number of events
utl::TimeStamp fAllowedTimeBegin
unsigned int fNRejected
total number of rejected events
int fMinEventId
Minimal event ID.
unsigned int fNRejectedTriggerConditions
number of events deselected because event in event rejection list
bool fUseAIRPLANETriggeredEvent
std::vector< int > fAllParticipatingStationIds
List of station IDs which must be part of the event (additional stations are allowed) ...
std::vector< int > fAtLeastOneParticipatingStationIds
List of station IDs of which at least one must be part of the event (additional stations are allowed)...
unsigned int fNAccepted
total number of accepted events