31 m_retrieveL1Extra(paramSet.getParameter<edm::
ParameterSet>(
"L1ExtraInputTags"),consumesCollector()),
32 m_dirName(paramSet.getUntrackedParameter(
"DirName", std::
string(
35 m_nrBxInEventGmt(paramSet.getParameter<int>(
"NrBxInEventGmt")),
36 m_nrBxInEventGct(paramSet.getParameter<int>(
"NrBxInEventGct")),
38 m_resetModule(
true), m_currentRun(-99),
51 <<
"\nWARNING: Number of bunch crossing to be monitored for GMT rounded to: "
53 <<
"\n The number must be an odd number!\n"
61 <<
"\nWARNING: Number of bunch crossing to be monitored for GCT rounded to: "
63 <<
"\n The number must be an odd number!\n"
102 int bxInEvent = iBxInEvent + (m_nrBxInEventGmt + 1) / 2
111 isL1Coll, bxInEvent);
123 bool isL1Coll =
true;
129 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
138 isL1Coll, bxInEvent);
149 bool isL1Coll =
true;
155 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
164 isL1Coll, bxInEvent);
175 bool isL1Coll =
true;
181 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
190 isL1Coll, bxInEvent);
202 bool isL1Coll =
true;
208 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
217 isL1Coll, bxInEvent);
228 bool isL1Coll =
true;
234 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
243 isL1Coll, bxInEvent);
251 bool isL1Coll =
true;
257 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
271 bool bookEta =
false;
273 bool isL1Coll =
true;
279 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
284 isL1Coll, bxInEvent);
293 bool isL1Coll =
true;
299 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
312 bool bookEta =
false;
314 bool isL1Coll =
true;
320 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
325 isL1Coll, bxInEvent);
333 bool isL1Coll =
true;
339 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
346 isL1Coll, bxInEvent);
355 bool isL1Coll =
true;
361 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
368 isL1Coll, bxInEvent);
386 std::vector<L1GtObject> l1Obj;
394 int nrMonElements = 5;
404 int bxInEventHex = (bxInEvent+ 16) % 16;
406 std::stringstream
ss;
408 ss << std::uppercase << std::hex << bxInEventHex;
409 ss >> bxInEventHexString;
419 l1Obj.push_back(
IsoEG);
429 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
430 int bxInEventHex = (bxInEvent+ 16) % 16;
432 std::stringstream
ss;
434 ss << std::uppercase << std::hex << bxInEventHex;
435 ss >> bxInEventHexString;
454 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
455 int bxInEventHex = (bxInEvent+ 16) % 16;
457 std::stringstream
ss;
459 ss << std::uppercase << std::hex << bxInEventHex;
460 ss >> bxInEventHexString;
481 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
482 int bxInEventHex = (bxInEvent+ 16) % 16;
484 std::stringstream
ss;
486 ss << std::uppercase << std::hex << bxInEventHex;
487 ss >> bxInEventHexString;
505 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
506 int bxInEventHex = (bxInEvent+ 16) % 16;
508 std::stringstream
ss;
510 ss << std::uppercase << std::hex << bxInEventHex;
511 ss >> bxInEventHexString;
529 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
530 int bxInEventHex = (bxInEvent+ 16) % 16;
532 std::stringstream
ss;
534 ss << std::uppercase << std::hex << bxInEventHex;
535 ss >> bxInEventHexString;
544 l1Obj.push_back(
ETT);
547 bool bookPhi =
false;
548 bool bookEta =
false;
557 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
558 int bxInEventHex = (bxInEvent+ 16) % 16;
560 std::stringstream
ss;
562 ss << std::uppercase << std::hex << bxInEventHex;
563 ss >> bxInEventHexString;
567 (
m_meAnalysisL1ExtraETT.at(iBxInEvent))->bookhistograms(evSetup, ibooker,
"L1_ETT", l1Obj, bookPhi, bookEta);
572 l1Obj.push_back(
ETM);
585 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
586 int bxInEventHex = (bxInEvent+ 16) % 16;
588 std::stringstream
ss;
590 ss << std::uppercase << std::hex << bxInEventHex;
591 ss >> bxInEventHexString;
595 (
m_meAnalysisL1ExtraETM.at(iBxInEvent))->bookhistograms(evSetup, ibooker,
"L1_ETM", l1Obj, bookPhi, bookEta);
600 l1Obj.push_back(
HTT);
613 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
614 int bxInEventHex = (bxInEvent+ 16) % 16;
616 std::stringstream
ss;
618 ss << std::uppercase << std::hex << bxInEventHex;
619 ss >> bxInEventHexString;
623 (
m_meAnalysisL1ExtraHTT.at(iBxInEvent))->bookhistograms(evSetup, ibooker,
"L1_HTT", l1Obj, bookPhi, bookEta);
628 l1Obj.push_back(
HTM);
641 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
642 int bxInEventHex = (bxInEvent+ 16) % 16;
644 std::stringstream
ss;
646 ss << std::uppercase << std::hex << bxInEventHex;
647 ss >> bxInEventHexString;
651 (
m_meAnalysisL1ExtraHTM.at(iBxInEvent))->bookhistograms(evSetup, ibooker,
"L1_HTM", l1Obj, bookPhi, bookEta);
670 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2 - m_nrBxInEventGct;
671 int bxInEventHex = (bxInEvent+ 16) % 16;
673 std::stringstream
ss;
675 ss << std::uppercase << std::hex << bxInEventHex;
676 ss >> bxInEventHexString;
695 evSetup, nrMonElements));
700 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
702 int bxInEventHex = (bxInEvent+ 16) % 16;
704 std::stringstream
ss;
706 ss << std::uppercase << std::hex << bxInEventHex;
707 ss >> bxInEventHexString;
859 LogDebug(
"L1ExtraDQM") <<
"\n\n endRun: " << run.
id()
860 <<
"\n Number of events analyzed in this run: " <<
m_nrEvRun
861 <<
"\n Total number of events analyzed in this job: " <<
m_nrEvJob
862 <<
"\n" << std::endl;
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(const std::string &fullpath)