#include <TotemTimingEventInfo.h>
Public Member Functions | |
unsigned int | getBunchNumber () const |
uint16_t | getChannelMap () const |
unsigned int | getEventNumber () const |
unsigned int | getHardwareBoardId () const |
unsigned int | getHardwareChannelId () const |
unsigned int | getHardwareId () const |
Return digi values number. More... | |
unsigned int | getHardwareSampicId () const |
unsigned int | getL1ALatency () const |
unsigned int | getL1ATimestamp () const |
unsigned int | getNumberOfSamples () const |
unsigned int | getOffsetOfSamples () const |
unsigned int | getOrbitNumber () const |
uint8_t | getPLLInfo () const |
bool | operator== (const TotemTimingEventInfo &eventInfo) const |
Digis are equal if they have all the same values, NOT checking the samples! More... | |
void | setBunchNumber (const uint16_t bunchNumber) |
void | setChannelMap (const uint16_t channelMap) |
void | setEventNumber (const uint32_t eventNumber) |
void | setHardwareBoardId (const unsigned int boardId) |
void | setHardwareChannelId (const unsigned int channelId) |
void | setHardwareId (const uint8_t hwId) |
void | setHardwareSampicId (const unsigned int sampicId) |
void | setL1ALatency (const uint16_t l1ALatency) |
void | setL1ATimestamp (const uint64_t l1ATimestamp) |
void | setNumberOfSamples (const uint8_t numberOfSamples) |
void | setOffsetOfSamples (const uint8_t offsetOfSamples) |
void | setOrbitNumber (const uint32_t orbitNumber) |
void | setPLLInfo (const uint8_t pllInfo) |
TotemTimingEventInfo (const uint8_t hwId, const uint64_t l1ATimestamp, const uint16_t bunchNumber, const uint32_t orbitNumber, const uint32_t eventNumber, const uint16_t channelMap, const uint16_t l1ALatency, const uint8_t numberOfSamples, const uint8_t offsetOfSamples, const uint8_t pllInfo) | |
TotemTimingEventInfo (const TotemTimingEventInfo &eventInfo) | |
TotemTimingEventInfo () | |
~TotemTimingEventInfo () | |
Private Attributes | |
uint16_t | bunchNumber_ |
uint16_t | channelMap_ |
uint32_t | eventNumber_ |
uint8_t | hwId_ |
uint16_t | l1ALatency_ |
uint64_t | l1ATimestamp_ |
uint8_t | numberOfSamples_ |
uint8_t | offsetOfSamples_ |
uint32_t | orbitNumber_ |
uint8_t | pllInfo_ |
Event Info Class for CTPPS Timing Detector
Definition at line 17 of file TotemTimingEventInfo.h.
TotemTimingEventInfo::TotemTimingEventInfo | ( | const uint8_t | hwId, |
const uint64_t | l1ATimestamp, | ||
const uint16_t | bunchNumber, | ||
const uint32_t | orbitNumber, | ||
const uint32_t | eventNumber, | ||
const uint16_t | channelMap, | ||
const uint16_t | l1ALatency, | ||
const uint8_t | numberOfSamples, | ||
const uint8_t | offsetOfSamples, | ||
const uint8_t | pllInfo | ||
) |
Definition at line 9 of file TotemTimingEventInfo.cc.
TotemTimingEventInfo::TotemTimingEventInfo | ( | const TotemTimingEventInfo & | eventInfo | ) |
Definition at line 19 of file TotemTimingEventInfo.cc.
TotemTimingEventInfo::TotemTimingEventInfo | ( | ) |
Definition at line 26 of file TotemTimingEventInfo.cc.
|
inline |
|
inline |
Definition at line 56 of file TotemTimingEventInfo.h.
References bunchNumber_.
Referenced by operator<<().
|
inline |
Definition at line 71 of file TotemTimingEventInfo.h.
References channelMap_.
Referenced by operator<<().
|
inline |
Definition at line 66 of file TotemTimingEventInfo.h.
References eventNumber_.
Referenced by operator<(), and operator<<().
|
inline |
|
inline |
|
inline |
Return digi values number.
Hardware Id formatted as: bits 0-3 Channel Id, bit 4 Sampic Id, bits 5-7 Digitizer Board Id
Definition at line 31 of file TotemTimingEventInfo.h.
References hwId_.
Referenced by operator<(), and operator<<().
|
inline |
|
inline |
Definition at line 76 of file TotemTimingEventInfo.h.
References l1ALatency_.
Referenced by TotemTimingConversions::getTimeOfFirstSample(), and operator<<().
|
inline |
Definition at line 51 of file TotemTimingEventInfo.h.
References l1ATimestamp_.
Referenced by TotemTimingConversions::getTimeOfFirstSample(), operator<(), and operator<<().
|
inline |
Definition at line 81 of file TotemTimingEventInfo.h.
References numberOfSamples_.
Referenced by operator<<().
|
inline |
Definition at line 86 of file TotemTimingEventInfo.h.
References offsetOfSamples_.
Referenced by TotemTimingConversions::getTimeOfFirstSample(), TotemTimingConversions::getTriggerTime(), and operator<<().
|
inline |
Definition at line 61 of file TotemTimingEventInfo.h.
References orbitNumber_.
Referenced by operator<<().
|
inline |
Definition at line 91 of file TotemTimingEventInfo.h.
References pllInfo_.
Referenced by operator<<().
bool TotemTimingEventInfo::operator== | ( | const TotemTimingEventInfo & | eventInfo | ) | const |
Digis are equal if they have all the same values, NOT checking the samples!
Definition at line 35 of file TotemTimingEventInfo.cc.
References bunchNumber_, channelMap_, eventNumber_, hwId_, l1ALatency_, l1ATimestamp_, numberOfSamples_, offsetOfSamples_, orbitNumber_, and pllInfo_.
Referenced by ~TotemTimingEventInfo().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set digi values Hardware Id formatted as: bits 0-3 Channel Id, bit 4 Sampic Id, bits 5-7 Digitizer Board Id
Definition at line 98 of file TotemTimingEventInfo.h.
References hwId_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 151 of file TotemTimingEventInfo.h.
References numberOfSamples, and numberOfSamples_.
|
inline |
Definition at line 156 of file TotemTimingEventInfo.h.
References offsetOfSamples_.
|
inline |
|
inline |
|
private |
Definition at line 169 of file TotemTimingEventInfo.h.
Referenced by getBunchNumber(), operator==(), and setBunchNumber().
|
private |
Definition at line 172 of file TotemTimingEventInfo.h.
Referenced by getChannelMap(), operator==(), and setChannelMap().
|
private |
Definition at line 171 of file TotemTimingEventInfo.h.
Referenced by getEventNumber(), operator==(), and setEventNumber().
|
private |
Definition at line 167 of file TotemTimingEventInfo.h.
Referenced by getHardwareBoardId(), getHardwareChannelId(), getHardwareId(), getHardwareSampicId(), operator==(), setHardwareBoardId(), setHardwareChannelId(), setHardwareId(), and setHardwareSampicId().
|
private |
Definition at line 173 of file TotemTimingEventInfo.h.
Referenced by getL1ALatency(), operator==(), and setL1ALatency().
|
private |
Definition at line 168 of file TotemTimingEventInfo.h.
Referenced by getL1ATimestamp(), operator==(), and setL1ATimestamp().
|
private |
Definition at line 174 of file TotemTimingEventInfo.h.
Referenced by getNumberOfSamples(), operator==(), and setNumberOfSamples().
|
private |
Definition at line 175 of file TotemTimingEventInfo.h.
Referenced by getOffsetOfSamples(), operator==(), and setOffsetOfSamples().
|
private |
Definition at line 170 of file TotemTimingEventInfo.h.
Referenced by getOrbitNumber(), operator==(), and setOrbitNumber().
|
private |
Definition at line 176 of file TotemTimingEventInfo.h.
Referenced by getPLLInfo(), operator==(), and setPLLInfo().