LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 12 of file TriggerData.h.
|
inline |
Default ctor.
Definition at line 17 of file TriggerData.h.
References fBeamGateTime, fTriggerBits, fTriggerNumber, fTriggerTime, and max.
|
inline |
Alternative constructor.
Definition at line 38 of file TriggerData.h.
|
inline |
BeamGate time w.r.t. electronics clock T0 in us.
Definition at line 53 of file TriggerData.h.
References fBeamGateTime.
Referenced by detinfo::setDetectorClocksStandardTriggersFromRawTrigger().
|
inline |
Trigger Bits.
Definition at line 55 of file TriggerData.h.
References fTriggerBits, and Triggered().
bool raw::Trigger::Triggered | ( | const unsigned char | bit | ) | const |
Accessor to specific bit.
Definition at line 9 of file TriggerData.cxx.
References x1.
Referenced by TriggerBits().
|
inline |
Trigger number.
Definition at line 49 of file TriggerData.h.
References fTriggerNumber.
|
inline |
Trigger time w.r.t. electronics clock T0 in us.
Definition at line 51 of file TriggerData.h.
References fTriggerTime.
Referenced by detinfo::setDetectorClocksStandardTriggersFromRawTrigger().
|
private |
BeamGate time w.r.t. electronics clock T0.
Definition at line 31 of file TriggerData.h.
Referenced by BeamGateTime(), and Trigger().
|
private |
Trigger bits ... dedicated bit-by-bit function available.
Definition at line 32 of file TriggerData.h.
Referenced by Trigger(), and TriggerBits().
|
private |
Trigger counter.
Definition at line 29 of file TriggerData.h.
Referenced by Trigger(), and TriggerNumber().
|
private |
Trigger time w.r.t. electronics clock T0.
Definition at line 30 of file TriggerData.h.
Referenced by Trigger(), and TriggerTime().