31 m_retrieveL1Extra(paramSet.getParameter<edm::
ParameterSet>(
"L1ExtraInputTags")),
32 m_dirName(paramSet.getUntrackedParameter(
"DirName", std::
string(
35 m_nrBxInEventGmt(paramSet.getParameter<int>(
"NrBxInEventGmt")),
36 m_nrBxInEventGct(paramSet.getParameter<int>(
"NrBxInEventGct")),
38 m_dbe(0), 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"
83 edm::LogInfo(
"L1ExtraDQM") <<
"\n Unable to get DQMStore service.";
109 bool isL1Coll =
true;
115 int bxInEvent = iBxInEvent + (m_nrBxInEventGmt + 1) / 2
124 isL1Coll, bxInEvent);
136 bool isL1Coll =
true;
142 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
151 isL1Coll, bxInEvent);
162 bool isL1Coll =
true;
168 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
177 isL1Coll, bxInEvent);
188 bool isL1Coll =
true;
194 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
203 isL1Coll, bxInEvent);
215 bool isL1Coll =
true;
221 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
230 isL1Coll, bxInEvent);
241 bool isL1Coll =
true;
247 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
256 isL1Coll, bxInEvent);
264 bool isL1Coll =
true;
270 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
284 bool bookEta =
false;
286 bool isL1Coll =
true;
292 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
297 isL1Coll, bxInEvent);
306 bool isL1Coll =
true;
312 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
325 bool bookEta =
false;
327 bool isL1Coll =
true;
333 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
338 isL1Coll, bxInEvent);
346 bool isL1Coll =
true;
352 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
359 isL1Coll, bxInEvent);
368 bool isL1Coll =
true;
374 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
381 isL1Coll, bxInEvent);
410 std::vector<L1GtObject> l1Obj;
417 int nrMonElements = 5;
429 int bxInEventHex = (bxInEvent+ 16) % 16;
431 std::stringstream ss;
433 ss << std::uppercase << std::hex << bxInEventHex;
434 ss >> bxInEventHexString;
438 + bxInEventHexString);
448 l1Obj.push_back(
IsoEG);
459 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
461 int bxInEventHex = (bxInEvent+ 16) % 16;
463 std::stringstream ss;
465 ss << std::uppercase << std::hex << bxInEventHex;
466 ss >> bxInEventHexString;
470 + bxInEventHexString);
490 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
492 int bxInEventHex = (bxInEvent+ 16) % 16;
494 std::stringstream ss;
496 ss << std::uppercase << std::hex << bxInEventHex;
497 ss >> bxInEventHexString;
501 + bxInEventHexString);
505 "L1_NoIsoEG", l1Obj);
521 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
523 int bxInEventHex = (bxInEvent+ 16) % 16;
525 std::stringstream ss;
527 ss << std::uppercase << std::hex << bxInEventHex;
528 ss >> bxInEventHexString;
532 + bxInEventHexString);
551 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
553 int bxInEventHex = (bxInEvent+ 16) % 16;
555 std::stringstream ss;
557 ss << std::uppercase << std::hex << bxInEventHex;
558 ss >> bxInEventHexString;
562 + bxInEventHexString);
581 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
583 int bxInEventHex = (bxInEvent+ 16) % 16;
585 std::stringstream ss;
587 ss << std::uppercase << std::hex << bxInEventHex;
588 ss >> bxInEventHexString;
592 + bxInEventHexString);
601 l1Obj.push_back(
ETT);
604 bool bookPhi =
false;
605 bool bookEta =
false;
615 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
617 int bxInEventHex = (bxInEvent+ 16) % 16;
619 std::stringstream ss;
621 ss << std::uppercase << std::hex << bxInEventHex;
622 ss >> bxInEventHexString;
626 + bxInEventHexString);
630 "L1_ETT", l1Obj, bookPhi, bookEta);
635 l1Obj.push_back(
ETM);
649 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
651 int bxInEventHex = (bxInEvent+ 16) % 16;
653 std::stringstream ss;
655 ss << std::uppercase << std::hex << bxInEventHex;
656 ss >> bxInEventHexString;
660 + bxInEventHexString);
664 "L1_ETM", l1Obj, bookPhi, bookEta);
669 l1Obj.push_back(
HTT);
683 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
685 int bxInEventHex = (bxInEvent+ 16) % 16;
687 std::stringstream ss;
689 ss << std::uppercase << std::hex << bxInEventHex;
690 ss >> bxInEventHexString;
694 + bxInEventHexString);
698 "L1_HTT", l1Obj, bookPhi, bookEta);
703 l1Obj.push_back(
HTM);
717 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
719 int bxInEventHex = (bxInEvent+ 16) % 16;
721 std::stringstream ss;
723 ss << std::uppercase << std::hex << bxInEventHex;
724 ss >> bxInEventHexString;
728 + bxInEventHexString);
732 "L1_HTM", l1Obj, bookPhi, bookEta);
747 evSetup, nrMonElements));
752 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
754 int bxInEventHex = (bxInEvent+ 16) % 16;
756 std::stringstream ss;
758 ss << std::uppercase << std::hex << bxInEventHex;
759 ss >> bxInEventHexString;
763 + bxInEventHexString);
767 m_dbe,
"L1_HfBitCounts", l1Obj, bookPhi, bookEta);
782 evSetup, nrMonElements));
787 int bxInEvent = iBxInEvent + (m_nrBxInEventGct + 1) / 2
789 int bxInEventHex = (bxInEvent+ 16) % 16;
791 std::stringstream ss;
793 ss << std::uppercase << std::hex << bxInEventHex;
794 ss >> bxInEventHexString;
798 + bxInEventHexString);
802 m_dbe,
"L1_HfRingEtSums", l1Obj, bookPhi, bookEta);
950 LogDebug(
"L1ExtraDQM") <<
"\n\n endRun: " << run.
id()
951 <<
"\n Number of events analyzed in this run: " <<
m_nrEvRun
952 <<
"\n Total number of events analyzed in this job: " <<
m_nrEvJob
953 <<
"\n" << std::endl;
960 <<
"\n\nTotal number of events analyzed in this job: " <<
m_nrEvJob
961 <<
"\n" << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
void rmdir(const std::string &fullpath)
#define DEFINE_FWK_MODULE(type)
void bookHistograms(fwlite::EventContainer &eventCont)
void setVerbose(unsigned level)
bool dirExists(const std::string &path) const
true if directory exists
void setCurrentFolder(const std::string &fullpath)