10 #ifndef DataFormats_CTPPSDigi_TotemVFATStatus
11 #define DataFormats_CTPPSDigi_TotemVFATStatus
bool isFootprintError() const
Footprint error.
uint8_t numberOfClusters() const
void setCRCError(bool val=true)
bool isPartiallyMaskedOut() const
Some channels from VFAT ale masked out, but not all.
bool isNotMasked() const
No channels are masked out.
bool isIDMismatch() const
12-bit hw id from the header of the vfat frame is diffrent from the 16-bit one from hw mapping ...
void setNumberOfClusters(uint8_t v)
uint8_t numberOfClusters_
TotemVFATStatus(uint8_t cp=0)
uint8_t chipPosition() const
Chip position.
bool numberOfClustersSpecified
the number of hit clusters before DAQ trimming
bool isNumberOfClustersSpecified() const
number of clusters
bool isCRCError() const
CRC error.
void setChipPosition(uint8_t cp)
uint8_t chipPosition_
describes placement of the VFAT within the detector
friend std::ostream & operator<<(std::ostream &s, const TotemVFATStatus &st)
void setMissing(bool val=true)
bool isFullyMaskedOut() const
All channels from that VFAT are not taken into account.
void setFootprintError(bool val=true)
void setBCProgressError(bool val=true)
void setNumberOfClustersSpecified(bool v)
std::bitset< 8 > status
the status bits
bool isBCProgressError() const
BC number is incorrect.
void setEC(const uint8_t ec)
void setPartiallyMaskedOut()
void setECProgressError(bool val=true)
void setIDMismatch(bool val=true)
bool isMissing() const
VFAT is present in mapping but no data is present int raw event.
bool operator<(const TotemVFATStatus &cmp) const
bool isECProgressError() const
VFATFrame event number doesn't follow the number derived from DAQ.
uint8_t ec() const
event Counter
uint8_t eventCounter
event counter in the VFAT frame