10 #ifndef DataFormats_CTPPSDigi_TotemVFATStatus
11 #define DataFormats_CTPPSDigi_TotemVFATStatus
bool isFootprintError() const
Footprint error.
uint8_t chipPosition
describes placement of the VFAT within the detector
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 getEC() const
event Counter
uint8_t getChipPosition() const
Chip position.
bool numberOfClustersSpecified
the number of hit clusters before DAQ trimming
TotemVFATStatus(uint8_t _cp=0)
bool isNumberOfClustersSpecified() const
number of clusters
bool isCRCError() const
CRC error.
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
uint8_t getNumberOfClusters() const
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.
volatile std::atomic< bool > shutdown_flag false
void setChipPosition(uint8_t _cp)
bool operator<(const TotemVFATStatus &cmp) const
bool isECProgressError() const
VFATFrame event number doesn't follow the number derived from DAQ.
uint8_t eventCounter
event counter in the VFAT frame