304 : doRCT_(iConfig.getUntrackedParameter<
bool>(
"doRCT",
true)),
305 doEg_(iConfig.getUntrackedParameter<
bool>(
"doEg",
true)),
306 doIsoDebug_(iConfig.getUntrackedParameter<
bool>(
"doIsoDebug",
true)),
307 doNonIsoDebug_(iConfig.getUntrackedParameter<
bool>(
"doNonIsoDebug",
true)),
308 doJets_(iConfig.getUntrackedParameter<
bool>(
"doJets",
true)),
309 doCenJetsDebug_(iConfig.getUntrackedParameter<
bool>(
"doCenJetsDebug",
true)),
310 doTauJetsDebug_(iConfig.getUntrackedParameter<
bool>(
"doTauJetsDebug",
true)),
311 doForJetsDebug_(iConfig.getUntrackedParameter<
bool>(
"doForJetsDebug",
true)),
312 doHF_(iConfig.getUntrackedParameter<
bool>(
"doHF",
true)),
313 doRingSumDebug_(iConfig.getUntrackedParameter<
bool>(
"doRingSumDebug",
true)),
314 doBitCountDebug_(iConfig.getUntrackedParameter<
bool>(
"doBitCountDebug",
true)),
315 doTotalEnergySums_(iConfig.getUntrackedParameter<
bool>(
"doTotalEnergySums",
true)),
316 doTotalEtDebug_(iConfig.getUntrackedParameter<
bool>(
"doTotalEtDebug",
true)),
317 doTotalHtDebug_(iConfig.getUntrackedParameter<
bool>(
"doTotalHtDebug",
true)),
318 doMissingEnergySums_(iConfig.getUntrackedParameter<
bool>(
"doMissingEnergySums",
true)),
319 doMissingETDebug_(iConfig.getUntrackedParameter<
bool>(
"doMissingETDebug",
true)),
320 doMissingHTDebug_(iConfig.getUntrackedParameter<
bool>(
"doMissingHTDebug",
true)),
321 doExtraMissingHTDebug_(iConfig.getUntrackedParameter<
bool>(
"doExtraMissingHTDebug",
false)),
322 doRCTMBx_(iConfig.getUntrackedParameter<
bool>(
"doRCTMBx",
false)),
323 doEmuMBx_(iConfig.getUntrackedParameter<
bool>(
"doEmuMBx",
false)),
324 doGCTMBx_(iConfig.getUntrackedParameter<
bool>(
"doGCTMBx",
false)),
325 RCTTrigBx_(iConfig.getUntrackedParameter<
int>(
"RCTTrigBx", 0)),
326 EmuTrigBx_(iConfig.getUntrackedParameter<
int>(
"EmuTrigBx", 0)),
327 GCTTrigBx_(iConfig.getUntrackedParameter<
int>(
"GCTTrigBx", 0)),
330 useSys_(iConfig.getUntrackedParameter<
std::
string>(
"useSys",
"P5")) {
337 std::vector<std::string> quantities;
338 quantities.push_back(
"IsoEm");
339 quantities.push_back(
"NonIsoEM");
340 quantities.push_back(
"CenJets");
341 quantities.push_back(
"TauJets");
342 quantities.push_back(
"ForJets");
343 quantities.push_back(
"HFRingSums");
344 quantities.push_back(
"HFBitCounts");
345 quantities.push_back(
"TotalESums");
346 quantities.push_back(
"MissingESums");
350 std::vector<TFileDirectory> emuHistCat;
354 std::vector<TFileDirectory> dataHistCat;
362 for (
unsigned int i = 0;
i < quantities.size();
i++) {
364 emuHistCat.push_back(emuHist.
mkdir(quantities.at(
i)));
365 dataHistCat.push_back(dataHist.
mkdir(quantities.at(
i)));
369 dataHistCat.push_back(dataHist.
mkdir(
"RCTRegions"));
371 emuHistCat.push_back(emuHist.
mkdir(
"IntJets"));
382 "RCT_EtEtaPhi",
"RCT_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
384 "RCT_TvEtaPhi",
"RCT_TvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
386 "RCT_FgEtaPhi",
"RCT_FgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
388 "RCT_OfEtEtaPhi",
"RCT_OfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
390 isoEgD_Rank_ = dataHistCat.at(0).make<TH1I>(
"isoEgD_Rank",
"isoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
391 isoEgE_Rank_ = emuHistCat.at(0).make<TH1I>(
"isoEgE_Rank",
"isoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
393 "isoEgD_EtEtaPhi",
"isoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
395 "isoEgE_EtEtaPhi",
"isoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
397 "isoEgD_OccEtaPhi",
"isoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
399 "isoEgE_OccEtaPhi",
"isoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
401 errorHistFlags.
make<TH1I>(
"isoEg_errorFlag",
"isoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
404 "isoEgD_GlobalError_Rank",
"isoEgD_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
406 "isoEgE_GlobalError_Rank",
"isoEgE_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
408 "isoEgD_GlobalError_EtEtaPhi",
"isoEgD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
410 "isoEgE_GlobalError_EtEtaPhi",
"isoEgE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
413 dataHistCat.at(1).make<TH1I>(
"nonIsoEgD_Rank",
"nonIsoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
415 emuHistCat.at(1).make<TH1I>(
"nonIsoEgE_Rank",
"nonIsoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
417 "nonIsoEgD_EtEtaPhi",
"nonIsoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
419 "nonIsoEgE_EtEtaPhi",
"nonIsoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
421 "nonIsoEgD_OccEtaPhi",
"nonIsoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
423 "nonIsoEgE_OccEtaPhi",
"nonIsoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
425 errorHistFlags.
make<TH1I>(
"nonIsoEg_errorFlag",
"nonIsoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
428 "nonIsoEgD_GlobalError_Rank",
"nonIsoEgD_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
430 "nonIsoEgE_GlobalError_Rank",
"nonIsoEgE_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
432 "nonIsoEgD_GlobalError_EtEtaPhi",
"nonIsoEgD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
434 "nonIsoEgE_GlobalError_EtEtaPhi",
"nonIsoEgE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
436 cenJetD_Rank_ = dataHistCat.at(2).make<TH1I>(
"cenJetD_Rank",
"cenJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
437 cenJetE_Rank_ = emuHistCat.at(2).make<TH1I>(
"cenJetE_Rank",
"cenJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
439 "cenJetD_EtEtaPhi",
"cenJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
441 "cenJetE_EtEtaPhi",
"cenJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
443 "cenJetD_OccEtaPhi",
"cenJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
445 "cenJetE_OccEtaPhi",
"cenJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
447 errorHistFlags.
make<TH1I>(
"cenJet_errorFlag",
"cenJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
450 errorHistCat.at(1).make<TH1I>(
"cenJetD_GlobalError_Rank",
"cenJetD_GlobalError_Rank", 64, -0.5, 63.5);
452 errorHistCat.at(1).make<TH1I>(
"cenJetE_GlobalError_Rank",
"cenJetE_GlobalError_Rank", 64, -0.5, 63.5);
454 "cenJetD_GlobalError_EtEtaPhi",
"cenJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
456 "cenJetE_GlobalError_EtEtaPhi",
"cenJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
458 tauJetD_Rank_ = dataHistCat.at(3).make<TH1I>(
"tauJetD_Rank",
"tauJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
459 tauJetE_Rank_ = emuHistCat.at(3).make<TH1I>(
"tauJetE_Rank",
"tauJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
461 "tauJetD_EtEtaPhi",
"tauJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
463 "tauJetE_EtEtaPhi",
"tauJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
465 "tauJetD_OccEtaPhi",
"tauJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
467 "tauJetE_OccEtaPhi",
"tauJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
469 errorHistFlags.
make<TH1I>(
"tauJet_errorFlag",
"tauJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
472 errorHistCat.at(1).make<TH1I>(
"tauJetD_GlobalError_Rank",
"tauJetD_GlobalError_Rank", 64, -0.5, 63.5);
474 errorHistCat.at(1).make<TH1I>(
"tauJetE_GlobalError_Rank",
"tauJetE_GlobalError_Rank", 64, -0.5, 63.5);
476 "tauJetD_GlobalError_EtEtaPhi",
"tauJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
478 "tauJetE_GlobalError_EtEtaPhi",
"tauJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
480 forJetD_Rank_ = dataHistCat.at(4).make<TH1I>(
"forJetD_Rank",
"forJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
481 forJetE_Rank_ = emuHistCat.at(4).make<TH1I>(
"forJetE_Rank",
"forJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
483 "forJetD_EtEtaPhi",
"forJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
485 "forJetE_EtEtaPhi",
"forJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
487 "forJetD_OccEtaPhi",
"forJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
489 "forJetE_OccEtaPhi",
"forJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
491 errorHistFlags.
make<TH1I>(
"forJet_errorFlag",
"forJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
494 errorHistCat.at(1).make<TH1I>(
"forJetD_GlobalError_Rank",
"forJetD_GlobalError_Rank", 64, -0.5, 63.5);
496 errorHistCat.at(1).make<TH1I>(
"forJetE_GlobalError_Rank",
"forJetE_GlobalError_Rank", 64, -0.5, 63.5);
498 "forJetD_GlobalError_EtEtaPhi",
"forJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
500 "forJetE_GlobalError_EtEtaPhi",
"forJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
503 "intJetEtEtaPhiE_",
"intJetEtEtaPhiE_;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
504 intJetE_Et_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Et",
"intJetE_Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
506 emuHistCat.at(9).make<TH1I>(
"intJetE_Of",
"intJetE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
508 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet1Et",
"intJetE_Jet1Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
510 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet2Et",
"intJetE_Jet2Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
512 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet3Et",
"intJetE_Jet3Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
514 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet4Et",
"intJetE_Jet4Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
516 hfRingSumD_1pos_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_1+",
"hfRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
517 hfRingSumD_1neg_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_1-",
"hfRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
518 hfRingSumD_2pos_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_2+",
"hfRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
519 hfRingSumD_2neg_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_2-",
"hfRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
520 hfRingSumE_1pos_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_1+",
"hfRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
521 hfRingSumE_1neg_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_1-",
"hfRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
522 hfRingSumE_2pos_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_2+",
"hfRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
523 hfRingSumE_2neg_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_2-",
"hfRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
525 errorHistFlags.
make<TH1I>(
"hfRingSum_errorFlag",
"hfRingSum_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
528 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_1+",
"hfBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
530 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_1-",
"hfBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
532 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_2+",
"hfBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
534 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_2-",
"hfBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
536 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_1+",
"hfBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
538 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_1-",
"hfBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
540 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_2+",
"hfBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
542 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_2-",
"hfBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
544 "hfBitCount_errorFlag",
"hfBitCount_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
546 totalEtD_ = dataHistCat.at(7).make<TH1I>(
"totalEtD",
"totalEtD;E_{T};Number of Events", 2048, -0.5, 2047.5);
548 dataHistCat.at(7).make<TH1I>(
"totalEtD_Of",
"totalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
549 totalEtE_ = emuHistCat.at(7).make<TH1I>(
"totalEtE",
"totalEtE;E_{T};Number of Events", 2048, -0.5, 2047.5);
551 emuHistCat.at(7).make<TH1I>(
"totalEtE_Of",
"totalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
553 errorHistFlags.
make<TH1I>(
"totalEt_errorFlag",
"totalEt_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
560 totalHtD_ = dataHistCat.at(7).make<TH1I>(
"totalHtD",
"totalHtD;H_{T};Number of Events", 2048, -0.5, 2047.5);
562 dataHistCat.at(7).make<TH1I>(
"totalHtD_Of",
"totalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
563 totalHtE_ = emuHistCat.at(7).make<TH1I>(
"totalHtE",
"totalHtE;H_{T};Number of Events", 2048, -0.5, 2047.5);
565 emuHistCat.at(7).make<TH1I>(
"totalHtE_Of",
"totalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
567 errorHistFlags.
make<TH1I>(
"totalHt_errorFlag",
"totalHt_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
575 dataHistCat.at(8).make<TH1I>(
"missingEtD",
"missingEtD;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
577 dataHistCat.at(8).make<TH1I>(
"missingEtD_Of",
"missingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
579 "missingEtD_Phi",
"missingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
581 emuHistCat.at(8).make<TH1I>(
"missingEtE",
"missingEtE;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
583 emuHistCat.at(8).make<TH1I>(
"missingEtE_Of",
"missingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
585 "missingEtE_Phi",
"missingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
587 errorHistFlags.
make<TH1I>(
"missingEt_errorFlag",
"missingEt_errorFlag;Status;Number of Candidates", 4, -0.5, 3.5);
590 dataHistCat.at(8).make<TH1I>(
"missingHtD",
"missingHtD;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
592 dataHistCat.at(8).make<TH1I>(
"missingHtD_Of",
"missingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
594 "missingHtD_Phi",
"missingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
596 emuHistCat.at(8).make<TH1I>(
"missingHtE",
"missingHtE;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
598 emuHistCat.at(8).make<TH1I>(
"missingHtE_Of",
"missingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
600 "missingHtE_Phi",
"missingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
602 errorHistFlags.
make<TH1I>(
"missingHt_errorFlag",
"missingHt_errorFlag;Status;Number of Candidates", 4, -0.5, 3.5);
605 "missingHtD_HtXPosLeaf1",
"missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
607 "missingHtD_HtXPosLeaf2",
"missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
609 "missingHtD_HtXPosLeaf3",
"missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
611 "missingHtD_HtXNegLeaf1",
"missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
613 "missingHtD_HtXNegLeaf2",
"missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
615 "missingHtD_HtXNegLeaf3",
"missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
618 "missingHtD_HtYPosLeaf1",
"missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
620 "missingHtD_HtYPosLeaf2",
"missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
622 "missingHtD_HtYPosLeaf3",
"missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
624 "missingHtD_HtYNegLeaf1",
"missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
626 "missingHtD_HtYNegLeaf2",
"missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
628 "missingHtD_HtYNegLeaf3",
"missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
632 std::vector<std::string> errorFlagLabels;
633 errorFlagLabels.push_back(
"Matched");
634 errorFlagLabels.push_back(
"Unmatched Data Cand");
635 errorFlagLabels.push_back(
"Unmatched Emul Cand");
637 for (
unsigned int i = 0;
i < errorFlagLabels.size();
i++) {
644 errorFlagLabels.clear();
647 errorFlagLabels.push_back(
"Matched");
648 errorFlagLabels.push_back(
"Unmatched");
650 for (
unsigned int i = 0;
i < errorFlagLabels.size();
i++) {
656 errorFlagLabels.clear();
659 errorFlagLabels.push_back(
"Matched");
660 errorFlagLabels.push_back(
"Matched Mag");
661 errorFlagLabels.push_back(
"Matched Phi");
662 errorFlagLabels.push_back(
"Unmatched");
664 for (
unsigned int i = 0;
i < errorFlagLabels.size();
i++) {
694 <<
"The system you chose to use (" <<
useSys_ 695 <<
") was not recognised. Defaulting to the full system geometry";
798 plotEGErrors(isoEgD, isoEgE, nonIsoEgD, nonIsoEgE, emRegions);
949 for (
unsigned int i = 0;
i < intHtMissD->size();
i++) {
951 if (!intHtMissD->at(
i).overflow()) {
953 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 0 &&
954 intHtMissD->at(
i).isThereHtx())
956 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 1 &&
957 intHtMissD->at(
i).isThereHtx())
959 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 2 &&
960 intHtMissD->at(
i).isThereHtx())
962 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 0 &&
963 intHtMissD->at(
i).isThereHtx())
965 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 1 &&
966 intHtMissD->at(
i).isThereHtx())
968 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 2 &&
969 intHtMissD->at(
i).isThereHtx())
972 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 0 &&
973 intHtMissD->at(
i).isThereHty())
975 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 1 &&
976 intHtMissD->at(
i).isThereHty())
978 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 2 &&
979 intHtMissD->at(
i).isThereHty())
981 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 0 &&
982 intHtMissD->at(
i).isThereHty())
984 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 1 &&
985 intHtMissD->at(
i).isThereHty())
987 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 2 &&
988 intHtMissD->at(
i).isThereHty())
1030 for (
unsigned int i = 0;
i < isoEgD->size();
i++) {
1034 if (isoEgD->at(
i).rank() > 0) {
1035 isoEgD_EtEtaPhi_->Fill(isoEgD->at(
i).regionId().ieta(), isoEgD->at(
i).regionId().iphi(), isoEgD->at(
i).rank());
1036 isoEgD_OccEtaPhi_->Fill(isoEgD->at(
i).regionId().ieta(), isoEgD->at(
i).regionId().iphi());
1041 for (
unsigned int i = 0;
i < isoEgE->size();
i++) {
1044 if (isoEgE->at(
i).rank() > 0) {
1045 isoEgE_EtEtaPhi_->Fill(isoEgE->at(
i).regionId().ieta(), isoEgE->at(
i).regionId().iphi(), isoEgE->at(
i).rank());
1046 isoEgE_OccEtaPhi_->Fill(isoEgE->at(
i).regionId().ieta(), isoEgE->at(
i).regionId().iphi());
1055 for (
unsigned int i = 0;
i < nonIsoEgD->size();
i++) {
1059 if (nonIsoEgD->at(
i).rank() > 0) {
1061 nonIsoEgD->at(
i).regionId().ieta(), nonIsoEgD->at(
i).regionId().iphi(), nonIsoEgD->at(
i).rank());
1067 for (
unsigned int i = 0;
i < nonIsoEgE->size();
i++) {
1070 if (nonIsoEgE->at(
i).rank() > 0) {
1072 nonIsoEgE->at(
i).regionId().ieta(), nonIsoEgE->at(
i).regionId().iphi(), nonIsoEgE->at(
i).rank());
1086 errorDirName.append(
"I");
1088 errorDirName.append(
"N");
1089 std::stringstream caseNumber;
1091 errorDirName.append(caseNumber.str());
1094 TH2I *errorEmRegionIsoEtEtaPhi_ = errorDir.
make<TH2I>(
"errorEmRegionIsoEtEtaPhi",
1095 "errorEmRegionIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1102 TH2I *errorEmRegionNonIsoEtEtaPhi_ =
1103 errorDir.
make<TH2I>(
"errorEmRegionNonIsoEtEtaPhi",
1104 "errorEmRegionNonIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1111 TH2I *errorIsoEtEtaPhiD_ = errorDir.
make<TH2I>(
1112 "errorIsoEtEtaPhiD",
"errorIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1113 TH2I *errorNonIsoEtEtaPhiD_ = errorDir.
make<TH2I>(
1114 "errorNonIsoEtEtaPhiD",
"errorNonIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1115 TH2I *errorIsoEtEtaPhiE_ = errorDir.
make<TH2I>(
1116 "errorIsoEtEtaPhiE",
"errorIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1117 TH2I *errorNonIsoEtEtaPhiE_ = errorDir.
make<TH2I>(
1118 "errorNonIsoEtEtaPhiE",
"errorNonIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1123 for (
unsigned int i = 0;
i < emRegions->size();
i++) {
1125 if (emRegions->at(
i).isolated()) {
1126 if (emRegions->at(
i).rank() > 0)
1127 errorEmRegionIsoEtEtaPhi_->Fill(
1128 emRegions->at(
i).regionId().ieta(), emRegions->at(
i).regionId().iphi(), emRegions->at(
i).rank());
1130 if (emRegions->at(
i).rank() > 0)
1131 errorEmRegionNonIsoEtEtaPhi_->Fill(
1132 emRegions->at(
i).regionId().ieta(), emRegions->at(
i).regionId().iphi(), emRegions->at(
i).rank());
1139 for (
unsigned int i = 0;
i < isoEgD->size();
i++) {
1141 if (isoEgD->at(
i).rank() > 0)
1142 errorIsoEtEtaPhiD_->Fill(
1143 isoEgD->at(
i).regionId().ieta(), isoEgD->at(
i).regionId().iphi(), isoEgD->at(
i).rank());
1146 for (
unsigned int i = 0;
i < nonIsoEgD->size();
i++) {
1148 if (nonIsoEgD->at(
i).rank() > 0)
1149 errorNonIsoEtEtaPhiD_->Fill(
1150 nonIsoEgD->at(
i).regionId().ieta(), nonIsoEgD->at(
i).regionId().iphi(), nonIsoEgD->at(
i).rank());
1155 for (
unsigned int i = 0;
i < isoEgE->size();
i++) {
1157 if (isoEgE->at(
i).rank() > 0)
1158 errorIsoEtEtaPhiE_->Fill(
1159 isoEgE->at(
i).regionId().ieta(), isoEgE->at(
i).regionId().iphi(), isoEgE->at(
i).rank());
1162 for (
unsigned int i = 0;
i < nonIsoEgE->size();
i++) {
1164 if (nonIsoEgE->at(
i).rank() > 0)
1165 errorNonIsoEtEtaPhiE_->Fill(
1166 nonIsoEgE->at(
i).regionId().ieta(), nonIsoEgE->at(
i).regionId().iphi(), nonIsoEgE->at(
i).rank());
1173 for (
unsigned int i = 0;
i < cenJetsD->size();
i++) {
1176 if (cenJetsD->at(
i).rank() > 0) {
1178 cenJetsD->at(
i).regionId().ieta(), cenJetsD->at(
i).regionId().iphi(), cenJetsD->at(
i).rank());
1179 cenJetD_OccEtaPhi_->Fill(cenJetsD->at(
i).regionId().ieta(), cenJetsD->at(
i).regionId().iphi());
1184 for (
unsigned int i = 0;
i < cenJetsE->size();
i++) {
1187 if (cenJetsE->at(
i).rank() > 0) {
1189 cenJetsE->at(
i).regionId().ieta(), cenJetsE->at(
i).regionId().iphi(), cenJetsE->at(
i).rank());
1190 cenJetE_OccEtaPhi_->Fill(cenJetsE->at(
i).regionId().ieta(), cenJetsE->at(
i).regionId().iphi());
1198 for (
unsigned int i = 0;
i < tauJetsD->size();
i++) {
1201 if (tauJetsD->at(
i).rank() > 0) {
1203 tauJetsD->at(
i).regionId().ieta(), tauJetsD->at(
i).regionId().iphi(), tauJetsD->at(
i).rank());
1204 tauJetD_OccEtaPhi_->Fill(tauJetsD->at(
i).regionId().ieta(), tauJetsD->at(
i).regionId().iphi());
1209 for (
unsigned int i = 0;
i < tauJetsE->size();
i++) {
1212 if (tauJetsE->at(
i).rank() > 0) {
1214 tauJetsE->at(
i).regionId().ieta(), tauJetsE->at(
i).regionId().iphi(), tauJetsE->at(
i).rank());
1215 tauJetE_OccEtaPhi_->Fill(tauJetsE->at(
i).regionId().ieta(), tauJetsE->at(
i).regionId().iphi());
1223 for (
unsigned int i = 0;
i < forJetsD->size();
i++) {
1226 if (forJetsD->at(
i).rank() > 0) {
1228 forJetsD->at(
i).regionId().ieta(), forJetsD->at(
i).regionId().iphi(), forJetsD->at(
i).rank());
1229 forJetD_OccEtaPhi_->Fill(forJetsD->at(
i).regionId().ieta(), forJetsD->at(
i).regionId().iphi());
1234 for (
unsigned int i = 0;
i < forJetsE->size();
i++) {
1237 if (forJetsE->at(
i).rank() > 0) {
1239 forJetsE->at(
i).regionId().ieta(), forJetsE->at(
i).regionId().iphi(), forJetsE->at(
i).rank());
1240 forJetE_OccEtaPhi_->Fill(forJetsE->at(
i).regionId().ieta(), forJetsE->at(
i).regionId().iphi());
1248 std::vector<jetData> intJetCollection(
1253 for (
unsigned int i = 0;
i < intJetsE->size();
i++) {
1258 intJet.
et = intJetsE->at(
i).et();
1259 intJet.
phi = intJetsE->at(
i).phi();
1260 intJet.
eta = intJetsE->at(
i).eta();
1266 if (intJetsE->at(
i).oflow()) {
1272 if (intJetsE->at(
i).et())
1274 intJetsE->at(
i).regionId().ieta(), intJetsE->at(
i).regionId().iphi(), intJetsE->at(
i).et());
1283 std::vector<TH1I *> leadingJetDist(4);
1291 unsigned int currentEt = 0;
1292 while (intJetCollection.at(
i).et > 0) {
1293 if (
j < leadingJetDist.size()) {
1295 leadingJetDist.at(
j)->Fill(intJetCollection.at(
i).et);
1296 currentEt = intJetCollection.at(
i).et;
1299 if (intJetCollection.at(
i).et < currentEt) {
1300 leadingJetDist.at(
j)->Fill(intJetCollection.at(
i).et);
1301 currentEt = intJetCollection.at(
i).et;
1342 errorDirName.append(
"C");
1344 errorDirName.append(
"T");
1346 errorDirName.append(
"F");
1347 std::stringstream caseNumber;
1349 errorDirName.append(caseNumber.str());
1352 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1353 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1354 TH2I *errorRegionTvEtaPhi_ = errorDir.
make<TH2I>(
1355 "errorRegionTvEtaPhi",
"errorRegionTvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1356 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1357 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1371 TH2I *cenJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"cenJet_errorEtEtaPhiData",
1372 "cenJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1379 TH2I *cenJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"cenJet_errorEtEtaPhiEmu",
1380 "cenJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1387 TH2I *tauJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"tauJet_errorEtEtaPhiData",
1388 "tauJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1395 TH2I *tauJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"tauJet_errorEtEtaPhiEmu",
1396 "tauJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1403 TH2I *forJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"forJet_errorEtEtaPhiData",
1404 "forJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1411 TH2I *forJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"forJet_errorEtEtaPhiEmu",
1412 "forJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1421 for (
unsigned int i = 0;
i < cenJetsD->size();
i++) {
1423 if (cenJetsD->at(
i).rank() > 0)
1424 cenJet_errorEtEtaPhiData_->Fill(
1425 cenJetsD->at(
i).regionId().ieta(), cenJetsD->at(
i).regionId().iphi(), cenJetsD->at(
i).rank());
1428 for (
unsigned int i = 0;
i < tauJetsD->size();
i++) {
1430 if (tauJetsD->at(
i).rank() > 0)
1431 tauJet_errorEtEtaPhiData_->Fill(
1432 tauJetsD->at(
i).regionId().ieta(), tauJetsD->at(
i).regionId().iphi(), tauJetsD->at(
i).rank());
1435 for (
unsigned int i = 0;
i < forJetsD->size();
i++) {
1437 if (forJetsD->at(
i).rank() > 0)
1438 forJet_errorEtEtaPhiData_->Fill(
1439 forJetsD->at(
i).regionId().ieta(), forJetsD->at(
i).regionId().iphi(), forJetsD->at(
i).rank());
1444 for (
unsigned int i = 0;
i < cenJetsE->size();
i++) {
1446 if (cenJetsE->at(
i).rank() > 0)
1447 cenJet_errorEtEtaPhiEmu_->Fill(
1448 cenJetsE->at(
i).regionId().ieta(), cenJetsE->at(
i).regionId().iphi(), cenJetsE->at(
i).rank());
1451 for (
unsigned int i = 0;
i < tauJetsE->size();
i++) {
1453 if (tauJetsE->at(
i).rank() > 0)
1454 tauJet_errorEtEtaPhiEmu_->Fill(
1455 tauJetsE->at(
i).regionId().ieta(), tauJetsE->at(
i).regionId().iphi(), tauJetsE->at(
i).rank());
1458 for (
unsigned int i = 0;
i < forJetsE->size();
i++) {
1460 if (forJetsE->at(
i).rank() > 0)
1461 forJet_errorEtEtaPhiEmu_->Fill(
1462 forJetsE->at(
i).regionId().ieta(), forJetsE->at(
i).regionId().iphi(), forJetsE->at(
i).rank());
1469 for (
unsigned int i = 0;
i < hfRingSumsD->size();
i++) {
1479 for (
unsigned int i = 0;
i < hfRingSumsE->size();
i++) {
1491 for (
unsigned int i = 0;
i < hfBitCountsD->size();
i++) {
1500 for (
unsigned int i = 0;
i < hfBitCountsE->size();
i++) {
1517 errorDirName.append(
"R");
1519 errorDirName.append(
"B");
1520 std::stringstream caseNumber;
1522 errorDirName.append(caseNumber.str());
1525 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1526 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1527 TH2I *errorRegionFgEtaPhi_ = errorDir.
make<TH2I>(
1528 "errorRegionFgEtaPhi",
"errorRegionFgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1529 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1530 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1532 TH1I *errorHFRingSumD_1pos_ =
1533 errorDir.
make<TH1I>(
"errorHFRingSumD_1+",
"errorHFRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1534 TH1I *errorHFRingSumD_2pos_ =
1535 errorDir.
make<TH1I>(
"errorHFRingSumD_2+",
"errorHFRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1536 TH1I *errorHFRingSumD_1neg_ =
1537 errorDir.
make<TH1I>(
"errorHFRingSumD_1-",
"errorHFRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1538 TH1I *errorHFRingSumD_2neg_ =
1539 errorDir.
make<TH1I>(
"errorHFRingSumD_2-",
"errorHFRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1540 TH1I *errorHFRingSumE_1pos_ =
1541 errorDir.
make<TH1I>(
"errorHFRingSumE_1+",
"errorHFRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1542 TH1I *errorHFRingSumE_2pos_ =
1543 errorDir.
make<TH1I>(
"errorHFRingSumE_2+",
"errorHFRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1544 TH1I *errorHFRingSumE_1neg_ =
1545 errorDir.
make<TH1I>(
"errorHFRingSumE_1-",
"errorHFRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1546 TH1I *errorHFRingSumE_2neg_ =
1547 errorDir.
make<TH1I>(
"errorHFRingSumE_2-",
"errorHFRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1549 TH1I *errorHFBitCountD_1pos_ =
1550 errorDir.
make<TH1I>(
"errorHFBitCountD_1+",
"errorHFBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1551 TH1I *errorHFBitCountD_2pos_ =
1552 errorDir.
make<TH1I>(
"errorHFBitCountD_2+",
"errorHFBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1553 TH1I *errorHFBitCountD_1neg_ =
1554 errorDir.
make<TH1I>(
"errorHFBitCountD_1-",
"errorHFBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1555 TH1I *errorHFBitCountD_2neg_ =
1556 errorDir.
make<TH1I>(
"errorHFBitCountD_2-",
"errorHFBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1557 TH1I *errorHFBitCountE_1pos_ =
1558 errorDir.
make<TH1I>(
"errorHFBitCountE_1+",
"errorHFBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1559 TH1I *errorHFBitCountE_2pos_ =
1560 errorDir.
make<TH1I>(
"errorHFBitCountE_2+",
"errorHFBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1561 TH1I *errorHFBitCountE_1neg_ =
1562 errorDir.
make<TH1I>(
"errorHFBitCountE_1-",
"errorHFBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1563 TH1I *errorHFBitCountE_2neg_ =
1564 errorDir.
make<TH1I>(
"errorHFBitCountE_2-",
"errorHFBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1577 for (
unsigned int i = 0;
i < hfRingSumsD->size();
i++) {
1579 errorHFRingSumD_1pos_->Fill(hfRingSumsD->at(
i).etSum(0));
1580 errorHFRingSumD_1neg_->Fill(hfRingSumsD->at(
i).etSum(1));
1581 errorHFRingSumD_2pos_->Fill(hfRingSumsD->at(
i).etSum(2));
1582 errorHFRingSumD_2neg_->Fill(hfRingSumsD->at(
i).etSum(3));
1585 for (
unsigned int i = 0;
i < hfRingSumsE->size();
i++) {
1587 errorHFRingSumE_1pos_->Fill(hfRingSumsE->at(
i).etSum(0));
1588 errorHFRingSumE_1neg_->Fill(hfRingSumsE->at(
i).etSum(1));
1589 errorHFRingSumE_2pos_->Fill(hfRingSumsE->at(
i).etSum(2));
1590 errorHFRingSumE_2neg_->Fill(hfRingSumsE->at(
i).etSum(3));
1594 for (
unsigned int i = 0;
i < hfBitCountsD->size();
i++) {
1596 errorHFBitCountD_1pos_->Fill(hfBitCountsD->at(
i).bitCount(0));
1597 errorHFBitCountD_1neg_->Fill(hfBitCountsD->at(
i).bitCount(1));
1598 errorHFBitCountD_2pos_->Fill(hfBitCountsD->at(
i).bitCount(2));
1599 errorHFBitCountD_2neg_->Fill(hfBitCountsD->at(
i).bitCount(3));
1602 for (
unsigned int i = 0;
i < hfBitCountsE->size();
i++) {
1604 errorHFBitCountE_1pos_->Fill(hfBitCountsE->at(
i).bitCount(0));
1605 errorHFBitCountE_1neg_->Fill(hfBitCountsE->at(
i).bitCount(1));
1606 errorHFBitCountE_2pos_->Fill(hfBitCountsE->at(
i).bitCount(2));
1607 errorHFBitCountE_2neg_->Fill(hfBitCountsE->at(
i).bitCount(3));
1614 for (
unsigned int i = 0;
i < totalEtD->size();
i++) {
1617 if (!totalEtD->at(
i).overFlow())
1621 for (
unsigned int i = 0;
i < totalEtE->size();
i++) {
1624 if (!totalEtE->at(
i).overFlow())
1632 for (
unsigned int i = 0;
i < totalHtD->size();
i++) {
1635 if (!totalHtD->at(
i).overFlow())
1639 for (
unsigned int i = 0;
i < totalHtE->size();
i++) {
1642 if (!totalHtE->at(
i).overFlow())
1655 errorDirName.append(
"E");
1657 errorDirName.append(
"H");
1658 std::stringstream caseNumber;
1660 errorDirName.append(caseNumber.str());
1663 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1664 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1665 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1666 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1667 TH1I *errorTotalEtD_ =
1668 errorDir.
make<TH1I>(
"errorTotalEtD",
"errorTotalEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1669 TH1I *errorTotalEtD_Of_ =
1670 errorDir.
make<TH1I>(
"errorTotalEtD_Of",
"errorTotalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1671 TH1I *errorTotalEtE_ =
1672 errorDir.
make<TH1I>(
"errorTotalEtE",
"errorTotalEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1673 TH1I *errorTotalEtE_Of_ =
1674 errorDir.
make<TH1I>(
"errorTotalEtE_Of",
"errorTotalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1675 TH1I *errorTotalHtD_ =
1676 errorDir.
make<TH1I>(
"errorTotalHtD",
"errorTotalHtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1677 TH1I *errorTotalHtD_Of_ =
1678 errorDir.
make<TH1I>(
"errorTotalHtD_Of",
"errorTotalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1679 TH1I *errorTotalHtE_ =
1680 errorDir.
make<TH1I>(
"errorTotalHtE",
"errorTotalHtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1681 TH1I *errorTotalHtE_Of_ =
1682 errorDir.
make<TH1I>(
"errorTotalHtE_Of",
"errorTotalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1694 for (
unsigned int i = 0;
i < totalEtD->size();
i++) {
1696 errorTotalEtD_Of_->Fill(totalEtD->at(
i).overFlow());
1697 if (!totalEtD->at(
i).overFlow())
1698 errorTotalEtD_->Fill(totalEtD->at(
i).et());
1701 for (
unsigned int i = 0;
i < totalEtE->size();
i++) {
1703 errorTotalEtE_Of_->Fill(totalEtE->at(
i).overFlow());
1704 if (!totalEtE->at(
i).overFlow())
1705 errorTotalEtE_->Fill(totalEtE->at(
i).et());
1709 for (
unsigned int i = 0;
i < totalHtD->size();
i++) {
1711 errorTotalHtD_Of_->Fill(totalHtD->at(
i).overFlow());
1712 if (!totalHtD->at(
i).overFlow())
1713 errorTotalHtD_->Fill(totalHtD->at(
i).et());
1716 for (
unsigned int i = 0;
i < totalHtE->size();
i++) {
1718 errorTotalHtE_Of_->Fill(totalHtE->at(
i).overFlow());
1719 if (!totalHtE->at(
i).overFlow())
1720 errorTotalHtE_->Fill(totalHtE->at(
i).et());
1727 for (
unsigned int i = 0;
i < missingEtD->size();
i++) {
1730 if (!missingEtD->at(
i).overFlow() && missingEtD->at(
i).et() > 0) {
1737 for (
unsigned int i = 0;
i < missingEtE->size();
i++) {
1740 if (!missingEtE->at(
i).overFlow() && missingEtE->at(
i).et()) {
1750 for (
unsigned int i = 0;
i < missingHtD->size();
i++) {
1753 if (!missingHtD->at(
i).overFlow() && missingHtD->at(
i).et() > 0) {
1760 for (
unsigned int i = 0;
i < missingHtE->size();
i++) {
1763 if (!missingHtE->at(
i).overFlow() && missingHtE->at(
i).et() > 0) {
1780 errorDirName.append(
"E");
1782 errorDirName.append(
"H");
1785 for (
unsigned int i = 0;
i < missingHtE->size();
i++) {
1787 for (
unsigned int j = 0;
j < missingHtD->size();
j++) {
1789 if (missingHtD->at(
j).overFlow() != missingHtE->at(
i).overFlow())
1790 errorDirName.append(
"O");
1796 std::stringstream caseNumber;
1798 errorDirName.append(caseNumber.str());
1801 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1802 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1803 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1804 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1805 TH1I *errorMissingEtD_ =
1806 errorDir.
make<TH1I>(
"errorMissingEtD",
"errorMissingEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1807 TH1I *errorMissingEtD_Of_ = errorDir.
make<TH1I>(
1808 "errorMissingEtD_Of",
"errorMissingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1809 TH1I *errorMissingEtD_Phi_ = errorDir.
make<TH1I>(
1810 "errorMissingEtD_Phi",
"errorMissingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1811 TH1I *errorMissingEtE_ =
1812 errorDir.
make<TH1I>(
"errorMissingEtE",
"errorMissingEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1813 TH1I *errorMissingEtE_Of_ = errorDir.
make<TH1I>(
1814 "errorMissingEtE_Of",
"errorMissingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1815 TH1I *errorMissingEtE_Phi_ = errorDir.
make<TH1I>(
1816 "errorMissingEtE_Phi",
"errorMissingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1817 TH1I *errorMissingHtD_ =
1818 errorDir.
make<TH1I>(
"errorMissingHtD",
"errorMissingHtD;H_{T};Number of Events", 1024, -0.5, 1023.5);
1819 TH1I *errorMissingHtD_Of_ = errorDir.
make<TH1I>(
1820 "errorMissingHtD_Of",
"errorMissingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1821 TH1I *errorMissingHtD_Phi_ = errorDir.
make<TH1I>(
1822 "errorMissingHtD_Phi",
"errorMissingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1823 TH1I *errorMissingHtE_ =
1824 errorDir.
make<TH1I>(
"errorMissingHtE",
"errorMissingHtE;H_{T};Number of Events", 1024, -0.5, 1023.5);
1825 TH1I *errorMissingHtE_Of_ = errorDir.
make<TH1I>(
1826 "errorMissingHtE_Of",
"errorMissingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1827 TH1I *errorMissingHtE_Phi_ = errorDir.
make<TH1I>(
1828 "errorMissingHtE_Phi",
"errorMissingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1835 TH1I *errorMissingHtD_HtXPosLeaf1 = errorDir.
make<TH1I>(
1836 "errorMissingHtD_HtXPosLeaf1",
"missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1837 TH1I *errorMissingHtD_HtXPosLeaf2 = errorDir.
make<TH1I>(
1838 "errorMissingHtD_HtXPosLeaf2",
"missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1839 TH1I *errorMissingHtD_HtXPosLeaf3 = errorDir.
make<TH1I>(
1840 "errorMissingHtD_HtXPosLeaf3",
"missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1841 TH1I *errorMissingHtD_HtXNegLeaf1 = errorDir.
make<TH1I>(
1842 "errorMissingHtD_HtXNegLeaf1",
"missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1843 TH1I *errorMissingHtD_HtXNegLeaf2 = errorDir.
make<TH1I>(
1844 "errorMissingHtD_HtXNegLeaf2",
"missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1845 TH1I *errorMissingHtD_HtXNegLeaf3 = errorDir.
make<TH1I>(
1846 "errorMissingHtD_HtXNegLeaf3",
"missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1848 TH1I *errorMissingHtD_HtYPosLeaf1 = errorDir.
make<TH1I>(
1849 "errorMissingHtD_HtYPosLeaf1",
"missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1850 TH1I *errorMissingHtD_HtYPosLeaf2 = errorDir.
make<TH1I>(
1851 "errorMissingHtD_HtYPosLeaf2",
"missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1852 TH1I *errorMissingHtD_HtYPosLeaf3 = errorDir.
make<TH1I>(
1853 "errorMissingHtD_HtYPosLeaf3",
"missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1854 TH1I *errorMissingHtD_HtYNegLeaf1 = errorDir.
make<TH1I>(
1855 "errorMissingHtD_HtYNegLeaf1",
"missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1856 TH1I *errorMissingHtD_HtYNegLeaf2 = errorDir.
make<TH1I>(
1857 "errorMissingHtD_HtYNegLeaf2",
"missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1858 TH1I *errorMissingHtD_HtYNegLeaf3 = errorDir.
make<TH1I>(
1859 "errorMissingHtD_HtYNegLeaf3",
"missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1861 for (
unsigned int i = 0;
i < intMissingHtD->size();
i++) {
1863 if (!intMissingHtD->at(
i).overflow()) {
1864 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 0 &&
1865 intMissingHtD->at(
i).isThereHtx())
1866 errorMissingHtD_HtXPosLeaf1->Fill(intMissingHtD->at(
i).htx());
1867 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 1 &&
1868 intMissingHtD->at(
i).isThereHtx())
1869 errorMissingHtD_HtXPosLeaf2->Fill(intMissingHtD->at(
i).htx());
1870 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 2 &&
1871 intMissingHtD->at(
i).isThereHtx())
1872 errorMissingHtD_HtXPosLeaf3->Fill(intMissingHtD->at(
i).htx());
1873 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 0 &&
1874 intMissingHtD->at(
i).isThereHtx())
1875 errorMissingHtD_HtXNegLeaf1->Fill(intMissingHtD->at(
i).htx());
1876 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 1 &&
1877 intMissingHtD->at(
i).isThereHtx())
1878 errorMissingHtD_HtXNegLeaf2->Fill(intMissingHtD->at(
i).htx());
1879 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 2 &&
1880 intMissingHtD->at(
i).isThereHtx())
1881 errorMissingHtD_HtXNegLeaf3->Fill(intMissingHtD->at(
i).htx());
1883 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 0 &&
1884 intMissingHtD->at(
i).isThereHty())
1885 errorMissingHtD_HtYPosLeaf1->Fill(intMissingHtD->at(
i).hty());
1886 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 1 &&
1887 intMissingHtD->at(
i).isThereHty())
1888 errorMissingHtD_HtYPosLeaf2->Fill(intMissingHtD->at(
i).hty());
1889 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 2 &&
1890 intMissingHtD->at(
i).isThereHty())
1891 errorMissingHtD_HtYPosLeaf3->Fill(intMissingHtD->at(
i).hty());
1892 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 0 &&
1893 intMissingHtD->at(
i).isThereHty())
1894 errorMissingHtD_HtYNegLeaf1->Fill(intMissingHtD->at(
i).hty());
1895 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 1 &&
1896 intMissingHtD->at(
i).isThereHty())
1897 errorMissingHtD_HtYNegLeaf2->Fill(intMissingHtD->at(
i).hty());
1898 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 2 &&
1899 intMissingHtD->at(
i).isThereHty())
1900 errorMissingHtD_HtYNegLeaf3->Fill(intMissingHtD->at(
i).hty());
1908 TH2I *errorIntJetsE_EtEtaPhi = errorDir.
make<TH2I>(
"errorIntJetsE_EtEtaPhi",
1909 "errorIntJetsE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1917 for (
unsigned int i = 0;
i < intJetsE->size();
i++) {
1919 if (!intJetsE->at(
i).oflow() && intJetsE->at(
i).et())
1920 errorIntJetsE_EtEtaPhi->Fill(
1921 intJetsE->at(
i).regionId().ieta(), intJetsE->at(
i).regionId().iphi(), intJetsE->at(
i).et());
1936 for (
unsigned int i = 0;
i < missingEtD->size();
i++) {
1938 errorMissingEtD_Of_->Fill(missingEtD->at(
i).overFlow());
1939 if (!missingEtD->at(
i).overFlow()) {
1940 errorMissingEtD_->Fill(missingEtD->at(
i).et());
1941 errorMissingEtD_Phi_->Fill(missingEtD->at(
i).phi());
1945 for (
unsigned int i = 0;
i < missingHtD->size();
i++) {
1947 errorMissingHtD_Of_->Fill(missingHtD->at(
i).overFlow());
1948 if (!missingHtD->at(
i).overFlow()) {
1949 errorMissingHtD_->Fill(missingHtD->at(
i).et());
1950 errorMissingHtD_Phi_->Fill(missingHtD->at(
i).phi());
1955 for (
unsigned int i = 0;
i < missingEtE->size();
i++) {
1957 errorMissingEtE_Of_->Fill(missingEtE->at(
i).overFlow());
1958 if (!missingEtE->at(
i).overFlow()) {
1959 errorMissingEtE_->Fill(missingEtE->at(
i).et());
1960 errorMissingEtE_Phi_->Fill(missingEtE->at(
i).phi());
1964 for (
unsigned int i = 0;
i < missingHtE->size();
i++) {
1966 errorMissingHtE_Of_->Fill(missingHtE->at(
i).overFlow());
1967 if (!missingHtE->at(
i)
1969 errorMissingHtE_->Fill(missingHtE->at(
i).et());
1970 errorMissingHtE_Phi_->Fill(missingHtE->at(
i).phi());
void plotHFErrors(const edm::Handle< L1GctHFRingEtSumsCollection > &hfRingSumsD, const edm::Handle< L1GctHFRingEtSumsCollection > &hfRingSumsE, const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsD, const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsE, const edm::Handle< L1CaloRegionCollection > &caloRegions)
TH2I * tauJetE_OccEtaPhi_
TH1I * tauJetD_GlobalError_Rank_
void plotMissingHt(const edm::Handle< L1GctHtMissCollection > &missingHtD, const edm::Handle< L1GctHtMissCollection > &missingHtE)
bool doCompare(TH1I *errorFlag_hist_)
GctErrorAnalyzerMBxInfo MBxInfo
TH1I * nonIsoEgE_GlobalError_Rank_
TH1I * hfBitCount_errorFlag_
TH2I * isoEgD_GlobalError_EtEtaPhi_
TH2I * forJetE_GlobalError_EtEtaPhi_
bool doExtraMissingHTDebug_
void plotHFBitCounts(const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsD, const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsE)
TH2I * cenJetD_GlobalError_EtEtaPhi_
GctErrorAnalyzer operator=(const GctErrorAnalyzer &)=delete
const unsigned int GCT_SUMS_QUANTA
static bool sortJets(const jetData &jet1, const jetData &jet2)
void plotForJets(const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
void plotJetErrors(const edm::Handle< L1GctJetCandCollection > &cendata, const edm::Handle< L1GctJetCandCollection > &cenemu, const edm::Handle< L1GctJetCandCollection > &taudata, const edm::Handle< L1GctJetCandCollection > &tauemu, const edm::Handle< L1GctJetCandCollection > &fordata, const edm::Handle< L1GctJetCandCollection > &foremu, const edm::Handle< L1CaloRegionCollection > ®ions)
#define DEFINE_FWK_MODULE(type)
TH1I * nonIsoEgD_GlobalError_Rank_
TH2I * cenJetE_GlobalError_EtEtaPhi_
TH1I * hfRingSum_errorFlag_
TH2I * cenJetD_OccEtaPhi_
TH2I * cenJetE_OccEtaPhi_
TH1I * missingHtD_HtXPosLeaf1
void plotCenJets(const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
bool doCompare(TH1I *errorFlag_hist_)
void analyze(const edm::Event &, const edm::EventSetup &) override
bool doCompare(TH1I *errorFlag_hist_, TH1I *mismatchD_Rank, TH2I *mismatchD_EtEtaPhi, TH1I *mismatchE_Rank, TH2I *mismatchE_EtEtaPhi)
compareTotalEnergySums< edm::Handle< L1GctEtHadCollection > > compareTotalH
void plotTotalH(const edm::Handle< L1GctEtHadCollection > &totalHtD, const edm::Handle< L1GctEtHadCollection > &totalHtE)
TH1I * missingHtD_HtXNegLeaf3
compareMissingEnergySums< edm::Handle< L1GctHtMissCollection > > compareMissingH
TH2I * forJetD_GlobalError_EtEtaPhi_
TH2I * tauJetD_OccEtaPhi_
const unsigned int RCT_REGION_QUANTA_LAB
compareTotalEnergySums< edm::Handle< L1GctEtTotalCollection > > compareTotalE
TH2I * nonIsoEgD_OccEtaPhi_
void plotEGErrors(const edm::Handle< L1GctEmCandCollection > &dataiso, const edm::Handle< L1GctEmCandCollection > &emuiso, const edm::Handle< L1GctEmCandCollection > &datanoniso, const edm::Handle< L1GctEmCandCollection > &emunoniso, const edm::Handle< L1CaloEmCollection > ®ions)
compareCands< edm::Handle< L1GctJetCandCollection > > compareJets
T * make(const Args &...args) const
make new ROOT object
TH1I * missingHtD_HtYPosLeaf1
TH1I * missingEt_errorFlag_
void plotTotalE(const edm::Handle< L1GctEtTotalCollection > &totalEtD, const edm::Handle< L1GctEtTotalCollection > &totalEtE)
TH1I * totalHt_errorFlag_
void plotTotalEErrors(const edm::Handle< L1GctEtTotalCollection > &totalEtD, const edm::Handle< L1GctEtTotalCollection > &totalEtE, const edm::Handle< L1GctEtHadCollection > &totalHtD, const edm::Handle< L1GctEtHadCollection > &totalHtE, const edm::Handle< L1CaloRegionCollection > &caloRegions)
void plotIsoEm(const edm::Handle< L1GctEmCandCollection > &data, const edm::Handle< L1GctEmCandCollection > &emu)
void plotNonIsoEm(const edm::Handle< L1GctEmCandCollection > &data, const edm::Handle< L1GctEmCandCollection > &emu)
void plotTauJets(const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
TH2I * nonIsoEgE_EtEtaPhi_
TH1I * totalEt_errorFlag_
compareMissingEnergySums< edm::Handle< L1GctEtMissCollection > > compareMissingE
void plotHFRingSums(const edm::Handle< L1GctHFRingEtSumsCollection > &data, const edm::Handle< L1GctHFRingEtSumsCollection > &emu)
void plotRCTRegions(const edm::Handle< L1CaloRegionCollection > &caloRegions)
TH1I * isoEgD_GlobalError_Rank_
TH1I * cenJetE_GlobalError_Rank_
void plotIntJets(const edm::Handle< L1GctInternJetDataCollection > &emu)
GctErrorAnalyzer()=delete
const unsigned int GCT_OBJECT_QUANTA
const unsigned int RCT_EM_OBJECT_QUANTA
TH1I * missingHtD_HtYNegLeaf3
TH2I * forJetE_OccEtaPhi_
TH2I * tauJetE_GlobalError_EtEtaPhi_
TH2I * nonIsoEgE_OccEtaPhi_
TH2I * nonIsoEgE_GlobalError_EtEtaPhi_
TH2I * nonIsoEgD_EtEtaPhi_
TH1I * forJetE_GlobalError_Rank_
compareCands< edm::Handle< L1GctEmCandCollection > > compareEG
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
void plotMissingEt(const edm::Handle< L1GctEtMissCollection > &missingEtD, const edm::Handle< L1GctEtMissCollection > &missingEtE)
void plotMissingEErrors(const edm::Handle< L1GctEtMissCollection > &missingEtD, const edm::Handle< L1GctEtMissCollection > &missingEtE, const edm::Handle< L1GctHtMissCollection > &missingHtD, const edm::Handle< L1GctHtMissCollection > &missingHtE, edm::Handle< L1CaloRegionCollection > &caloRegions, const edm::Handle< L1GctInternJetDataCollection > &intjetsemu, const edm::Handle< L1GctInternHtMissCollection > intMissingHtD)
TH1I * missingHtD_HtXNegLeaf1
TH1I * cenJetD_GlobalError_Rank_
~GctErrorAnalyzer() override
TH2I * isoEgE_GlobalError_EtEtaPhi_
TH1I * missingHtD_HtYNegLeaf1
bool checkCollections(const T &collection, const unsigned int &constraint, const std::string &label)
TH1I * missingHtD_HtXPosLeaf2
TH1I * missingHtD_HtYPosLeaf3
TH1I * missingHt_errorFlag_
char data[epos_bytes_allocation]
TH1I * missingHtD_HtXPosLeaf3
TH1I * forJetD_GlobalError_Rank_
std::vector< TFileDirectory > errorHistCat
TH1I * missingHtD_HtYNegLeaf2
TH2I * forJetD_OccEtaPhi_
const unsigned int RCT_REGION_QUANTA_P5
TH1I * tauJetE_GlobalError_Rank_
const unsigned int NUM_INT_JETS
TH2I * nonIsoEgD_GlobalError_EtEtaPhi_
TH1I * isoEgE_GlobalError_Rank_
bool doCompare(TH1I *errorFlag_hist_)
bool doMissingEnergySums_
Log< level::Warning, false > LogWarning
const unsigned int GCT_INT_HTMISS_QUANTA
TH1I * nonIsoEg_errorFlag_
TH2I * tauJetD_GlobalError_EtEtaPhi_
TH1I * missingHtD_HtYPosLeaf2
bool doCompare(TH1I *errorFlag_hist_)
const unsigned int * RCT_REGION_QUANTA
TH1I * missingHtD_HtXNegLeaf2