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