#include <TotemTimingEventInfo.h>
Public Member Functions | |
unsigned int | bunchNumber () const |
uint16_t | channelMap () const |
unsigned int | eventNumber () const |
unsigned int | hardwareBoardId () const |
unsigned int | hardwareChannelId () const |
unsigned int | hardwareId () const |
Return digi values number. More... | |
unsigned int | hardwareSampicId () const |
unsigned int | l1ALatency () const |
unsigned int | l1ATimestamp () const |
unsigned int | numberOfSamples () const |
unsigned int | offsetOfSamples () const |
bool | operator== (const TotemTimingEventInfo &eventInfo) const |
Digis are equal if they have all the same values, NOT checking the samples! More... | |
unsigned int | orbitNumber () const |
uint8_t | pllInfo () const |
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 () | |
TotemTimingEventInfo (const TotemTimingEventInfo &eventInfo) | |
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 () | |
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 30 of file TotemTimingEventInfo.cc.
TotemTimingEventInfo::TotemTimingEventInfo | ( | ) |
Definition at line 42 of file TotemTimingEventInfo.cc.
|
inline |
Definition at line 31 of file TotemTimingEventInfo.h.
|
inline |
Definition at line 49 of file TotemTimingEventInfo.h.
References bunchNumber_.
Referenced by operator<<(), and setBunchNumber().
|
inline |
Definition at line 55 of file TotemTimingEventInfo.h.
References channelMap_.
Referenced by operator<<(), and setChannelMap().
|
inline |
Definition at line 53 of file TotemTimingEventInfo.h.
References eventNumber_.
Referenced by operator<(), operator<<(), and setEventNumber().
|
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 39 of file TotemTimingEventInfo.h.
References hwId_.
Referenced by operator<(), and operator<<().
|
inline |
|
inline |
Definition at line 57 of file TotemTimingEventInfo.h.
References l1ALatency_.
Referenced by operator<<(), setL1ALatency(), and TotemTimingConversions::timeOfFirstSample().
|
inline |
Definition at line 47 of file TotemTimingEventInfo.h.
References l1ATimestamp_.
Referenced by operator<(), operator<<(), setL1ATimestamp(), and TotemTimingConversions::timeOfFirstSample().
|
inline |
Definition at line 59 of file TotemTimingEventInfo.h.
References numberOfSamples_.
Referenced by operator<<(), and setNumberOfSamples().
|
inline |
Definition at line 61 of file TotemTimingEventInfo.h.
References offsetOfSamples_.
Referenced by operator<<(), setOffsetOfSamples(), TotemTimingConversions::timeOfFirstSample(), and TotemTimingConversions::triggerTime().
bool TotemTimingEventInfo::operator== | ( | const TotemTimingEventInfo & | eventInfo | ) | const |
Digis are equal if they have all the same values, NOT checking the samples!
Definition at line 55 of file TotemTimingEventInfo.cc.
References bunchNumber_, channelMap_, ZMuMuAnalysisNtupler_cff::eventInfo, eventNumber_, hwId_, l1ALatency_, l1ATimestamp_, numberOfSamples_, offsetOfSamples_, orbitNumber_, and pllInfo_.
|
inline |
Definition at line 51 of file TotemTimingEventInfo.h.
References orbitNumber_.
Referenced by operator<<(), and setOrbitNumber().
|
inline |
Definition at line 63 of file TotemTimingEventInfo.h.
References pllInfo_.
Referenced by operator<<(), and setPLLInfo().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 69 of file TotemTimingEventInfo.h.
References amcDumpToRaw_cfi::boardId, and hwId_.
|
inline |
Definition at line 79 of file TotemTimingEventInfo.h.
References hwId_.
|
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 67 of file TotemTimingEventInfo.h.
References hwId_.
|
inline |
Definition at line 74 of file TotemTimingEventInfo.h.
References hwId_.
|
inline |
|
inline |
|
inline |
Definition at line 96 of file TotemTimingEventInfo.h.
References numberOfSamples(), and numberOfSamples_.
|
inline |
Definition at line 98 of file TotemTimingEventInfo.h.
References offsetOfSamples(), and offsetOfSamples_.
|
inline |
|
inline |
|
private |
Definition at line 105 of file TotemTimingEventInfo.h.
Referenced by bunchNumber(), operator==(), and setBunchNumber().
|
private |
Definition at line 108 of file TotemTimingEventInfo.h.
Referenced by channelMap(), operator==(), and setChannelMap().
|
private |
Definition at line 107 of file TotemTimingEventInfo.h.
Referenced by eventNumber(), operator==(), and setEventNumber().
|
private |
Definition at line 103 of file TotemTimingEventInfo.h.
Referenced by hardwareBoardId(), hardwareChannelId(), hardwareId(), hardwareSampicId(), operator==(), setHardwareBoardId(), setHardwareChannelId(), setHardwareId(), and setHardwareSampicId().
|
private |
Definition at line 109 of file TotemTimingEventInfo.h.
Referenced by l1ALatency(), operator==(), and setL1ALatency().
|
private |
Definition at line 104 of file TotemTimingEventInfo.h.
Referenced by l1ATimestamp(), operator==(), and setL1ATimestamp().
|
private |
Definition at line 110 of file TotemTimingEventInfo.h.
Referenced by numberOfSamples(), operator==(), and setNumberOfSamples().
|
private |
Definition at line 111 of file TotemTimingEventInfo.h.
Referenced by offsetOfSamples(), operator==(), and setOffsetOfSamples().
|
private |
Definition at line 106 of file TotemTimingEventInfo.h.
Referenced by operator==(), orbitNumber(), and setOrbitNumber().
|
private |
Definition at line 112 of file TotemTimingEventInfo.h.
Referenced by operator==(), pllInfo(), and setPLLInfo().