10 #ifndef DataFormats_CTPPSDigi_TotemVFATStatus 11 #define DataFormats_CTPPSDigi_TotemVFATStatus uint8_t ec() const
event Counter
bool operator<(const TotemVFATStatus &cmp) const
void setCRCError(bool val=true)
bool isNumberOfClustersSpecified() const
number of clusters
void setNumberOfClusters(uint8_t v)
uint8_t chipPosition() const
Chip position.
uint8_t numberOfClusters_
TotemVFATStatus(uint8_t cp=0)
bool isMissing() const
VFAT is present in mapping but no data is present int raw event.
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 ...
bool isPartiallyMaskedOut() const
Some channels from VFAT ale masked out, but not all.
uint8_t numberOfClusters() const
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 isCRCError() const
CRC error.
void setFootprintError(bool val=true)
void setBCProgressError(bool val=true)
bool isECProgressError() const
VFATFrame event number doesn't follow the number derived from DAQ.
void setNumberOfClustersSpecified(bool v)
std::bitset< 8 > status
the status bits
bool isFullyMaskedOut() const
All channels from that VFAT are not taken into account.
bool isNotMasked() const
No channels are masked out.
void setEC(const uint8_t ec)
void setPartiallyMaskedOut()
void setECProgressError(bool val=true)
void setIDMismatch(bool val=true)
bool isBCProgressError() const
BC number is incorrect.
bool isFootprintError() const
Footprint error.
uint8_t eventCounter
event counter in the VFAT frame
def cp(fromDir, toDir, listOfFiles, overwrite=False, smallList=False)