revtStationTriggerData_ROOT.cc
Go to the documentation of this file.
1 #include <revt/StationTriggerData.h>
2 #include <io/revtStationTriggerData_ROOT.h>
3 
4 using namespace io;
5 
6 
8 
9 
10 revtStationTriggerData_ROOT::revtStationTriggerData_ROOT(const revt::StationTriggerData& s) :
11  fOffset(s.GetOffset()),
12  fSelfTriggerTime(s.GetSelfTriggerTime()),
13  fSelfTriggerBin(s.GetSelfTriggerBin()),
14  fSelfTriggerAmp(s.GetSelfTriggerAmp()),
15  fTriggerSource(s.GetTriggerSource())
16 { }
17 
18 
19 void
21  const
22 {
23  s.SetOffset(fOffset);
27  s.SetTriggerSource(static_cast<revt::StationTriggerData::TriggerSource>(fTriggerSource));
28 }
Persistent revtStationTriggerData using ROOT.
void SetOffset(const int offset)
Set postTrigger time in bins.
Station Trigger Data description
constexpr double s
Definition: AugerUnits.h:163
void SetSelfTriggerBin(const int SelfTriggerBin)
Set the Selfttriggerbin in case of T2Threshold trigger.
void operator>>(revt::StationTriggerData &s) const
void SetSelfTriggerTime(const int SelfTriggerTime)
Set the Selfttriggertime in case of T2Threshold trigger.
void SetSelfTriggerAmp(const double SelfTriggerAmp)
Set the Selfttriggeramp in case of T2Threshold trigger.
void SetTriggerSource(const TriggerSource TrigSource)
Set the Trigger Source of the station, i.e. if it triggered itself or was triggered by the central st...

, generated on Tue Sep 26 2023.