1 #ifndef DQM_RPCMonitorClient_RPCLinkSynchroStat_H
2 #define DQM_RPCMonitorClient_RPCLinkSynchroStat_H
23 void add(
const std::string & lbName,
const unsigned int *hits);
52 void set(
unsigned int bxDiff);
57 unsigned int sum()
const {
return mom0(); }
59 std::string
print()
const;
64 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]
SynchroCounts(const unsigned int *hits)
unsigned int firstHit() const
std::vector< std::pair< LinkBoardElectronicIndex, int > > ProdItem
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
static const unsigned int MAXRBCINDEX
void set(unsigned int bxDiff)
std::pair< std::string, std::string > ChamberAndPartition
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