LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "TriggerData.h"
Public Member Functions | |
Trigger () | |
Default ctor. More... | |
Trigger (unsigned int counter, double trigger_time, double beamgate_time, uint32_t bits) | |
Alternative constructor. More... | |
unsigned int | TriggerNumber () const |
Trigger number. More... | |
double | TriggerTime () const |
Trigger time w.r.t. electronics clock T0 in us. More... | |
double | BeamGateTime () const |
BeamGate time w.r.t. electronics clock T0 in us. More... | |
unsigned int | TriggerBits () const |
Trigger Bits. More... | |
bool | Triggered (const unsigned char bit) const |
Accessor to specific bit. More... | |
Private Attributes | |
unsigned int | fTriggerNumber |
Trigger counter. More... | |
double | fTriggerTime |
Trigger time w.r.t. electronics clock T0. More... | |
double | fBeamGateTime |
BeamGate time w.r.t. electronics clock T0. More... | |
unsigned int | fTriggerBits |
Trigger bits ... dedicated bit-by-bit function available. More... | |
Definition at line 11 of file TriggerData.h.
|
inline |
Default ctor.
Definition at line 15 of file TriggerData.h.
References fBeamGateTime, fTriggerBits, fTriggerNumber, and fTriggerTime.
|
inline |
Alternative constructor.
Definition at line 33 of file TriggerData.h.
|
inline |
BeamGate time w.r.t. electronics clock T0 in us.
Definition at line 45 of file TriggerData.h.
References fBeamGateTime.
|
inline |
Trigger Bits.
Definition at line 47 of file TriggerData.h.
References fTriggerBits, and Triggered().
bool raw::Trigger::Triggered | ( | const unsigned char | bit | ) | const |
Accessor to specific bit.
Definition at line 8 of file TriggerData.cxx.
References x1.
Referenced by TriggerBits().
|
inline |
Trigger number.
Definition at line 41 of file TriggerData.h.
References fTriggerNumber.
|
inline |
Trigger time w.r.t. electronics clock T0 in us.
Definition at line 43 of file TriggerData.h.
References fTriggerTime.
|
private |
BeamGate time w.r.t. electronics clock T0.
Definition at line 28 of file TriggerData.h.
Referenced by BeamGateTime(), and Trigger().
|
private |
Trigger bits ... dedicated bit-by-bit function available.
Definition at line 29 of file TriggerData.h.
Referenced by Trigger(), and TriggerBits().
|
private |
Trigger counter.
Definition at line 26 of file TriggerData.h.
Referenced by Trigger(), and TriggerNumber().
|
private |
Trigger time w.r.t. electronics clock T0.
Definition at line 27 of file TriggerData.h.
Referenced by Trigger(), and TriggerTime().