1 #ifndef CTPPSDigi_TotemTimingEventInfo_h
2 #define CTPPSDigi_TotemTimingEventInfo_h
71 hwId_ |= ((boardId & 0x07) << 5) & 0xE0;
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 hardwareSampicId() const
void setHardwareBoardId(const unsigned int boardId)
void setNumberOfSamples(const uint8_t numberOfSamples)
unsigned int hardwareId() const
Return digi values number.
unsigned int offsetOfSamples() const
unsigned int l1ALatency() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
unsigned int hardwareBoardId() const
void setOffsetOfSamples(const uint8_t offsetOfSamples)
unsigned int hardwareChannelId() const
void setHardwareId(const uint8_t hwId)
void setEventNumber(const uint32_t eventNumber)
unsigned int l1ATimestamp() const
unsigned int numberOfSamples() const
void setHardwareChannelId(const unsigned int channelId)
bool operator==(const TotemTimingEventInfo &eventInfo) const
Digis are equal if they have all the same values, NOT checking the samples!
unsigned int eventNumber() const
unsigned long long uint64_t
void setPLLInfo(const uint8_t pllInfo)
bool operator<(DTCELinkId const &lhs, DTCELinkId const &rhs)
void setOrbitNumber(const uint32_t orbitNumber)
unsigned int bunchNumber() const
void setBunchNumber(const uint16_t bunchNumber)
void setL1ATimestamp(const uint64_t l1ATimestamp)
void setChannelMap(const uint16_t channelMap)
void setL1ALatency(const uint16_t l1ALatency)
unsigned int orbitNumber() const
uint16_t channelMap() const
void setHardwareSampicId(const unsigned int sampicId)