18 consumes<RPCRawSynchro::ProdItem>(
cfg.getParameter<
edm::InputTag>(
"rpcRawSynchroProdItemTag"));
30 std::unique_ptr<RPCReadOutMapping const> cabling{readoutMapping->
convert()};
32 <<
"RPCMonitorLinkSynchro - record has CHANGED!!, read map, VERSION: " << cabling->version();
46 me_delaySpread = ibooker.
book2D(
"delaySpread",
"LinkDelaySpread", 71, -3.05, 4.05, 31, -0.05, 3.05);
49 me_notComplete[0] = ibooker.
book2D(
"notComplete790",
"FED790: not All Paths hit", 36, -0.5, 35.5, 18, -0.5, 17.5);
50 me_notComplete[1] = ibooker.
book2D(
"notComplete791",
"FED791: not All Paths hit", 36, -0.5, 35.5, 18, -0.5, 17.5);
51 me_notComplete[2] = ibooker.
book2D(
"notComplete792",
"FED792: not All Paths hit", 36, -0.5, 35.5, 18, -0.5, 17.5);
52 for (
unsigned int i = 0;
i < 3; ++
i) {
59 me_topOccup = ibooker.
book2D(
"topOccup",
"Top10 LinkBoard occupancy", 8, -0.5, 7.5, 10, 0., 10.);
60 me_topSpread = ibooker.
book2D(
"topSpread",
"Top10 LinkBoard delay spread", 8, -0.5, 7.5, 10, 0., 10.);
70 std::vector<LinkBoardElectronicIndex>
problems;
74 for (std::vector<LinkBoardElectronicIndex>::const_iterator it =
problems.begin(); it !=
problems.end(); ++it) {
void init(const RPCReadOutMapping *theCabling, bool addChamberInfo)
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * me_topOccup
T const * product() const
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< RPCEMap, RPCEMapRcd > rpcEMapToken_
RPCMonitorLinkSynchro(const edm::ParameterSet &cfg)
MonitorElement * me_topSpread
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
RPCLinkSynchroStat theSynchroStat
virtual const RPCRawSynchro::ProdItem & select(const RPCRawSynchro::ProdItem &v, const edm::Event &, const edm::EventSetup &)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * me_delaySpread
edm::ESWatcher< RPCEMapRcd > theCablingWatcher
RPCReadOutMapping const * convert() const
std::vector< std::pair< LinkBoardElectronicIndex, int > > ProdItem
edm::EDGetTokenT< RPCRawSynchro::ProdItem > rpcRawSynchroProdItemTag_
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
void fill(TH1F *hDelay, TH2F *hDelaySpread, TH2F *hTopOccup, TH2F *hTopSpread) const
MonitorElement * me_notComplete[3]
Log< level::Info, false > LogInfo
void add(const RPCRawSynchro::ProdItem &counts, std::vector< LinkBoardElectronicIndex > &problems)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
edm::ParameterSet theConfig
bool check(const edm::EventSetup &iSetup)
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * me_delaySummary
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)