|
|
Go to the documentation of this file.
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) {
bool check(const edm::EventSetup &iSetup)
T const * product() const
RPCLinkSynchroStat theSynchroStat
RPCReadOutMapping const * convert() const
virtual void setCurrentFolder(std::string const &fullpath)
void init(const RPCReadOutMapping *theCabling, bool addChamberInfo)
MonitorElement * me_topSpread
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
MonitorElement * me_topOccup
MonitorElement * me_delaySpread
RPCMonitorLinkSynchro(const edm::ParameterSet &cfg)
void fill(TH1F *hDelay, TH2F *hDelaySpread, TH2F *hTopOccup, TH2F *hTopSpread) const
edm::EDGetTokenT< RPCRawSynchro::ProdItem > rpcRawSynchroProdItemTag_
edm::ESWatcher< RPCEMapRcd > theCablingWatcher
void add(const RPCRawSynchro::ProdItem &counts, std::vector< LinkBoardElectronicIndex > &problems)
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * me_notComplete[3]
edm::ESGetToken< RPCEMap, RPCEMapRcd > rpcEMapToken_
std::vector< std::pair< LinkBoardElectronicIndex, int > > ProdItem
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
edm::ParameterSet theConfig
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * me_delaySummary
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
virtual const RPCRawSynchro::ProdItem & select(const RPCRawSynchro::ProdItem &v, const edm::Event &, const edm::EventSetup &)
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())