25 gtCollection_ = consumes<L1GlobalTriggerReadoutRecord>(parameters_.getUntrackedParameter<
std::string>(
"gtCollection",
"gtDigis"));
26 dcsStatusCollection_ = consumes<DcsStatusCollection>(parameters_.getUntrackedParameter<
std::string>(
"dcsStatusCollection",
"scalersRawToDigi"));
27 l1tscollectionToken_ = consumes<Level1TriggerScalersCollection>(parameters_.getUntrackedParameter<
std::string>(
"l1TSCollection",
"scalersRawToDigi"));
41 const int fracLS = 16;
42 const int maxLS = 250;
43 hlresync_ = ibooker.
book1D(
"lresync",
"Orbit of last resync",fracLS*maxLS,0,maxLS*262144);
44 hlOC0_ = ibooker.
book1D(
"lOC0",
"Orbit of last OC0",fracLS*maxLS,0,maxLS*262144);
45 hlTE_ = ibooker.
book1D(
"lTE",
"Orbit of last TestEnable",fracLS*maxLS,0,maxLS*262144);
46 hlstart_ = ibooker.
book1D(
"lstart",
"Orbit of last Start",fracLS*maxLS,0,maxLS*262144);
47 hlEC0_ = ibooker.
book1D(
"lEC0",
"Orbit of last EC0",fracLS*maxLS,0,maxLS*262144);
48 hlHR_ = ibooker.
book1D(
"lHR",
"Orbit of last HardReset",fracLS*maxLS,0,maxLS*262144);
61 if(l1ts->size()==0)
return;
62 hlresync_->Fill((*l1ts)[0].lastResync());
63 hlOC0_->Fill((*l1ts)[0].lastOrbitCounter0());
64 hlTE_->Fill((*l1ts)[0].lastTestEnable());
65 hlstart_->Fill((*l1ts)[0].lastStart());
66 hlEC0_->Fill((*l1ts)[0].lastEventCounter0());
67 hlHR_->Fill((*l1ts)[0].lastHardReset());
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void makeL1Scalars(const edm::Event &e)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * book1D(Args &&...args)
DQMScalInfo(const edm::ParameterSet &ps)
Constructor.
virtual ~DQMScalInfo()
Destructor.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
void setCurrentFolder(const std::string &fullpath)