10 #ifndef TRIGGERALGOBASE_H 11 #define TRIGGERALGOBASE_H 87 _time_windows.clear();
97 const std::map<trigdata::TrigTimeSlice_t, trigdata::TrigTimeSlice_t>*
GetTimeWindows()
const 99 return &_time_windows;
113 virtual void SimTrigger();
122 std::map<trigdata::TrigTimeSlice_t, trigdata::TrigTimeSlice_t>
_time_windows;
uint64_t TrigTimeSlice_t
A unit of time used in trigger logic.
std::set< trigdata::TrigTimeSlice_t > _timestamps
stores CANDIDATE readout trigger timestamps
trigdata::TrigTimeSlice_t _proceeding_slices
proceeding readout-window from trigger time stamp
trigdata::TrigTimeSlice_t _preceeding_slices
preceeding readout-window from trigger time stamp
std::map< trigdata::TrigTimeSlice_t, trigdata::TrigTimeSlice_t > _time_windows
stores VALID readout trigger time windows
virtual void RunTriggerSim(const art::Event &event)
Function to run trigger simulation ... children class may be override.
bool HasRunTriggerSim() const
Getter for a boolean which "true" value indicates trigger simulation is run already.
bool _sim_done
run utility boolean, set to true after trigger simulation is run
const std::map< trigdata::TrigTimeSlice_t, trigdata::TrigTimeSlice_t > * GetTimeWindows() const
Getter to a const pointer of _time_windows std::map variable.
const std::set< trigdata::TrigTimeSlice_t > * GetTriggerTimeStamps() const
Getter to a const pointer of _timestamps std::set variable.
trigdata::TrigTimeSlice_t _deadtime
trigger deadtime AFTER each valid trigger timestamps
virtual void ClearTriggerInfo()
Function to clear simulated trigger information.
Event finding and building.