1 #ifndef DQM_RPCMonitorClient_RPCLinkSynchroStat_H 2 #define DQM_RPCMonitorClient_RPCLinkSynchroStat_H 34 int add(
const ChamberAndPartition &
part);
51 void increment(
unsigned int bxDiff);
52 void set(
unsigned int bxDiff);
53 unsigned int firstHit()
const;
57 unsigned int sum()
const {
return mom0(); }
60 const std::vector<unsigned int> &
counts()
const {
return theCounts; }
64 unsigned int mom0()
const;
70 struct LessLinkName {
bool operator()(
const BoardAndCounts &
o1,
const BoardAndCounts & o2); };
71 struct LessCountSum {
bool operator()(
const BoardAndCounts &
o1,
const BoardAndCounts & o2); };
81 unsigned int theLinkStatNavi[MAXDCCINDEX+1][MAXRBCINDEX+1][MAXLINKINDEX+1][MAXLBINDEX+1];
void init(const RPCReadOutMapping *theCabling, bool addChamberInfo)
virtual ~RPCLinkSynchroStat()
bool operator==(const LinkBoard &o) const
unsigned int theLinkStatNavi[MAXDCCINDEX+1][MAXRBCINDEX+1][MAXLINKINDEX+1][MAXLBINDEX+1]
SynchroCounts(const unsigned int *hits)
static const unsigned int MAXLINKINDEX
const std::vector< unsigned int > & counts() const
static const unsigned int MAXLBINDEX
S & print(S &os, JobReport::InputFile const &f)
const std::vector< ChamberAndPartition > & chamberAndPartitions() const
std::pair< LinkBoard, SynchroCounts > BoardAndCounts
RPCLinkSynchroStat(bool useFirstHitOnly)
const std::vector< LinkBoardElectronicIndex > & paths() const
std::vector< std::pair< LinkBoardElectronicIndex, int > > ProdItem
static const unsigned int MAXRBCINDEX
std::pair< std::string, std::string > ChamberAndPartition
static const unsigned int DCCINDEXSHIFT
LinkBoard(const std::string &n)
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)
const std::string & name() const
std::vector< unsigned int > theCounts
std::vector< ChamberAndPartition > theChamberAndPartitions
std::vector< BoardAndCounts > theLinkStatMap
Basic3DVector & operator+=(const Basic3DVector< U > &p)