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")) {
338 std::vector<std::string> quantities;
339 quantities.push_back(
"IsoEm");
340 quantities.push_back(
"NonIsoEM");
341 quantities.push_back(
"CenJets");
342 quantities.push_back(
"TauJets");
343 quantities.push_back(
"ForJets");
344 quantities.push_back(
"HFRingSums");
345 quantities.push_back(
"HFBitCounts");
346 quantities.push_back(
"TotalESums");
347 quantities.push_back(
"MissingESums");
351 std::vector<TFileDirectory> emuHistCat;
355 std::vector<TFileDirectory> dataHistCat;
363 for (
unsigned int i = 0;
i < quantities.size();
i++) {
365 emuHistCat.push_back(emuHist.
mkdir(quantities.at(
i)));
366 dataHistCat.push_back(dataHist.
mkdir(quantities.at(
i)));
370 dataHistCat.push_back(dataHist.
mkdir(
"RCTRegions"));
372 emuHistCat.push_back(emuHist.
mkdir(
"IntJets"));
383 "RCT_EtEtaPhi",
"RCT_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
385 "RCT_TvEtaPhi",
"RCT_TvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
387 "RCT_FgEtaPhi",
"RCT_FgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
389 "RCT_OfEtEtaPhi",
"RCT_OfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
391 isoEgD_Rank_ = dataHistCat.at(0).make<TH1I>(
"isoEgD_Rank",
"isoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
392 isoEgE_Rank_ = emuHistCat.at(0).make<TH1I>(
"isoEgE_Rank",
"isoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
394 "isoEgD_EtEtaPhi",
"isoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
396 "isoEgE_EtEtaPhi",
"isoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
398 "isoEgD_OccEtaPhi",
"isoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
400 "isoEgE_OccEtaPhi",
"isoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
402 errorHistFlags.
make<TH1I>(
"isoEg_errorFlag",
"isoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
405 "isoEgD_GlobalError_Rank",
"isoEgD_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
407 "isoEgE_GlobalError_Rank",
"isoEgE_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
409 "isoEgD_GlobalError_EtEtaPhi",
"isoEgD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
411 "isoEgE_GlobalError_EtEtaPhi",
"isoEgE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
414 dataHistCat.at(1).make<TH1I>(
"nonIsoEgD_Rank",
"nonIsoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
416 emuHistCat.at(1).make<TH1I>(
"nonIsoEgE_Rank",
"nonIsoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
418 "nonIsoEgD_EtEtaPhi",
"nonIsoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
420 "nonIsoEgE_EtEtaPhi",
"nonIsoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
422 "nonIsoEgD_OccEtaPhi",
"nonIsoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
424 "nonIsoEgE_OccEtaPhi",
"nonIsoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
426 errorHistFlags.
make<TH1I>(
"nonIsoEg_errorFlag",
"nonIsoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
429 "nonIsoEgD_GlobalError_Rank",
"nonIsoEgD_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
431 "nonIsoEgE_GlobalError_Rank",
"nonIsoEgE_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
433 "nonIsoEgD_GlobalError_EtEtaPhi",
"nonIsoEgD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
435 "nonIsoEgE_GlobalError_EtEtaPhi",
"nonIsoEgE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
437 cenJetD_Rank_ = dataHistCat.at(2).make<TH1I>(
"cenJetD_Rank",
"cenJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
438 cenJetE_Rank_ = emuHistCat.at(2).make<TH1I>(
"cenJetE_Rank",
"cenJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
440 "cenJetD_EtEtaPhi",
"cenJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
442 "cenJetE_EtEtaPhi",
"cenJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
444 "cenJetD_OccEtaPhi",
"cenJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
446 "cenJetE_OccEtaPhi",
"cenJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
448 errorHistFlags.
make<TH1I>(
"cenJet_errorFlag",
"cenJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
451 errorHistCat.at(1).make<TH1I>(
"cenJetD_GlobalError_Rank",
"cenJetD_GlobalError_Rank", 64, -0.5, 63.5);
453 errorHistCat.at(1).make<TH1I>(
"cenJetE_GlobalError_Rank",
"cenJetE_GlobalError_Rank", 64, -0.5, 63.5);
455 "cenJetD_GlobalError_EtEtaPhi",
"cenJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
457 "cenJetE_GlobalError_EtEtaPhi",
"cenJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
459 tauJetD_Rank_ = dataHistCat.at(3).make<TH1I>(
"tauJetD_Rank",
"tauJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
460 tauJetE_Rank_ = emuHistCat.at(3).make<TH1I>(
"tauJetE_Rank",
"tauJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
462 "tauJetD_EtEtaPhi",
"tauJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
464 "tauJetE_EtEtaPhi",
"tauJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
466 "tauJetD_OccEtaPhi",
"tauJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
468 "tauJetE_OccEtaPhi",
"tauJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
470 errorHistFlags.
make<TH1I>(
"tauJet_errorFlag",
"tauJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
473 errorHistCat.at(1).make<TH1I>(
"tauJetD_GlobalError_Rank",
"tauJetD_GlobalError_Rank", 64, -0.5, 63.5);
475 errorHistCat.at(1).make<TH1I>(
"tauJetE_GlobalError_Rank",
"tauJetE_GlobalError_Rank", 64, -0.5, 63.5);
477 "tauJetD_GlobalError_EtEtaPhi",
"tauJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
479 "tauJetE_GlobalError_EtEtaPhi",
"tauJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
481 forJetD_Rank_ = dataHistCat.at(4).make<TH1I>(
"forJetD_Rank",
"forJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
482 forJetE_Rank_ = emuHistCat.at(4).make<TH1I>(
"forJetE_Rank",
"forJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
484 "forJetD_EtEtaPhi",
"forJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
486 "forJetE_EtEtaPhi",
"forJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
488 "forJetD_OccEtaPhi",
"forJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
490 "forJetE_OccEtaPhi",
"forJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
492 errorHistFlags.
make<TH1I>(
"forJet_errorFlag",
"forJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
495 errorHistCat.at(1).make<TH1I>(
"forJetD_GlobalError_Rank",
"forJetD_GlobalError_Rank", 64, -0.5, 63.5);
497 errorHistCat.at(1).make<TH1I>(
"forJetE_GlobalError_Rank",
"forJetE_GlobalError_Rank", 64, -0.5, 63.5);
499 "forJetD_GlobalError_EtEtaPhi",
"forJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
501 "forJetE_GlobalError_EtEtaPhi",
"forJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
504 "intJetEtEtaPhiE_",
"intJetEtEtaPhiE_;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
505 intJetE_Et_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Et",
"intJetE_Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
507 emuHistCat.at(9).make<TH1I>(
"intJetE_Of",
"intJetE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
509 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet1Et",
"intJetE_Jet1Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
511 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet2Et",
"intJetE_Jet2Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
513 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet3Et",
"intJetE_Jet3Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
515 emuHistCat.at(9).make<TH1I>(
"intJetE_Jet4Et",
"intJetE_Jet4Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
517 hfRingSumD_1pos_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_1+",
"hfRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
518 hfRingSumD_1neg_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_1-",
"hfRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
519 hfRingSumD_2pos_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_2+",
"hfRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
520 hfRingSumD_2neg_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_2-",
"hfRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
521 hfRingSumE_1pos_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_1+",
"hfRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
522 hfRingSumE_1neg_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_1-",
"hfRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
523 hfRingSumE_2pos_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_2+",
"hfRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
524 hfRingSumE_2neg_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_2-",
"hfRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
526 errorHistFlags.
make<TH1I>(
"hfRingSum_errorFlag",
"hfRingSum_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
529 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_1+",
"hfBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
531 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_1-",
"hfBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
533 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_2+",
"hfBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
535 dataHistCat.at(6).make<TH1I>(
"hfBitCountD_2-",
"hfBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
537 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_1+",
"hfBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
539 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_1-",
"hfBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
541 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_2+",
"hfBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
543 emuHistCat.at(6).make<TH1I>(
"hfBitCountE_2-",
"hfBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
545 "hfBitCount_errorFlag",
"hfBitCount_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
547 totalEtD_ = dataHistCat.at(7).make<TH1I>(
"totalEtD",
"totalEtD;E_{T};Number of Events", 2048, -0.5, 2047.5);
549 dataHistCat.at(7).make<TH1I>(
"totalEtD_Of",
"totalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
550 totalEtE_ = emuHistCat.at(7).make<TH1I>(
"totalEtE",
"totalEtE;E_{T};Number of Events", 2048, -0.5, 2047.5);
552 emuHistCat.at(7).make<TH1I>(
"totalEtE_Of",
"totalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
554 errorHistFlags.
make<TH1I>(
"totalEt_errorFlag",
"totalEt_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
561 totalHtD_ = dataHistCat.at(7).make<TH1I>(
"totalHtD",
"totalHtD;H_{T};Number of Events", 2048, -0.5, 2047.5);
563 dataHistCat.at(7).make<TH1I>(
"totalHtD_Of",
"totalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
564 totalHtE_ = emuHistCat.at(7).make<TH1I>(
"totalHtE",
"totalHtE;H_{T};Number of Events", 2048, -0.5, 2047.5);
566 emuHistCat.at(7).make<TH1I>(
"totalHtE_Of",
"totalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
568 errorHistFlags.
make<TH1I>(
"totalHt_errorFlag",
"totalHt_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
576 dataHistCat.at(8).make<TH1I>(
"missingEtD",
"missingEtD;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
578 dataHistCat.at(8).make<TH1I>(
"missingEtD_Of",
"missingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
580 "missingEtD_Phi",
"missingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
582 emuHistCat.at(8).make<TH1I>(
"missingEtE",
"missingEtE;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
584 emuHistCat.at(8).make<TH1I>(
"missingEtE_Of",
"missingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
586 "missingEtE_Phi",
"missingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
588 errorHistFlags.
make<TH1I>(
"missingEt_errorFlag",
"missingEt_errorFlag;Status;Number of Candidates", 4, -0.5, 3.5);
591 dataHistCat.at(8).make<TH1I>(
"missingHtD",
"missingHtD;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
593 dataHistCat.at(8).make<TH1I>(
"missingHtD_Of",
"missingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
595 "missingHtD_Phi",
"missingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
597 emuHistCat.at(8).make<TH1I>(
"missingHtE",
"missingHtE;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
599 emuHistCat.at(8).make<TH1I>(
"missingHtE_Of",
"missingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
601 "missingHtE_Phi",
"missingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
603 errorHistFlags.
make<TH1I>(
"missingHt_errorFlag",
"missingHt_errorFlag;Status;Number of Candidates", 4, -0.5, 3.5);
606 "missingHtD_HtXPosLeaf1",
"missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
608 "missingHtD_HtXPosLeaf2",
"missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
610 "missingHtD_HtXPosLeaf3",
"missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
612 "missingHtD_HtXNegLeaf1",
"missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
614 "missingHtD_HtXNegLeaf2",
"missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
616 "missingHtD_HtXNegLeaf3",
"missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
619 "missingHtD_HtYPosLeaf1",
"missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
621 "missingHtD_HtYPosLeaf2",
"missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
623 "missingHtD_HtYPosLeaf3",
"missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
625 "missingHtD_HtYNegLeaf1",
"missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
627 "missingHtD_HtYNegLeaf2",
"missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
629 "missingHtD_HtYNegLeaf3",
"missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
633 std::vector<std::string> errorFlagLabels;
634 errorFlagLabels.push_back(
"Matched");
635 errorFlagLabels.push_back(
"Unmatched Data Cand");
636 errorFlagLabels.push_back(
"Unmatched Emul Cand");
638 for (
unsigned int i = 0;
i < errorFlagLabels.size();
i++) {
645 errorFlagLabels.clear();
648 errorFlagLabels.push_back(
"Matched");
649 errorFlagLabels.push_back(
"Unmatched");
651 for (
unsigned int i = 0;
i < errorFlagLabels.size();
i++) {
657 errorFlagLabels.clear();
660 errorFlagLabels.push_back(
"Matched");
661 errorFlagLabels.push_back(
"Matched Mag");
662 errorFlagLabels.push_back(
"Matched Phi");
663 errorFlagLabels.push_back(
"Unmatched");
665 for (
unsigned int i = 0;
i < errorFlagLabels.size();
i++) {
695 <<
"The system you chose to use (" <<
useSys_ 696 <<
") was not recognised. Defaulting to the full system geometry";
799 plotEGErrors(isoEgD, isoEgE, nonIsoEgD, nonIsoEgE, emRegions);
950 for (
unsigned int i = 0;
i < intHtMissD->size();
i++) {
952 if (!intHtMissD->at(
i).overflow()) {
954 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 0 &&
955 intHtMissD->at(
i).isThereHtx())
957 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 1 &&
958 intHtMissD->at(
i).isThereHtx())
960 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 2 &&
961 intHtMissD->at(
i).isThereHtx())
963 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 0 &&
964 intHtMissD->at(
i).isThereHtx())
966 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 1 &&
967 intHtMissD->at(
i).isThereHtx())
969 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 2 &&
970 intHtMissD->at(
i).isThereHtx())
973 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 0 &&
974 intHtMissD->at(
i).isThereHty())
976 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 1 &&
977 intHtMissD->at(
i).isThereHty())
979 if (intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 2 &&
980 intHtMissD->at(
i).isThereHty())
982 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 0 &&
983 intHtMissD->at(
i).isThereHty())
985 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 1 &&
986 intHtMissD->at(
i).isThereHty())
988 if (intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 2 &&
989 intHtMissD->at(
i).isThereHty())
1031 for (
unsigned int i = 0;
i < isoEgD->size();
i++) {
1035 if (isoEgD->at(
i).rank() > 0) {
1036 isoEgD_EtEtaPhi_->Fill(isoEgD->at(
i).regionId().ieta(), isoEgD->at(
i).regionId().iphi(), isoEgD->at(
i).rank());
1037 isoEgD_OccEtaPhi_->Fill(isoEgD->at(
i).regionId().ieta(), isoEgD->at(
i).regionId().iphi());
1042 for (
unsigned int i = 0;
i < isoEgE->size();
i++) {
1045 if (isoEgE->at(
i).rank() > 0) {
1046 isoEgE_EtEtaPhi_->Fill(isoEgE->at(
i).regionId().ieta(), isoEgE->at(
i).regionId().iphi(), isoEgE->at(
i).rank());
1047 isoEgE_OccEtaPhi_->Fill(isoEgE->at(
i).regionId().ieta(), isoEgE->at(
i).regionId().iphi());
1056 for (
unsigned int i = 0;
i < nonIsoEgD->size();
i++) {
1060 if (nonIsoEgD->at(
i).rank() > 0) {
1062 nonIsoEgD->at(
i).regionId().ieta(), nonIsoEgD->at(
i).regionId().iphi(), nonIsoEgD->at(
i).rank());
1068 for (
unsigned int i = 0;
i < nonIsoEgE->size();
i++) {
1071 if (nonIsoEgE->at(
i).rank() > 0) {
1073 nonIsoEgE->at(
i).regionId().ieta(), nonIsoEgE->at(
i).regionId().iphi(), nonIsoEgE->at(
i).rank());
1087 errorDirName.append(
"I");
1089 errorDirName.append(
"N");
1090 std::stringstream caseNumber;
1092 errorDirName.append(caseNumber.str());
1095 TH2I *errorEmRegionIsoEtEtaPhi_ = errorDir.
make<TH2I>(
"errorEmRegionIsoEtEtaPhi",
1096 "errorEmRegionIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1103 TH2I *errorEmRegionNonIsoEtEtaPhi_ =
1104 errorDir.
make<TH2I>(
"errorEmRegionNonIsoEtEtaPhi",
1105 "errorEmRegionNonIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1112 TH2I *errorIsoEtEtaPhiD_ = errorDir.
make<TH2I>(
1113 "errorIsoEtEtaPhiD",
"errorIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1114 TH2I *errorNonIsoEtEtaPhiD_ = errorDir.
make<TH2I>(
1115 "errorNonIsoEtEtaPhiD",
"errorNonIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1116 TH2I *errorIsoEtEtaPhiE_ = errorDir.
make<TH2I>(
1117 "errorIsoEtEtaPhiE",
"errorIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1118 TH2I *errorNonIsoEtEtaPhiE_ = errorDir.
make<TH2I>(
1119 "errorNonIsoEtEtaPhiE",
"errorNonIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1124 for (
unsigned int i = 0;
i < emRegions->size();
i++) {
1126 if (emRegions->at(
i).isolated()) {
1127 if (emRegions->at(
i).rank() > 0)
1128 errorEmRegionIsoEtEtaPhi_->Fill(
1129 emRegions->at(
i).regionId().ieta(), emRegions->at(
i).regionId().iphi(), emRegions->at(
i).rank());
1131 if (emRegions->at(
i).rank() > 0)
1132 errorEmRegionNonIsoEtEtaPhi_->Fill(
1133 emRegions->at(
i).regionId().ieta(), emRegions->at(
i).regionId().iphi(), emRegions->at(
i).rank());
1140 for (
unsigned int i = 0;
i < isoEgD->size();
i++) {
1142 if (isoEgD->at(
i).rank() > 0)
1143 errorIsoEtEtaPhiD_->Fill(
1144 isoEgD->at(
i).regionId().ieta(), isoEgD->at(
i).regionId().iphi(), isoEgD->at(
i).rank());
1147 for (
unsigned int i = 0;
i < nonIsoEgD->size();
i++) {
1149 if (nonIsoEgD->at(
i).rank() > 0)
1150 errorNonIsoEtEtaPhiD_->Fill(
1151 nonIsoEgD->at(
i).regionId().ieta(), nonIsoEgD->at(
i).regionId().iphi(), nonIsoEgD->at(
i).rank());
1156 for (
unsigned int i = 0;
i < isoEgE->size();
i++) {
1158 if (isoEgE->at(
i).rank() > 0)
1159 errorIsoEtEtaPhiE_->Fill(
1160 isoEgE->at(
i).regionId().ieta(), isoEgE->at(
i).regionId().iphi(), isoEgE->at(
i).rank());
1163 for (
unsigned int i = 0;
i < nonIsoEgE->size();
i++) {
1165 if (nonIsoEgE->at(
i).rank() > 0)
1166 errorNonIsoEtEtaPhiE_->Fill(
1167 nonIsoEgE->at(
i).regionId().ieta(), nonIsoEgE->at(
i).regionId().iphi(), nonIsoEgE->at(
i).rank());
1174 for (
unsigned int i = 0;
i < cenJetsD->size();
i++) {
1177 if (cenJetsD->at(
i).rank() > 0) {
1179 cenJetsD->at(
i).regionId().ieta(), cenJetsD->at(
i).regionId().iphi(), cenJetsD->at(
i).rank());
1180 cenJetD_OccEtaPhi_->Fill(cenJetsD->at(
i).regionId().ieta(), cenJetsD->at(
i).regionId().iphi());
1185 for (
unsigned int i = 0;
i < cenJetsE->size();
i++) {
1188 if (cenJetsE->at(
i).rank() > 0) {
1190 cenJetsE->at(
i).regionId().ieta(), cenJetsE->at(
i).regionId().iphi(), cenJetsE->at(
i).rank());
1191 cenJetE_OccEtaPhi_->Fill(cenJetsE->at(
i).regionId().ieta(), cenJetsE->at(
i).regionId().iphi());
1199 for (
unsigned int i = 0;
i < tauJetsD->size();
i++) {
1202 if (tauJetsD->at(
i).rank() > 0) {
1204 tauJetsD->at(
i).regionId().ieta(), tauJetsD->at(
i).regionId().iphi(), tauJetsD->at(
i).rank());
1205 tauJetD_OccEtaPhi_->Fill(tauJetsD->at(
i).regionId().ieta(), tauJetsD->at(
i).regionId().iphi());
1210 for (
unsigned int i = 0;
i < tauJetsE->size();
i++) {
1213 if (tauJetsE->at(
i).rank() > 0) {
1215 tauJetsE->at(
i).regionId().ieta(), tauJetsE->at(
i).regionId().iphi(), tauJetsE->at(
i).rank());
1216 tauJetE_OccEtaPhi_->Fill(tauJetsE->at(
i).regionId().ieta(), tauJetsE->at(
i).regionId().iphi());
1224 for (
unsigned int i = 0;
i < forJetsD->size();
i++) {
1227 if (forJetsD->at(
i).rank() > 0) {
1229 forJetsD->at(
i).regionId().ieta(), forJetsD->at(
i).regionId().iphi(), forJetsD->at(
i).rank());
1230 forJetD_OccEtaPhi_->Fill(forJetsD->at(
i).regionId().ieta(), forJetsD->at(
i).regionId().iphi());
1235 for (
unsigned int i = 0;
i < forJetsE->size();
i++) {
1238 if (forJetsE->at(
i).rank() > 0) {
1240 forJetsE->at(
i).regionId().ieta(), forJetsE->at(
i).regionId().iphi(), forJetsE->at(
i).rank());
1241 forJetE_OccEtaPhi_->Fill(forJetsE->at(
i).regionId().ieta(), forJetsE->at(
i).regionId().iphi());
1249 std::vector<jetData> intJetCollection(
1254 for (
unsigned int i = 0;
i < intJetsE->size();
i++) {
1259 intJet.
et = intJetsE->at(
i).et();
1260 intJet.
phi = intJetsE->at(
i).phi();
1261 intJet.
eta = intJetsE->at(
i).eta();
1267 if (intJetsE->at(
i).oflow()) {
1273 if (intJetsE->at(
i).et())
1275 intJetsE->at(
i).regionId().ieta(), intJetsE->at(
i).regionId().iphi(), intJetsE->at(
i).et());
1284 std::vector<TH1I *> leadingJetDist(4);
1292 unsigned int currentEt = 0;
1293 while (intJetCollection.at(
i).et > 0) {
1294 if (
j < leadingJetDist.size()) {
1296 leadingJetDist.at(
j)->Fill(intJetCollection.at(
i).et);
1297 currentEt = intJetCollection.at(
i).et;
1300 if (intJetCollection.at(
i).et < currentEt) {
1301 leadingJetDist.at(
j)->Fill(intJetCollection.at(
i).et);
1302 currentEt = intJetCollection.at(
i).et;
1343 errorDirName.append(
"C");
1345 errorDirName.append(
"T");
1347 errorDirName.append(
"F");
1348 std::stringstream caseNumber;
1350 errorDirName.append(caseNumber.str());
1353 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1354 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1355 TH2I *errorRegionTvEtaPhi_ = errorDir.
make<TH2I>(
1356 "errorRegionTvEtaPhi",
"errorRegionTvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1357 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1358 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1372 TH2I *cenJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"cenJet_errorEtEtaPhiData",
1373 "cenJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1380 TH2I *cenJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"cenJet_errorEtEtaPhiEmu",
1381 "cenJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1388 TH2I *tauJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"tauJet_errorEtEtaPhiData",
1389 "tauJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1396 TH2I *tauJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"tauJet_errorEtEtaPhiEmu",
1397 "tauJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1404 TH2I *forJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"forJet_errorEtEtaPhiData",
1405 "forJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1412 TH2I *forJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"forJet_errorEtEtaPhiEmu",
1413 "forJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1422 for (
unsigned int i = 0;
i < cenJetsD->size();
i++) {
1424 if (cenJetsD->at(
i).rank() > 0)
1425 cenJet_errorEtEtaPhiData_->Fill(
1426 cenJetsD->at(
i).regionId().ieta(), cenJetsD->at(
i).regionId().iphi(), cenJetsD->at(
i).rank());
1429 for (
unsigned int i = 0;
i < tauJetsD->size();
i++) {
1431 if (tauJetsD->at(
i).rank() > 0)
1432 tauJet_errorEtEtaPhiData_->Fill(
1433 tauJetsD->at(
i).regionId().ieta(), tauJetsD->at(
i).regionId().iphi(), tauJetsD->at(
i).rank());
1436 for (
unsigned int i = 0;
i < forJetsD->size();
i++) {
1438 if (forJetsD->at(
i).rank() > 0)
1439 forJet_errorEtEtaPhiData_->Fill(
1440 forJetsD->at(
i).regionId().ieta(), forJetsD->at(
i).regionId().iphi(), forJetsD->at(
i).rank());
1445 for (
unsigned int i = 0;
i < cenJetsE->size();
i++) {
1447 if (cenJetsE->at(
i).rank() > 0)
1448 cenJet_errorEtEtaPhiEmu_->Fill(
1449 cenJetsE->at(
i).regionId().ieta(), cenJetsE->at(
i).regionId().iphi(), cenJetsE->at(
i).rank());
1452 for (
unsigned int i = 0;
i < tauJetsE->size();
i++) {
1454 if (tauJetsE->at(
i).rank() > 0)
1455 tauJet_errorEtEtaPhiEmu_->Fill(
1456 tauJetsE->at(
i).regionId().ieta(), tauJetsE->at(
i).regionId().iphi(), tauJetsE->at(
i).rank());
1459 for (
unsigned int i = 0;
i < forJetsE->size();
i++) {
1461 if (forJetsE->at(
i).rank() > 0)
1462 forJet_errorEtEtaPhiEmu_->Fill(
1463 forJetsE->at(
i).regionId().ieta(), forJetsE->at(
i).regionId().iphi(), forJetsE->at(
i).rank());
1470 for (
unsigned int i = 0;
i < hfRingSumsD->size();
i++) {
1480 for (
unsigned int i = 0;
i < hfRingSumsE->size();
i++) {
1492 for (
unsigned int i = 0;
i < hfBitCountsD->size();
i++) {
1501 for (
unsigned int i = 0;
i < hfBitCountsE->size();
i++) {
1518 errorDirName.append(
"R");
1520 errorDirName.append(
"B");
1521 std::stringstream caseNumber;
1523 errorDirName.append(caseNumber.str());
1526 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1527 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1528 TH2I *errorRegionFgEtaPhi_ = errorDir.
make<TH2I>(
1529 "errorRegionFgEtaPhi",
"errorRegionFgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1530 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1531 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1533 TH1I *errorHFRingSumD_1pos_ =
1534 errorDir.
make<TH1I>(
"errorHFRingSumD_1+",
"errorHFRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1535 TH1I *errorHFRingSumD_2pos_ =
1536 errorDir.
make<TH1I>(
"errorHFRingSumD_2+",
"errorHFRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1537 TH1I *errorHFRingSumD_1neg_ =
1538 errorDir.
make<TH1I>(
"errorHFRingSumD_1-",
"errorHFRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1539 TH1I *errorHFRingSumD_2neg_ =
1540 errorDir.
make<TH1I>(
"errorHFRingSumD_2-",
"errorHFRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1541 TH1I *errorHFRingSumE_1pos_ =
1542 errorDir.
make<TH1I>(
"errorHFRingSumE_1+",
"errorHFRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1543 TH1I *errorHFRingSumE_2pos_ =
1544 errorDir.
make<TH1I>(
"errorHFRingSumE_2+",
"errorHFRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1545 TH1I *errorHFRingSumE_1neg_ =
1546 errorDir.
make<TH1I>(
"errorHFRingSumE_1-",
"errorHFRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1547 TH1I *errorHFRingSumE_2neg_ =
1548 errorDir.
make<TH1I>(
"errorHFRingSumE_2-",
"errorHFRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1550 TH1I *errorHFBitCountD_1pos_ =
1551 errorDir.
make<TH1I>(
"errorHFBitCountD_1+",
"errorHFBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1552 TH1I *errorHFBitCountD_2pos_ =
1553 errorDir.
make<TH1I>(
"errorHFBitCountD_2+",
"errorHFBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1554 TH1I *errorHFBitCountD_1neg_ =
1555 errorDir.
make<TH1I>(
"errorHFBitCountD_1-",
"errorHFBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1556 TH1I *errorHFBitCountD_2neg_ =
1557 errorDir.
make<TH1I>(
"errorHFBitCountD_2-",
"errorHFBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1558 TH1I *errorHFBitCountE_1pos_ =
1559 errorDir.
make<TH1I>(
"errorHFBitCountE_1+",
"errorHFBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1560 TH1I *errorHFBitCountE_2pos_ =
1561 errorDir.
make<TH1I>(
"errorHFBitCountE_2+",
"errorHFBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1562 TH1I *errorHFBitCountE_1neg_ =
1563 errorDir.
make<TH1I>(
"errorHFBitCountE_1-",
"errorHFBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1564 TH1I *errorHFBitCountE_2neg_ =
1565 errorDir.
make<TH1I>(
"errorHFBitCountE_2-",
"errorHFBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1578 for (
unsigned int i = 0;
i < hfRingSumsD->size();
i++) {
1580 errorHFRingSumD_1pos_->Fill(hfRingSumsD->at(
i).etSum(0));
1581 errorHFRingSumD_1neg_->Fill(hfRingSumsD->at(
i).etSum(1));
1582 errorHFRingSumD_2pos_->Fill(hfRingSumsD->at(
i).etSum(2));
1583 errorHFRingSumD_2neg_->Fill(hfRingSumsD->at(
i).etSum(3));
1586 for (
unsigned int i = 0;
i < hfRingSumsE->size();
i++) {
1588 errorHFRingSumE_1pos_->Fill(hfRingSumsE->at(
i).etSum(0));
1589 errorHFRingSumE_1neg_->Fill(hfRingSumsE->at(
i).etSum(1));
1590 errorHFRingSumE_2pos_->Fill(hfRingSumsE->at(
i).etSum(2));
1591 errorHFRingSumE_2neg_->Fill(hfRingSumsE->at(
i).etSum(3));
1595 for (
unsigned int i = 0;
i < hfBitCountsD->size();
i++) {
1597 errorHFBitCountD_1pos_->Fill(hfBitCountsD->at(
i).bitCount(0));
1598 errorHFBitCountD_1neg_->Fill(hfBitCountsD->at(
i).bitCount(1));
1599 errorHFBitCountD_2pos_->Fill(hfBitCountsD->at(
i).bitCount(2));
1600 errorHFBitCountD_2neg_->Fill(hfBitCountsD->at(
i).bitCount(3));
1603 for (
unsigned int i = 0;
i < hfBitCountsE->size();
i++) {
1605 errorHFBitCountE_1pos_->Fill(hfBitCountsE->at(
i).bitCount(0));
1606 errorHFBitCountE_1neg_->Fill(hfBitCountsE->at(
i).bitCount(1));
1607 errorHFBitCountE_2pos_->Fill(hfBitCountsE->at(
i).bitCount(2));
1608 errorHFBitCountE_2neg_->Fill(hfBitCountsE->at(
i).bitCount(3));
1615 for (
unsigned int i = 0;
i < totalEtD->size();
i++) {
1618 if (!totalEtD->at(
i).overFlow())
1622 for (
unsigned int i = 0;
i < totalEtE->size();
i++) {
1625 if (!totalEtE->at(
i).overFlow())
1633 for (
unsigned int i = 0;
i < totalHtD->size();
i++) {
1636 if (!totalHtD->at(
i).overFlow())
1640 for (
unsigned int i = 0;
i < totalHtE->size();
i++) {
1643 if (!totalHtE->at(
i).overFlow())
1656 errorDirName.append(
"E");
1658 errorDirName.append(
"H");
1659 std::stringstream caseNumber;
1661 errorDirName.append(caseNumber.str());
1664 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1665 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1666 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1667 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1668 TH1I *errorTotalEtD_ =
1669 errorDir.
make<TH1I>(
"errorTotalEtD",
"errorTotalEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1670 TH1I *errorTotalEtD_Of_ =
1671 errorDir.
make<TH1I>(
"errorTotalEtD_Of",
"errorTotalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1672 TH1I *errorTotalEtE_ =
1673 errorDir.
make<TH1I>(
"errorTotalEtE",
"errorTotalEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1674 TH1I *errorTotalEtE_Of_ =
1675 errorDir.
make<TH1I>(
"errorTotalEtE_Of",
"errorTotalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1676 TH1I *errorTotalHtD_ =
1677 errorDir.
make<TH1I>(
"errorTotalHtD",
"errorTotalHtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1678 TH1I *errorTotalHtD_Of_ =
1679 errorDir.
make<TH1I>(
"errorTotalHtD_Of",
"errorTotalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1680 TH1I *errorTotalHtE_ =
1681 errorDir.
make<TH1I>(
"errorTotalHtE",
"errorTotalHtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1682 TH1I *errorTotalHtE_Of_ =
1683 errorDir.
make<TH1I>(
"errorTotalHtE_Of",
"errorTotalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1695 for (
unsigned int i = 0;
i < totalEtD->size();
i++) {
1697 errorTotalEtD_Of_->Fill(totalEtD->at(
i).overFlow());
1698 if (!totalEtD->at(
i).overFlow())
1699 errorTotalEtD_->Fill(totalEtD->at(
i).et());
1702 for (
unsigned int i = 0;
i < totalEtE->size();
i++) {
1704 errorTotalEtE_Of_->Fill(totalEtE->at(
i).overFlow());
1705 if (!totalEtE->at(
i).overFlow())
1706 errorTotalEtE_->Fill(totalEtE->at(
i).et());
1710 for (
unsigned int i = 0;
i < totalHtD->size();
i++) {
1712 errorTotalHtD_Of_->Fill(totalHtD->at(
i).overFlow());
1713 if (!totalHtD->at(
i).overFlow())
1714 errorTotalHtD_->Fill(totalHtD->at(
i).et());
1717 for (
unsigned int i = 0;
i < totalHtE->size();
i++) {
1719 errorTotalHtE_Of_->Fill(totalHtE->at(
i).overFlow());
1720 if (!totalHtE->at(
i).overFlow())
1721 errorTotalHtE_->Fill(totalHtE->at(
i).et());
1728 for (
unsigned int i = 0;
i < missingEtD->size();
i++) {
1731 if (!missingEtD->at(
i).overFlow() && missingEtD->at(
i).et() > 0) {
1738 for (
unsigned int i = 0;
i < missingEtE->size();
i++) {
1741 if (!missingEtE->at(
i).overFlow() && missingEtE->at(
i).et()) {
1751 for (
unsigned int i = 0;
i < missingHtD->size();
i++) {
1754 if (!missingHtD->at(
i).overFlow() && missingHtD->at(
i).et() > 0) {
1761 for (
unsigned int i = 0;
i < missingHtE->size();
i++) {
1764 if (!missingHtE->at(
i).overFlow() && missingHtE->at(
i).et() > 0) {
1781 errorDirName.append(
"E");
1783 errorDirName.append(
"H");
1786 for (
unsigned int i = 0;
i < missingHtE->size();
i++) {
1788 for (
unsigned int j = 0;
j < missingHtD->size();
j++) {
1790 if (missingHtD->at(
j).overFlow() != missingHtE->at(
i).overFlow())
1791 errorDirName.append(
"O");
1797 std::stringstream caseNumber;
1799 errorDirName.append(caseNumber.str());
1802 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
1803 "errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1804 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
1805 "errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1806 TH1I *errorMissingEtD_ =
1807 errorDir.
make<TH1I>(
"errorMissingEtD",
"errorMissingEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1808 TH1I *errorMissingEtD_Of_ = errorDir.
make<TH1I>(
1809 "errorMissingEtD_Of",
"errorMissingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1810 TH1I *errorMissingEtD_Phi_ = errorDir.
make<TH1I>(
1811 "errorMissingEtD_Phi",
"errorMissingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1812 TH1I *errorMissingEtE_ =
1813 errorDir.
make<TH1I>(
"errorMissingEtE",
"errorMissingEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1814 TH1I *errorMissingEtE_Of_ = errorDir.
make<TH1I>(
1815 "errorMissingEtE_Of",
"errorMissingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1816 TH1I *errorMissingEtE_Phi_ = errorDir.
make<TH1I>(
1817 "errorMissingEtE_Phi",
"errorMissingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1818 TH1I *errorMissingHtD_ =
1819 errorDir.
make<TH1I>(
"errorMissingHtD",
"errorMissingHtD;H_{T};Number of Events", 1024, -0.5, 1023.5);
1820 TH1I *errorMissingHtD_Of_ = errorDir.
make<TH1I>(
1821 "errorMissingHtD_Of",
"errorMissingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1822 TH1I *errorMissingHtD_Phi_ = errorDir.
make<TH1I>(
1823 "errorMissingHtD_Phi",
"errorMissingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1824 TH1I *errorMissingHtE_ =
1825 errorDir.
make<TH1I>(
"errorMissingHtE",
"errorMissingHtE;H_{T};Number of Events", 1024, -0.5, 1023.5);
1826 TH1I *errorMissingHtE_Of_ = errorDir.
make<TH1I>(
1827 "errorMissingHtE_Of",
"errorMissingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1828 TH1I *errorMissingHtE_Phi_ = errorDir.
make<TH1I>(
1829 "errorMissingHtE_Phi",
"errorMissingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1836 TH1I *errorMissingHtD_HtXPosLeaf1 = errorDir.
make<TH1I>(
1837 "errorMissingHtD_HtXPosLeaf1",
"missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1838 TH1I *errorMissingHtD_HtXPosLeaf2 = errorDir.
make<TH1I>(
1839 "errorMissingHtD_HtXPosLeaf2",
"missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1840 TH1I *errorMissingHtD_HtXPosLeaf3 = errorDir.
make<TH1I>(
1841 "errorMissingHtD_HtXPosLeaf3",
"missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1842 TH1I *errorMissingHtD_HtXNegLeaf1 = errorDir.
make<TH1I>(
1843 "errorMissingHtD_HtXNegLeaf1",
"missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1844 TH1I *errorMissingHtD_HtXNegLeaf2 = errorDir.
make<TH1I>(
1845 "errorMissingHtD_HtXNegLeaf2",
"missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1846 TH1I *errorMissingHtD_HtXNegLeaf3 = errorDir.
make<TH1I>(
1847 "errorMissingHtD_HtXNegLeaf3",
"missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1849 TH1I *errorMissingHtD_HtYPosLeaf1 = errorDir.
make<TH1I>(
1850 "errorMissingHtD_HtYPosLeaf1",
"missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1851 TH1I *errorMissingHtD_HtYPosLeaf2 = errorDir.
make<TH1I>(
1852 "errorMissingHtD_HtYPosLeaf2",
"missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1853 TH1I *errorMissingHtD_HtYPosLeaf3 = errorDir.
make<TH1I>(
1854 "errorMissingHtD_HtYPosLeaf3",
"missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1855 TH1I *errorMissingHtD_HtYNegLeaf1 = errorDir.
make<TH1I>(
1856 "errorMissingHtD_HtYNegLeaf1",
"missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1857 TH1I *errorMissingHtD_HtYNegLeaf2 = errorDir.
make<TH1I>(
1858 "errorMissingHtD_HtYNegLeaf2",
"missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1859 TH1I *errorMissingHtD_HtYNegLeaf3 = errorDir.
make<TH1I>(
1860 "errorMissingHtD_HtYNegLeaf3",
"missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1862 for (
unsigned int i = 0;
i < intMissingHtD->size();
i++) {
1864 if (!intMissingHtD->at(
i).overflow()) {
1865 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 0 &&
1866 intMissingHtD->at(
i).isThereHtx())
1867 errorMissingHtD_HtXPosLeaf1->Fill(intMissingHtD->at(
i).htx());
1868 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 1 &&
1869 intMissingHtD->at(
i).isThereHtx())
1870 errorMissingHtD_HtXPosLeaf2->Fill(intMissingHtD->at(
i).htx());
1871 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 2 &&
1872 intMissingHtD->at(
i).isThereHtx())
1873 errorMissingHtD_HtXPosLeaf3->Fill(intMissingHtD->at(
i).htx());
1874 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 0 &&
1875 intMissingHtD->at(
i).isThereHtx())
1876 errorMissingHtD_HtXNegLeaf1->Fill(intMissingHtD->at(
i).htx());
1877 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 1 &&
1878 intMissingHtD->at(
i).isThereHtx())
1879 errorMissingHtD_HtXNegLeaf2->Fill(intMissingHtD->at(
i).htx());
1880 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 2 &&
1881 intMissingHtD->at(
i).isThereHtx())
1882 errorMissingHtD_HtXNegLeaf3->Fill(intMissingHtD->at(
i).htx());
1884 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 0 &&
1885 intMissingHtD->at(
i).isThereHty())
1886 errorMissingHtD_HtYPosLeaf1->Fill(intMissingHtD->at(
i).hty());
1887 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 1 &&
1888 intMissingHtD->at(
i).isThereHty())
1889 errorMissingHtD_HtYPosLeaf2->Fill(intMissingHtD->at(
i).hty());
1890 if (intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 2 &&
1891 intMissingHtD->at(
i).isThereHty())
1892 errorMissingHtD_HtYPosLeaf3->Fill(intMissingHtD->at(
i).hty());
1893 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 0 &&
1894 intMissingHtD->at(
i).isThereHty())
1895 errorMissingHtD_HtYNegLeaf1->Fill(intMissingHtD->at(
i).hty());
1896 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 1 &&
1897 intMissingHtD->at(
i).isThereHty())
1898 errorMissingHtD_HtYNegLeaf2->Fill(intMissingHtD->at(
i).hty());
1899 if (intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 2 &&
1900 intMissingHtD->at(
i).isThereHty())
1901 errorMissingHtD_HtYNegLeaf3->Fill(intMissingHtD->at(
i).hty());
1909 TH2I *errorIntJetsE_EtEtaPhi = errorDir.
make<TH2I>(
"errorIntJetsE_EtEtaPhi",
1910 "errorIntJetsE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1918 for (
unsigned int i = 0;
i < intJetsE->size();
i++) {
1920 if (!intJetsE->at(
i).oflow() && intJetsE->at(
i).et())
1921 errorIntJetsE_EtEtaPhi->Fill(
1922 intJetsE->at(
i).regionId().ieta(), intJetsE->at(
i).regionId().iphi(), intJetsE->at(
i).et());
1937 for (
unsigned int i = 0;
i < missingEtD->size();
i++) {
1939 errorMissingEtD_Of_->Fill(missingEtD->at(
i).overFlow());
1940 if (!missingEtD->at(
i).overFlow()) {
1941 errorMissingEtD_->Fill(missingEtD->at(
i).et());
1942 errorMissingEtD_Phi_->Fill(missingEtD->at(
i).phi());
1946 for (
unsigned int i = 0;
i < missingHtD->size();
i++) {
1948 errorMissingHtD_Of_->Fill(missingHtD->at(
i).overFlow());
1949 if (!missingHtD->at(
i).overFlow()) {
1950 errorMissingHtD_->Fill(missingHtD->at(
i).et());
1951 errorMissingHtD_Phi_->Fill(missingHtD->at(
i).phi());
1956 for (
unsigned int i = 0;
i < missingEtE->size();
i++) {
1958 errorMissingEtE_Of_->Fill(missingEtE->at(
i).overFlow());
1959 if (!missingEtE->at(
i).overFlow()) {
1960 errorMissingEtE_->Fill(missingEtE->at(
i).et());
1961 errorMissingEtE_Phi_->Fill(missingEtE->at(
i).phi());
1965 for (
unsigned int i = 0;
i < missingHtE->size();
i++) {
1967 errorMissingHtE_Of_->Fill(missingHtE->at(
i).overFlow());
1968 if (!missingHtE->at(
i)
1970 errorMissingHtE_->Fill(missingHtE->at(
i).et());
1971 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)
static const std::string kSharedResource
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)
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_
#define DEFINE_FWK_MODULE(type)
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