61 : monitorDir_(ps.getUntrackedParameter<
std::
string>(
"monitorDir",
"")),
62 gctCenJetsSource_(ps.getParameter<
edm::
InputTag>(
"gctCentralJetsSource")),
63 gctForJetsSource_(ps.getParameter<
edm::
InputTag>(
"gctForwardJetsSource")),
64 gctTauJetsSource_(ps.getParameter<
edm::
InputTag>(
"gctTauJetsSource")),
65 gctIsoTauJetsSource_(ps.getParameter<
edm::
InputTag>(
"gctIsoTauJetsSource")),
66 gctEnergySumsSource_(ps.getParameter<
edm::
InputTag>(
"gctEnergySumsSource")),
67 gctIsoEmSource_(ps.getParameter<
edm::
InputTag>(
"gctIsoEmSource")),
68 gctNonIsoEmSource_(ps.getParameter<
edm::
InputTag>(
"gctNonIsoEmSource")),
69 m_stage1_layer2_(ps.getParameter<
bool>(
"stage1_layer2_")),
70 filterTriggerType_(ps.getParameter<
int>(
"filterTriggerType")) {
75 edm::LogInfo(
"L1TGCT") <<
"L1TGCT: constructor...." << std::endl;
131 "CENTRAL AND FORWARD JET OCCUPANCY",
238 "MET MHT #phi CORRELATION",
260 edm::LogInfo(
"L1TGCT") <<
"L1TGCT: analyze...." << std::endl;
276 double triggerType =
static_cast<double>(
e.experimentType()) + 0.001;
277 double triggerTypeLast =
static_cast<double>(edm::EventAuxiliary::ExperimentType::ErrorTrigger) + 0.001;
284 if (
e.isRealData()) {
286 edm::LogInfo(
"L1TGCT") <<
"\n Event of TriggerType " <<
e.experimentType() <<
" rejected" << std::endl;
325 for (L1GctJetCandCollection::const_iterator cj = l1CenJets->begin(); cj != l1CenJets->end(); cj++) {
346 for (L1GctJetCandCollection::const_iterator fj = l1ForJets->begin(); fj != l1ForJets->end(); fj++) {
367 for (L1GctJetCandCollection::const_iterator tj = l1TauJets->begin(); tj != l1TauJets->end(); tj++) {
389 for (L1GctJetCandCollection::const_iterator itj = l1IsoTauJets->begin(); itj != l1IsoTauJets->end(); itj++) {
391 if (itj->bx() == 0) {
409 for (L1GctEtMissCollection::const_iterator
met = l1EtMiss->begin();
met != l1EtMiss->end();
met++) {
411 if (
met->bx() == 0) {
412 if (
met->overFlow() == 0 &&
met->et() > 0) {
419 if (
met->overFlow() == 0 &&
met->et() > 0)
428 for (L1GctHtMissCollection::const_iterator
mht = l1HtMiss->begin();
mht != l1HtMiss->end();
mht++) {
430 if (
mht->bx() == 0) {
431 if (
mht->overFlow() == 0 &&
mht->et() > 0) {
438 if (
mht->overFlow() == 0 &&
mht->et() > 0)
447 if (l1HtMiss->size() == l1EtMiss->size()) {
448 for (
unsigned i = 0;
i < l1HtMiss->size();
i++) {
449 if (l1HtMiss->at(
i).overFlow() == 0 && l1EtMiss->at(
i).overFlow() == 0 && l1HtMiss->at(
i).bx() == 0 &&
450 l1EtMiss->at(
i).bx() == 0) {
453 if (l1HtMiss->at(
i).et() && l1EtMiss->at(
i).et()) {
465 for (L1GctEtHadCollection::const_iterator ht = l1EtHad->begin(); ht != l1EtHad->end(); ht++) {
479 for (L1GctEtTotalCollection::const_iterator
et = l1EtTotal->begin();
et != l1EtTotal->end();
et++) {
493 if (l1EtTotal->size() == l1EtHad->size()) {
494 for (
unsigned i = 0;
i < l1EtHad->size();
i++) {
495 if (l1EtHad->at(
i).overFlow() == 0 && l1EtTotal->at(
i).overFlow() == 0 && l1EtHad->at(
i).bx() == 0 &&
496 l1EtTotal->at(
i).bx() == 0) {
508 for (L1GctHFRingEtSumsCollection::const_iterator hfs = l1HFSums->begin(); hfs != l1HFSums->end(); hfs++) {
510 if (hfs->bx() == 0) {
517 if (hfs->etSum(2) != 0)
519 if (hfs->etSum(3) != 0)
526 for (
unsigned i = 0;
i < 4;
i++) {
536 for (L1GctHFBitCountsCollection::const_iterator hfc = l1HFCounts->begin(); hfc != l1HFCounts->end(); hfc++) {
538 if (hfc->bx() == 0) {
549 for (
unsigned i = 0;
i < 4;
i++) {
559 for (L1GctEmCandCollection::const_iterator ie = l1IsoEm->begin(); ie != l1IsoEm->end(); ie++) {
578 for (L1GctEmCandCollection::const_iterator
ne = l1NonIsoEm->begin();
ne != l1NonIsoEm->end();
ne++) {
594 edm::LogInfo(
"L1TGCT") <<
"L1TGCT: end job...." << std::endl;
const unsigned int BXBINS
MonitorElement * l1GctHtMiss_
MonitorElement * l1GctEtHad_
MonitorElement * l1GctHtMissPhi_
const unsigned int OFBINS
T getParameter(std::string const &) const
edm::InputTag gctEnergySumsSource_
MonitorElement * l1GctHFRing2TowerCountNegEta_
MonitorElement * l1GctEtMissOccBx_
MonitorElement * l1GctCenJetsRank_
MonitorElement * l1GctHFRing1ETSumNegEta_
MonitorElement * l1GctEtTotalEtHadCorr_
MonitorElement * l1GctHFRing1TowerCountPosEta_
const unsigned int EMETABINS
MonitorElement * l1GctTauJetsEtEtaPhi_
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * l1GctHFRingETSumOccBx_
MonitorElement * l1GctNonIsoEmRank_
const unsigned int MHTPHIBINS
MonitorElement * l1GctEtMiss_
MonitorElement * l1GctHFRing2ETSumNegEta_
MonitorElement * l1GctAllEmOccRankBx_
edm::EDGetTokenT< L1GctJetCandCollection > gctCenJetsSourceToken_
MonitorElement * l1GctEtTotal_
MonitorElement * l1GctHtMissOf_
edm::EDGetTokenT< L1GctHtMissCollection > l1HtMissToken_
MonitorElement * l1GctIsoTauJetsEtEtaPhi_
MonitorElement * l1GctEtHadOccBx_
MonitorElement * l1GctEtTotalOccBx_
edm::InputTag gctIsoTauJetsSource_
edm::EDGetTokenT< L1GctEtTotalCollection > l1EtTotalToken_
MonitorElement * l1GctHFRingTowerCountOccBx_
MonitorElement * l1GctForJetsRank_
MonitorElement * l1GctTauJetsRank_
MonitorElement * l1GctHFRing2ETSumPosEta_
edm::InputTag gctCenJetsSource_
T getUntrackedParameter(std::string const &, T const &) const
const unsigned int R6BINS
L1TGCT(const edm::ParameterSet &ps)
MonitorElement * l1GctEtMissPhi_
MonitorElement * l1GctCenJetsEtEtaPhi_
edm::InputTag gctTauJetsSource_
edm::EDGetTokenT< L1GctEmCandCollection > gctIsoEmSourceToken_
MonitorElement * l1GctAllJetsEtEtaPhi_
MonitorElement * l1GctHFRing1ETSumPosEta_
edm::EDGetTokenT< L1GctJetCandCollection > gctTauJetsSourceToken_
const unsigned int R3BINS
edm::EDGetTokenT< L1GctHFBitCountsCollection > l1HFCountsToken_
MonitorElement * l1GctHFRingRatioNegEta_
MonitorElement * l1GctCenJetsOccEtaPhi_
MonitorElement * l1GctIsoTauJetsRank_
MonitorElement * l1GctEtMissOf_
const unsigned int PHIBINS
MonitorElement * l1GctForJetsEtEtaPhi_
const unsigned int JETETABINS
MonitorElement * l1GctIsoEmRank_
MonitorElement * l1GctHtMissOccBx_
edm::EDGetTokenT< L1GctEmCandCollection > gctNonIsoEmSourceToken_
MonitorElement * l1GctHFRing2TowerCountPosEta_
edm::EDGetTokenT< L1GctEtHadCollection > l1EtHadToken_
MonitorElement * l1GctHFRing2TowerCountPosEtaNegEta_
edm::InputTag gctIsoEmSource_
MonitorElement * triggerType_
MonitorElement * l1GctEtMissHtMissCorrPhi_
MonitorElement * l1GctNonIsoEmOccEtaPhi_
Log< level::Info, false > LogInfo
const unsigned int R7BINS
edm::InputTag gctForJetsSource_
MonitorElement * l1GctNonIsoEmRankEtaPhi_
MonitorElement * l1GctIsoTauJetsOccEtaPhi_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
bool m_stage1_layer2_
filter TriggerType
MonitorElement * l1GctHFRing1PosEtaNegEta_
const unsigned int R12BINS
const unsigned int R5BINS
edm::EDGetTokenT< L1GctHFRingEtSumsCollection > gctEnergySumsSourceToken_
MonitorElement * l1GctAllJetsOccEtaPhi_
edm::EDGetTokenT< L1GctJetCandCollection > gctIsoTauJetsSourceToken_
MonitorElement * l1GctHFRingRatioPosEta_
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
MonitorElement * l1GctIsoEmRankEtaPhi_
MonitorElement * l1GctHFRing1TowerCountPosEtaNegEta_
edm::EDGetTokenT< L1GctJetCandCollection > gctForJetsSourceToken_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * l1GctEtHadOf_
MonitorElement * l1GctForJetsOccEtaPhi_
Log< level::Warning, false > LogWarning
MonitorElement * l1GctHFRing1TowerCountNegEta_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
edm::EDGetTokenT< L1GctEtMissCollection > l1EtMissToken_
MonitorElement * l1GctEtTotalOf_
MonitorElement * l1GctAllJetsOccRankBx_
MonitorElement * l1GctEtMissHtMissCorr_
MonitorElement * l1GctHFRing2PosEtaNegEta_
const unsigned int METPHIBINS
edm::InputTag gctNonIsoEmSource_
MonitorElement * l1GctTauJetsOccEtaPhi_
MonitorElement * l1GctIsoEmOccEtaPhi_