1 #ifndef _SdEventSelectorOG_SdEventSelector_h_
2 #define _SdEventSelectorOG_SdEventSelector_h_
4 #include <fwk/VModule.h>
5 #include <utl/TimeRange.h>
23 namespace SdEventSelectorOG {
61 typedef std::pair<sevt::Station*, const sdet::Station*>
StationPair;
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
std::vector< double > fSeedPlaneFrontTimeResidualRangeTh1
StationPairList f3TOTCandidateStations
bool IsReusedIDStation(const sdet::Station &s) const
int GetBadPeriod(const utl::TimeStamp &time) const
Detector description interface for Station-related data.
bool BottomUpSelection(const bool is3TOT, evt::Event &event)
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
Time interval defined by two TimeStamps.
int fMinNumberOfStationsAtBeginning
std::vector< SdEventSelectorOG::BadPeriod > fBadPeriods
Interface class to access to the SD part of an event.
std::vector< double > fSeedPlaneFrontTimeResidualRangeToTd
bool fSilenceMoPSStations
double fLonelyIfNoneInDistance
std::vector< double > fSeedPlaneFrontTimeResidualRangeToT
int StationSelection(sevt::SEvent &sEvent) const
std::list< StationPair > StationPairList
A TimeStamp holds GPS second and nanosecond for some event.
StationPairList fCandidateStations
std::vector< double > fSeedPlaneFrontTimeResidualRangeTh2
class to hold data at Station level
StationPairList f4C1CandidateStations
double fSkewMaximumDistance
bool fSilenceTOTdStations
std::vector< double > fFirstCrownDistanceRange
int fMinNumberOfActiveStations
BadPeriod(const int id, const utl::TimeRange &range)
StationPairList f3TOTdCandidateStations
double CTimeDifferenceMargin(const sevt::Station &i, const sevt::Station &j) const
bool IsSEvent3TOT(const StationPairList &candidates) const
ResultFlag
Flag returned by module methods to the RunController.
bool fEnableBottomUpSelection
std::vector< int > fSeedStations
std::pair< int, std::vector< int > > CalculateT5Trigger(const sevt::SEvent &sEvent) const
bool RejectLonelyStations()
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
StationPairList f3MoPSCandidateStations
REGISTER_MODULE("SdEventSelectorOG", SdEventSelector)
std::pair< sevt::Station *, const sdet::Station * > StationPair
StationPairList f3TOTMixCandidateStations
utl::TimeStamp fSilenceTOTdMoPSDate
std::vector< double > fSeedPlaneFrontTimeResidualRangeMoPS
double fLonelyIfOneInDistance
double fLightCompatibilityTolerance