Go to the documentation of this file. 1 #ifndef CTPPSDigi_TotemTimingEventInfo_h
2 #define CTPPSDigi_TotemTimingEventInfo_h
76 hwId_ |= ((sampicId & 0x01) << 4) & 0x10;
81 hwId_ |= (channelId & 0x0F) & 0x0F;
128 std::bitset<16> bitsPLLInfo(digi.
pllInfo());
129 return o <<
"TotemTimingEventInfo:"
135 <<
"\nChannels fired:\t" << std::hex << digi.
channelMap() <<
"\nNumber of Samples:\t" <<
std::dec
137 <<
"\nPLL Info:\t" << bitsPLLInfo.to_string() << std::endl;
unsigned int l1ATimestamp() const
void setHardwareChannelId(const unsigned int channelId)
unsigned int hardwareSampicId() const
unsigned int hardwareId() const
Return digi values number.
void setL1ATimestamp(const uint64_t l1ATimestamp)
void setHardwareSampicId(const unsigned int sampicId)
unsigned int eventNumber() const
unsigned int orbitNumber() const
void setNumberOfSamples(const uint8_t numberOfSamples)
void setHardwareId(const uint8_t hwId)
void setOffsetOfSamples(const uint8_t offsetOfSamples)
unsigned int hardwareBoardId() const
void setOrbitNumber(const uint32_t orbitNumber)
void setL1ALatency(const uint16_t l1ALatency)
std::ostream & operator<<(std::ostream &o, const TotemTimingEventInfo &digi)
bool operator<(const TotemTimingEventInfo &one, const TotemTimingEventInfo &other)
unsigned int bunchNumber() const
void setPLLInfo(const uint8_t pllInfo)
uint16_t channelMap() const
void setHardwareBoardId(const unsigned int boardId)
unsigned int l1ALatency() const
unsigned int offsetOfSamples() const
unsigned int numberOfSamples() const
bool operator==(const TotemTimingEventInfo &eventInfo) const
Digis are equal if they have all the same values, NOT checking the samples!
unsigned long long uint64_t
void setBunchNumber(const uint16_t bunchNumber)
unsigned int hardwareChannelId() const
void setChannelMap(const uint16_t channelMap)
void setEventNumber(const uint32_t eventNumber)