1 #ifndef _revt_EventTrigger_h_
2 #define _revt_EventTrigger_h_
6 #include <utl/TimeStamp.h>
7 #include <utl/LameShadowPtr_fwd.h>
Interface class to access the Event Trigger (T3)
bool IsCalibrationTrigger() const
Check if Event comes from calibration trigger.
void SetAERAletTrigger(const bool trig)
Set if Event comes from AERALET trigger.
bool IsPassThroughTrigger() const
Check if Event comes from PASSTHROUGH trigger.
std::map< TriggerAlgorithm, bool > fResultsOfTriggerAlgorithms
void SetPeriodicTrigger(const bool trig)
Set if Event comes from PERIODIC trigger.
bool IsPeriodicTrigger() const
Check if Event comes from PERIODIC trigger.
utl::TimeStamp GetStationTime(const int stationId) const
Get the trigger time of one particular station.
Interface class to access to the Radio part of an event.
void SetBitPattern(const uint16_t BitPattern)
Set the Trigger Bit Pattern.
void SetGUITrigger(const bool trig)
Set if Event comes from GUI trigger.
bool TriggerAccepted(const TriggerAlgorithm trigger) const
Check if Event was accepted by Trigger algorithm.
bool IsGUITrigger() const
Check if Event comes from GUI trigger.
void SetAIRPLANETrigger(const bool trig)
Set if Event comes from AIRPLANE trigger.
A TimeStamp holds GPS second and nanosecond for some event.
void SetCalibrationTrigger(const bool trig)
Set if Event comes from calibration trigger.
void SetExternalTrigger(const bool trig)
Set if Event was externally triggered.
void SetSelfTrigger(const bool trig)
Set if Event was selftriggered.
void SetHEATTrigger(const bool trig)
Set if Event comes from HEAT trigger.
bool fIsPassThroughTrigger
void AddTriggerAlgorithm(const TriggerAlgorithm trigger, const bool accepted)
Add a trigger algorithm's result.
bool TriggerPerformed(const TriggerAlgorithm trigger) const
Check if a Trigger algorithm was performed.
uint16_t GetBitPattern() const
Get the Trigger Bit Pattern.
void AddStationTime(const int stationId, const utl::TimeStamp time)
Add a station with its trigger time.
void SetTime(const utl::TimeStamp &time)
Set time of the event trigger.
bool IsHEATTrigger() const
Check if Event comes from HEAT trigger.
void SetPassThroughTrigger(const bool trig)
Set if Event comes from PASSTHROUGH trigger.
void SetSDTrigger(const bool trig)
Set if Event comes from SD trigger.
bool IsSDTrigger() const
Check if Event comes from SD trigger.
bool IsExternalTrigger() const
Check if Event was externally triggered.
bool IsSelfTrigger() const
Check if Event was selftriggered.
bool IsAERAletTrigger() const
Check if Event comes from AERALET trigger.
void SetScintillatorTrigger(const bool trig)
Set if Event comes from scintillator trigger.
std::map< int, utl::TimeStamp > fStationTimestamps
utl::TimeStamp GetTime() const
Get time of the event trigger.
unsigned int GetNumberOfStations() const
Get number of stations in the trigger.
bool IsScintillatorTrigger() const
Check if Event comes from scintillator trigger.
bool IsFDTrigger() const
Check if Event comes from FD trigger.
bool IsAIRPLANETrigger() const
Check if Event comes from AIRPLANE trigger.
void SetFDTrigger(const bool trig)
Set if Event comes from FD trigger.