1 #ifndef DQM_RPCMonitorDigi_RPCLinkSynchroStat_H
2 #define DQM_RPCMonitorDigi_RPCLinkSynchroStat_H
50 void set(
unsigned int bxDiff);
55 unsigned int sum()
const {
return mom0(); }
63 unsigned int mom0()
const;
bool operator()(const BoardAndCounts &o1, const BoardAndCounts &o2)
void init(const RPCReadOutMapping *theCabling, bool addChamberInfo)
bool operator()(const BoardAndCounts &o1, const BoardAndCounts &o2)
virtual ~RPCLinkSynchroStat()
bool operator==(const LinkBoard &o) const
unsigned int theLinkStatNavi[MAXDCCINDEX+1][MAXRBCINDEX+1][MAXLINKINDEX+1][MAXLBINDEX+1]
std::pair< std::string, std::string > ChamberAndPartition
SynchroCounts(const unsigned int *hits)
unsigned int firstHit() const
static const unsigned int MAXLINKINDEX
void increment(unsigned int bxDiff)
const std::vector< unsigned int > & counts() const
static const unsigned int MAXLBINDEX
unsigned int mom0() const
std::vector< unsigned int > hit_paths
const std::vector< ChamberAndPartition > & chamberAndPartitions() const
std::pair< LinkBoard, SynchroCounts > BoardAndCounts
RPCLinkSynchroStat(bool useFirstHitOnly)
SynchroCounts & operator+=(const SynchroCounts &rhs)
const std::vector< LinkBoardElectronicIndex > & paths() const
std::vector< std::pair< LinkBoardElectronicIndex, int > > ProdItem
static const unsigned int MAXRBCINDEX
void set(unsigned int bxDiff)
static const unsigned int DCCINDEXSHIFT
LinkBoard(const std::string &n)
std::string print() const
bool operator<(const LinkBoard &o) const
void add(const RPCRawSynchro::ProdItem &counts, std::vector< LinkBoardElectronicIndex > &problems)
std::vector< LinkBoardElectronicIndex > theElePaths
static const unsigned int MAXDCCINDEX
int add(const ChamberAndPartition &part)
bool operator==(const SynchroCounts &) const
const std::string & name() const
std::vector< unsigned int > theCounts
std::vector< ChamberAndPartition > theChamberAndPartitions
std::vector< BoardAndCounts > theLinkStatMap