272 doRCT_( iConfig.getUntrackedParameter<bool>(
"doRCT",
true) ),
273 doEg_( iConfig.getUntrackedParameter<bool>(
"doEg",
true) ),
274 doIsoDebug_( iConfig.getUntrackedParameter<bool>(
"doIsoDebug",
true) ),
275 doNonIsoDebug_( iConfig.getUntrackedParameter<bool>(
"doNonIsoDebug",
true) ),
276 doJets_( iConfig.getUntrackedParameter<bool>(
"doJets",
true) ),
277 doCenJetsDebug_( iConfig.getUntrackedParameter<bool>(
"doCenJetsDebug",
true) ),
278 doTauJetsDebug_( iConfig.getUntrackedParameter<bool>(
"doTauJetsDebug",
true) ),
279 doForJetsDebug_( iConfig.getUntrackedParameter<bool>(
"doForJetsDebug",
true) ),
280 doHF_( iConfig.getUntrackedParameter<bool>(
"doHF",
true) ),
281 doRingSumDebug_( iConfig.getUntrackedParameter<bool>(
"doRingSumDebug",
true) ),
282 doBitCountDebug_( iConfig.getUntrackedParameter<bool>(
"doBitCountDebug",
true) ),
283 doTotalEnergySums_( iConfig.getUntrackedParameter<bool>(
"doTotalEnergySums",
true) ),
284 doTotalEtDebug_( iConfig.getUntrackedParameter<bool>(
"doTotalEtDebug",
true) ),
285 doTotalHtDebug_( iConfig.getUntrackedParameter<bool>(
"doTotalHtDebug",
true) ),
286 doMissingEnergySums_( iConfig.getUntrackedParameter<bool>(
"doMissingEnergySums",
true) ),
287 doMissingETDebug_( iConfig.getUntrackedParameter<bool>(
"doMissingETDebug",
true) ),
288 doMissingHTDebug_( iConfig.getUntrackedParameter<bool>(
"doMissingHTDebug",
true) ),
289 doExtraMissingHTDebug_( iConfig.getUntrackedParameter<bool>(
"doExtraMissingHTDebug",
false) ),
290 doRCTMBx_( iConfig.getUntrackedParameter<bool>(
"doRCTMBx",
false)),
291 doEmuMBx_( iConfig.getUntrackedParameter<bool>(
"doEmuMBx",
false)),
292 doGCTMBx_( iConfig.getUntrackedParameter<bool>(
"doGCTMBx",
false)),
293 RCTTrigBx_( iConfig.getUntrackedParameter<int>(
"RCTTrigBx", 0)),
294 EmuTrigBx_( iConfig.getUntrackedParameter<int>(
"EmuTrigBx", 0)),
295 GCTTrigBx_( iConfig.getUntrackedParameter<int>(
"GCTTrigBx", 0)),
296 dataTag_( iConfig.getUntrackedParameter<edm::InputTag>(
"dataTag", edm::InputTag(
"gctDigis")) ),
297 emuTag_( iConfig.getUntrackedParameter<edm::InputTag>(
"emuTag", edm::InputTag(
"gctEmuDigis")) ),
298 useSys_( iConfig.getUntrackedParameter<std::
string>(
"useSys",
"P5"))
306 std::vector<std::string> quantities;
307 quantities.push_back(
"IsoEm");
308 quantities.push_back(
"NonIsoEM");
309 quantities.push_back(
"CenJets");
310 quantities.push_back(
"TauJets");
311 quantities.push_back(
"ForJets");
312 quantities.push_back(
"HFRingSums");
313 quantities.push_back(
"HFBitCounts");
314 quantities.push_back(
"TotalESums");
315 quantities.push_back(
"MissingESums");
319 std::vector<TFileDirectory> emuHistCat;
323 std::vector<TFileDirectory> dataHistCat;
331 for(
unsigned int i=0;
i<quantities.size();
i++) {
333 emuHistCat.push_back(emuHist.
mkdir(quantities.at(
i)));
334 dataHistCat.push_back(dataHist.
mkdir(quantities.at(
i)));
338 dataHistCat.push_back(dataHist.
mkdir(
"RCTRegions"));
340 emuHistCat.push_back(emuHist.
mkdir(
"IntJets"));
350 RCT_EtEtaPhi_ = dataHistCat.at(9).make<TH2I>(
"RCT_EtEtaPhi",
"RCT_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
351 RCT_TvEtaPhi_ = dataHistCat.at(9).make<TH2I>(
"RCT_TvEtaPhi",
"RCT_TvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
352 RCT_FgEtaPhi_ = dataHistCat.at(9).make<TH2I>(
"RCT_FgEtaPhi",
"RCT_FgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
353 RCT_OfEtaPhi_ = dataHistCat.at(9).make<TH2I>(
"RCT_OfEtEtaPhi",
"RCT_OfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
355 isoEgD_Rank_ = dataHistCat.at(0).make<TH1I>(
"isoEgD_Rank",
"isoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
356 isoEgE_Rank_ = emuHistCat.at(0).make<TH1I>(
"isoEgE_Rank",
"isoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
357 isoEgD_EtEtaPhi_ = dataHistCat.at(0).make<TH2I>(
"isoEgD_EtEtaPhi",
"isoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
358 isoEgE_EtEtaPhi_ = emuHistCat.at(0).make<TH2I>(
"isoEgE_EtEtaPhi",
"isoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
359 isoEgD_OccEtaPhi_ = dataHistCat.at(0).make<TH2I>(
"isoEgD_OccEtaPhi",
"isoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
360 isoEgE_OccEtaPhi_ = emuHistCat.at(0).make<TH2I>(
"isoEgE_OccEtaPhi",
"isoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
361 isoEg_errorFlag_ = errorHistFlags.
make<TH1I>(
"isoEg_errorFlag",
"isoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
368 nonIsoEgD_Rank_ = dataHistCat.at(1).make<TH1I>(
"nonIsoEgD_Rank",
"nonIsoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
369 nonIsoEgE_Rank_ = emuHistCat.at(1).make<TH1I>(
"nonIsoEgE_Rank",
"nonIsoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
370 nonIsoEgD_EtEtaPhi_ = dataHistCat.at(1).make<TH2I>(
"nonIsoEgD_EtEtaPhi",
"nonIsoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
371 nonIsoEgE_EtEtaPhi_ = emuHistCat.at(1).make<TH2I>(
"nonIsoEgE_EtEtaPhi",
"nonIsoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
372 nonIsoEgD_OccEtaPhi_ = dataHistCat.at(1).make<TH2I>(
"nonIsoEgD_OccEtaPhi",
"nonIsoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
373 nonIsoEgE_OccEtaPhi_ = emuHistCat.at(1).make<TH2I>(
"nonIsoEgE_OccEtaPhi",
"nonIsoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
374 nonIsoEg_errorFlag_ = errorHistFlags.
make<TH1I>(
"nonIsoEg_errorFlag",
"nonIsoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
381 cenJetD_Rank_ = dataHistCat.at(2).make<TH1I>(
"cenJetD_Rank",
"cenJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
382 cenJetE_Rank_ = emuHistCat.at(2).make<TH1I>(
"cenJetE_Rank",
"cenJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
383 cenJetD_EtEtaPhi_ = dataHistCat.at(2).make<TH2I>(
"cenJetD_EtEtaPhi",
"cenJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
384 cenJetE_EtEtaPhi_ = emuHistCat.at(2).make<TH2I>(
"cenJetE_EtEtaPhi",
"cenJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
385 cenJetD_OccEtaPhi_ = dataHistCat.at(2).make<TH2I>(
"cenJetD_OccEtaPhi",
"cenJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
386 cenJetE_OccEtaPhi_ = emuHistCat.at(2).make<TH2I>(
"cenJetE_OccEtaPhi",
"cenJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
387 cenJet_errorFlag_ = errorHistFlags.
make<TH1I>(
"cenJet_errorFlag",
"cenJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
394 tauJetD_Rank_ = dataHistCat.at(3).make<TH1I>(
"tauJetD_Rank",
"tauJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
395 tauJetE_Rank_ = emuHistCat.at(3).make<TH1I>(
"tauJetE_Rank",
"tauJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
396 tauJetD_EtEtaPhi_ = dataHistCat.at(3).make<TH2I>(
"tauJetD_EtEtaPhi",
"tauJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
397 tauJetE_EtEtaPhi_ = emuHistCat.at(3).make<TH2I>(
"tauJetE_EtEtaPhi",
"tauJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
398 tauJetD_OccEtaPhi_ = dataHistCat.at(3).make<TH2I>(
"tauJetD_OccEtaPhi",
"tauJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
399 tauJetE_OccEtaPhi_ = emuHistCat.at(3).make<TH2I>(
"tauJetE_OccEtaPhi",
"tauJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
400 tauJet_errorFlag_ = errorHistFlags.
make<TH1I>(
"tauJet_errorFlag",
"tauJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
407 forJetD_Rank_ = dataHistCat.at(4).make<TH1I>(
"forJetD_Rank",
"forJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
408 forJetE_Rank_ = emuHistCat.at(4).make<TH1I>(
"forJetE_Rank",
"forJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
409 forJetD_EtEtaPhi_ = dataHistCat.at(4).make<TH2I>(
"forJetD_EtEtaPhi",
"forJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
410 forJetE_EtEtaPhi_ = emuHistCat.at(4).make<TH2I>(
"forJetE_EtEtaPhi",
"forJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
411 forJetD_OccEtaPhi_ = dataHistCat.at(4).make<TH2I>(
"forJetD_OccEtaPhi",
"forJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
412 forJetE_OccEtaPhi_ = emuHistCat.at(4).make<TH2I>(
"forJetE_OccEtaPhi",
"forJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
413 forJet_errorFlag_ = errorHistFlags.
make<TH1I>(
"forJet_errorFlag",
"forJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
420 intJetEtEtaPhiE_ = emuHistCat.at(9).make<TH2I>(
"intJetEtEtaPhiE_",
"intJetEtEtaPhiE_;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
421 intJetE_Et_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Et",
"intJetE_Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
422 intJetE_Of_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Of",
"intJetE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
423 intJetE_Jet1Et_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Jet1Et",
"intJetE_Jet1Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
424 intJetE_Jet2Et_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Jet2Et",
"intJetE_Jet2Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
425 intJetE_Jet3Et_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Jet3Et",
"intJetE_Jet3Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
426 intJetE_Jet4Et_ = emuHistCat.at(9).make<TH1I>(
"intJetE_Jet4Et",
"intJetE_Jet4Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
428 hfRingSumD_1pos_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_1+",
"hfRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
429 hfRingSumD_1neg_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_1-",
"hfRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
430 hfRingSumD_2pos_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_2+",
"hfRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
431 hfRingSumD_2neg_ = dataHistCat.at(5).make<TH1I>(
"hfRingSumD_2-",
"hfRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
432 hfRingSumE_1pos_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_1+",
"hfRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
433 hfRingSumE_1neg_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_1-",
"hfRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
434 hfRingSumE_2pos_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_2+",
"hfRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
435 hfRingSumE_2neg_ = emuHistCat.at(5).make<TH1I>(
"hfRingSumE_2-",
"hfRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
436 hfRingSum_errorFlag_ = errorHistFlags.
make<TH1I>(
"hfRingSum_errorFlag",
"hfRingSum_errorFlag;Status;Number of Candidates",2,-0.5,1.5);
438 hfBitCountD_1pos_ = dataHistCat.at(6).make<TH1I>(
"hfBitCountD_1+",
"hfBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
439 hfBitCountD_1neg_ = dataHistCat.at(6).make<TH1I>(
"hfBitCountD_1-",
"hfBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
440 hfBitCountD_2pos_ = dataHistCat.at(6).make<TH1I>(
"hfBitCountD_2+",
"hfBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
441 hfBitCountD_2neg_ = dataHistCat.at(6).make<TH1I>(
"hfBitCountD_2-",
"hfBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
442 hfBitCountE_1pos_ = emuHistCat.at(6).make<TH1I>(
"hfBitCountE_1+",
"hfBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
443 hfBitCountE_1neg_ = emuHistCat.at(6).make<TH1I>(
"hfBitCountE_1-",
"hfBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
444 hfBitCountE_2pos_ = emuHistCat.at(6).make<TH1I>(
"hfBitCountE_2+",
"hfBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
445 hfBitCountE_2neg_ = emuHistCat.at(6).make<TH1I>(
"hfBitCountE_2-",
"hfBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
446 hfBitCount_errorFlag_ = errorHistFlags.
make<TH1I>(
"hfBitCount_errorFlag",
"hfBitCount_errorFlag;Status;Number of Candidates",2,-0.5,1.5);
448 totalEtD_ = dataHistCat.at(7).make<TH1I>(
"totalEtD",
"totalEtD;E_{T};Number of Events", 2048, -0.5, 2047.5);
449 totalEtD_Of_ = dataHistCat.at(7).make<TH1I>(
"totalEtD_Of",
"totalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
450 totalEtE_ = emuHistCat.at(7).make<TH1I>(
"totalEtE",
"totalEtE;E_{T};Number of Events", 2048, -0.5, 2047.5);
451 totalEtE_Of_ = emuHistCat.at(7).make<TH1I>(
"totalEtE_Of",
"totalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
452 totalEt_errorFlag_ = errorHistFlags.
make<TH1I>(
"totalEt_errorFlag",
"totalEt_errorFlag;Status;Number of Candidates",2,-0.5,1.5);
459 totalHtD_ = dataHistCat.at(7).make<TH1I>(
"totalHtD",
"totalHtD;H_{T};Number of Events", 2048, -0.5, 2047.5);
460 totalHtD_Of_ = dataHistCat.at(7).make<TH1I>(
"totalHtD_Of",
"totalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
461 totalHtE_ = emuHistCat.at(7).make<TH1I>(
"totalHtE",
"totalHtE;H_{T};Number of Events", 2048, -0.5, 2047.5);
462 totalHtE_Of_ = emuHistCat.at(7).make<TH1I>(
"totalHtE_Of",
"totalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
463 totalHt_errorFlag_ = errorHistFlags.
make<TH1I>(
"totalHt_errorFlag",
"totalHt_errorFlag;Status;Number of Candidates",2,-0.5,1.5);
470 missingEtD_ = dataHistCat.at(8).make<TH1I>(
"missingEtD",
"missingEtD;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
471 missingEtD_Of_ = dataHistCat.at(8).make<TH1I>(
"missingEtD_Of",
"missingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
472 missingEtD_Phi_ = dataHistCat.at(8).make<TH1I>(
"missingEtD_Phi",
"missingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
473 missingEtE_ = emuHistCat.at(8).make<TH1I>(
"missingEtE",
"missingEtE;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
474 missingEtE_Of_ = emuHistCat.at(8).make<TH1I>(
"missingEtE_Of",
"missingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
475 missingEtE_Phi_ = emuHistCat.at(8).make<TH1I>(
"missingEtE_Phi",
"missingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
476 missingEt_errorFlag_ = errorHistFlags.
make<TH1I>(
"missingEt_errorFlag",
"missingEt_errorFlag;Status;Number of Candidates",4,-0.5,3.5);
478 missingHtD_ = dataHistCat.at(8).make<TH1I>(
"missingHtD",
"missingHtD;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
479 missingHtD_Of_ = dataHistCat.at(8).make<TH1I>(
"missingHtD_Of",
"missingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
480 missingHtD_Phi_ = dataHistCat.at(8).make<TH1I>(
"missingHtD_Phi",
"missingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
481 missingHtE_ = emuHistCat.at(8).make<TH1I>(
"missingHtE",
"missingHtE;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
482 missingHtE_Of_ = emuHistCat.at(8).make<TH1I>(
"missingHtE_Of",
"missingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
483 missingHtE_Phi_ = emuHistCat.at(8).make<TH1I>(
"missingHtE_Phi",
"missingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
484 missingHt_errorFlag_ = errorHistFlags.
make<TH1I>(
"missingHt_errorFlag",
"missingHt_errorFlag;Status;Number of Candidates",4,-0.5,3.5);
486 missingHtD_HtXPosLeaf1 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtXPosLeaf1",
"missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
487 missingHtD_HtXPosLeaf2 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtXPosLeaf2",
"missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
488 missingHtD_HtXPosLeaf3 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtXPosLeaf3",
"missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
489 missingHtD_HtXNegLeaf1 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtXNegLeaf1",
"missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
490 missingHtD_HtXNegLeaf2 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtXNegLeaf2",
"missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
491 missingHtD_HtXNegLeaf3 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtXNegLeaf3",
"missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
493 missingHtD_HtYPosLeaf1 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtYPosLeaf1",
"missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
494 missingHtD_HtYPosLeaf2 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtYPosLeaf2",
"missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
495 missingHtD_HtYPosLeaf3 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtYPosLeaf3",
"missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
496 missingHtD_HtYNegLeaf1 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtYNegLeaf1",
"missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
497 missingHtD_HtYNegLeaf2 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtYNegLeaf2",
"missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
498 missingHtD_HtYNegLeaf3 = dataHistCat.at(8).make<TH1I>(
"missingHtD_HtYNegLeaf3",
"missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
502 std::vector<std::string> errorFlagLabels;
503 errorFlagLabels.push_back(
"Matched");
504 errorFlagLabels.push_back(
"Unmatched Data Cand");
505 errorFlagLabels.push_back(
"Unmatched Emul Cand");
507 for(
unsigned int i=0;
i<errorFlagLabels.size();
i++) {
514 errorFlagLabels.clear();
517 errorFlagLabels.push_back(
"Matched");
518 errorFlagLabels.push_back(
"Unmatched");
520 for(
unsigned int i=0;
i<errorFlagLabels.size();
i++) {
526 errorFlagLabels.clear();
529 errorFlagLabels.push_back(
"Matched");
530 errorFlagLabels.push_back(
"Matched Mag");
531 errorFlagLabels.push_back(
"Matched Phi");
532 errorFlagLabels.push_back(
"Unmatched");
534 for(
unsigned int i=0;
i<errorFlagLabels.size();
i++) {
565 edm::LogWarning(
"ChosenSystem") <<
" " <<
"The system you chose to use (" <<
useSys_ <<
") was not recognised. Defaulting to the full system geometry";
709 plotJetErrors(cenJetsD, cenJetsE, tauJetsD, tauJetsE, forJetsD, forJetsE, caloRegions);
736 plotHFErrors(hfRingSumsD, hfRingSumsE, hfBitCountsD, hfBitCountsE, caloRegions);
794 for(
unsigned int i=0;
i<intHtMissD->size();
i++) {
796 if(!intHtMissD->at(
i).overflow()) {
798 if(intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 0 && intHtMissD->at(
i).isThereHtx())
missingHtD_HtXPosLeaf1->Fill(intHtMissD->at(
i).htx());
799 if(intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 1 && intHtMissD->at(
i).isThereHtx())
missingHtD_HtXPosLeaf2->Fill(intHtMissD->at(
i).htx());
800 if(intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 2 && intHtMissD->at(
i).isThereHtx())
missingHtD_HtXPosLeaf3->Fill(intHtMissD->at(
i).htx());
801 if(intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 0 && intHtMissD->at(
i).isThereHtx())
missingHtD_HtXNegLeaf1->Fill(intHtMissD->at(
i).htx());
802 if(intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 1 && intHtMissD->at(
i).isThereHtx())
missingHtD_HtXNegLeaf2->Fill(intHtMissD->at(
i).htx());
803 if(intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 2 && intHtMissD->at(
i).isThereHtx())
missingHtD_HtXNegLeaf3->Fill(intHtMissD->at(
i).htx());
805 if(intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 0 && intHtMissD->at(
i).isThereHty())
missingHtD_HtYPosLeaf1->Fill(intHtMissD->at(
i).hty());
806 if(intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 1 && intHtMissD->at(
i).isThereHty())
missingHtD_HtYPosLeaf2->Fill(intHtMissD->at(
i).hty());
807 if(intHtMissD->at(
i).capBlock() == 0x301 && intHtMissD->at(
i).capIndex() == 2 && intHtMissD->at(
i).isThereHty())
missingHtD_HtYPosLeaf3->Fill(intHtMissD->at(
i).hty());
808 if(intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 0 && intHtMissD->at(
i).isThereHty())
missingHtD_HtYNegLeaf1->Fill(intHtMissD->at(
i).hty());
809 if(intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 1 && intHtMissD->at(
i).isThereHty())
missingHtD_HtYNegLeaf2->Fill(intHtMissD->at(
i).hty());
810 if(intHtMissD->at(
i).capBlock() == 0x701 && intHtMissD->at(
i).capIndex() == 2 && intHtMissD->at(
i).isThereHty())
missingHtD_HtYNegLeaf3->Fill(intHtMissD->at(
i).hty());
819 plotMissingEErrors(missingEtD, missingEtE, missingHtD, missingHtE, caloRegions, intJetsE, intHtMissD);
841 for(
unsigned int i=0;
i < caloRegions->size();
i++) {
845 if(caloRegions->at(
i).et()>0)
RCT_EtEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi(),caloRegions->at(
i).et());
846 if(caloRegions->at(
i).tauVeto())
RCT_TvEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
847 if(caloRegions->at(
i).fineGrain())
RCT_FgEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
848 if(caloRegions->at(
i).overFlow())
RCT_OfEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
856 for (
unsigned int i=0;
i < isoEgD->size();
i++) {
860 if(isoEgD->at(
i).rank()>0) {
861 isoEgD_EtEtaPhi_->Fill(isoEgD->at(
i).regionId().ieta(), isoEgD->at(
i).regionId().iphi(), isoEgD->at(
i).rank());
867 for(
unsigned int i=0;
i < isoEgE->size();
i++) {
870 if(isoEgE->at(
i).rank()>0) {
871 isoEgE_EtEtaPhi_->Fill(isoEgE->at(
i).regionId().ieta(), isoEgE->at(
i).regionId().iphi(), isoEgE->at(
i).rank());
881 for (
unsigned int i=0;
i < nonIsoEgD->size();
i++) {
885 if(nonIsoEgD->at(
i).rank()>0) {
886 nonIsoEgD_EtEtaPhi_->Fill(nonIsoEgD->at(
i).regionId().ieta(), nonIsoEgD->at(
i).regionId().iphi(), nonIsoEgD->at(
i).rank());
892 for(
unsigned int i=0;
i < nonIsoEgE->size();
i++) {
895 if(nonIsoEgE->at(
i).rank()>0) {
896 nonIsoEgE_EtEtaPhi_->Fill(nonIsoEgE->at(
i).regionId().ieta(), nonIsoEgE->at(
i).regionId().iphi(), nonIsoEgE->at(
i).rank());
909 std::stringstream caseNumber;
911 errorDirName.append(caseNumber.str());
914 TH2I *errorEmRegionIsoEtEtaPhi_ = errorDir.
make<TH2I>(
"errorEmRegionIsoEtEtaPhi",
"errorEmRegionIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",22, -0.5, 21.5, 18, -0.5, 17.5);
915 TH2I *errorEmRegionNonIsoEtEtaPhi_ = errorDir.
make<TH2I>(
"errorEmRegionNonIsoEtEtaPhi",
"errorEmRegionNonIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",22, -0.5, 21.5, 18, -0.5, 17.5);
916 TH2I *errorIsoEtEtaPhiD_ = errorDir.
make<TH2I>(
"errorIsoEtEtaPhiD",
"errorIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)",22, -0.5, 21.5, 18, -0.5, 17.5);
917 TH2I *errorNonIsoEtEtaPhiD_ = errorDir.
make<TH2I>(
"errorNonIsoEtEtaPhiD",
"errorNonIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)",22, -0.5, 21.5, 18, -0.5, 17.5);
918 TH2I *errorIsoEtEtaPhiE_ = errorDir.
make<TH2I>(
"errorIsoEtEtaPhiE",
"errorIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)",22, -0.5, 21.5, 18, -0.5, 17.5);
919 TH2I *errorNonIsoEtEtaPhiE_ = errorDir.
make<TH2I>(
"errorNonIsoEtEtaPhiE",
"errorNonIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)",22, -0.5, 21.5, 18, -0.5, 17.5);
924 for(
unsigned int i=0;
i < emRegions->size();
i++) {
926 if(emRegions->at(
i).isolated()) {
927 if(emRegions->at(
i).rank()>0) errorEmRegionIsoEtEtaPhi_->Fill(emRegions->at(
i).regionId().ieta(),emRegions->at(
i).regionId().iphi(),emRegions->at(
i).rank());
930 if(emRegions->at(
i).rank()>0) errorEmRegionNonIsoEtEtaPhi_->Fill(emRegions->at(
i).regionId().ieta(),emRegions->at(
i).regionId().iphi(),emRegions->at(
i).rank());
937 for(
unsigned int i=0;
i < isoEgD->size();
i++) {
939 if(isoEgD->at(
i).rank()>0) errorIsoEtEtaPhiD_->Fill(isoEgD->at(
i).regionId().ieta(),isoEgD->at(
i).regionId().iphi(),isoEgD->at(
i).rank());
942 for(
unsigned int i=0;
i < nonIsoEgD->size();
i++) {
944 if(nonIsoEgD->at(
i).rank()>0) errorNonIsoEtEtaPhiD_->Fill(nonIsoEgD->at(
i).regionId().ieta(),nonIsoEgD->at(
i).regionId().iphi(),nonIsoEgD->at(
i).rank());
949 for(
unsigned int i=0;
i < isoEgE->size();
i++) {
951 if(isoEgE->at(
i).rank()>0) errorIsoEtEtaPhiE_->Fill(isoEgE->at(
i).regionId().ieta(),isoEgE->at(
i).regionId().iphi(),isoEgE->at(
i).rank());
954 for(
unsigned int i=0;
i < nonIsoEgE->size();
i++) {
956 if(nonIsoEgE->at(
i).rank()>0) errorNonIsoEtEtaPhiE_->Fill(nonIsoEgE->at(
i).regionId().ieta(),nonIsoEgE->at(
i).regionId().iphi(),nonIsoEgE->at(
i).rank());
964 for (
unsigned int i=0;
i < cenJetsD->size();
i++) {
967 if(cenJetsD->at(
i).rank()>0) {
968 cenJetD_EtEtaPhi_->Fill(cenJetsD->at(
i).regionId().ieta(),cenJetsD->at(
i).regionId().iphi(),cenJetsD->at(
i).rank());
974 for(
unsigned int i=0;
i < cenJetsE->size();
i++) {
977 if(cenJetsE->at(
i).rank()>0) {
978 cenJetE_EtEtaPhi_->Fill(cenJetsE->at(
i).regionId().ieta(),cenJetsE->at(
i).regionId().iphi(),cenJetsE->at(
i).rank());
988 for (
unsigned int i=0;
i < tauJetsD->size();
i++) {
991 if(tauJetsD->at(
i).rank()>0) {
992 tauJetD_EtEtaPhi_->Fill(tauJetsD->at(
i).regionId().ieta(),tauJetsD->at(
i).regionId().iphi(),tauJetsD->at(
i).rank());
998 for(
unsigned int i=0;
i < tauJetsE->size();
i++) {
1001 if(tauJetsE->at(
i).rank()>0) {
1002 tauJetE_EtEtaPhi_->Fill(tauJetsE->at(
i).regionId().ieta(),tauJetsE->at(
i).regionId().iphi(),tauJetsE->at(
i).rank());
1012 for (
unsigned int i=0;
i < forJetsD->size();
i++) {
1015 if(forJetsD->at(
i).rank()>0) {
1016 forJetD_EtEtaPhi_->Fill(forJetsD->at(
i).regionId().ieta(),forJetsD->at(
i).regionId().iphi(),forJetsD->at(
i).rank());
1022 for(
unsigned int i=0;
i < forJetsE->size();
i++) {
1025 if(forJetsE->at(
i).rank()>0) {
1026 forJetE_EtEtaPhi_->Fill(forJetsE->at(
i).regionId().ieta(),forJetsE->at(
i).regionId().iphi(),forJetsE->at(
i).rank());
1041 for(
unsigned int i=0;
i < intJetsE->size();
i++) {
1048 intJet.
et = intJetsE->at(
i).et();
1049 intJet.
phi = intJetsE->at(
i).phi();
1050 intJet.
eta = intJetsE->at(
i).eta();
1056 if(intJetsE->at(
i).oflow()) {
1062 if(intJetsE->at(
i).et())
intJetEtEtaPhiE_->Fill(intJetsE->at(
i).regionId().ieta(),intJetsE->at(
i).regionId().iphi(),intJetsE->at(
i).et());
1072 std::vector<TH1I *> leadingJetDist(4);
1080 unsigned int currentEt=0;
1081 while(intJetCollection.at(i).et > 0) {
1083 if(j < leadingJetDist.size()) {
1085 leadingJetDist.at(j)->Fill(intJetCollection.at(i).et);
1086 currentEt = intJetCollection.at(i).et;
1089 if(intJetCollection.at(i).et < currentEt) {
1090 leadingJetDist.at(j)->Fill(intJetCollection.at(i).et);
1091 currentEt = intJetCollection.at(i).et;
1106 return jet1.
et > jet2.
et;
1116 if(!collection.isValid()) {
1117 edm::LogWarning(
"DataNotFound") <<
" Could not find " << label <<
" label";
1120 if(collection->size() % constraint != 0 || collection->size() == 0) {
1121 edm::LogWarning(
"CollectionSizeError") <<
" " << label <<
" collection size is " << collection->size() <<
", expected multiple of " << constraint;
1135 std::stringstream caseNumber;
1137 errorDirName.append(caseNumber.str());
1140 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1141 TH2I *errorRegionTvEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionTvEtaPhi",
"errorRegionTvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1142 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1145 for(
unsigned int i=0;
i<caloRegions->size();
i++) {
1147 if(caloRegions->at(
i).et()>0) errorRegionEtEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi(),caloRegions->at(
i).et());
1148 if(caloRegions->at(
i).tauVeto()) errorRegionTvEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
1149 if(caloRegions->at(
i).overFlow()) errorRegionOfEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
1153 TH2I *cenJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"cenJet_errorEtEtaPhiData",
"cenJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1154 TH2I *cenJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"cenJet_errorEtEtaPhiEmu",
"cenJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1155 TH2I *tauJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"tauJet_errorEtEtaPhiData",
"tauJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1156 TH2I *tauJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"tauJet_errorEtEtaPhiEmu",
"tauJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1157 TH2I *forJet_errorEtEtaPhiData_ = errorDir.
make<TH2I>(
"forJet_errorEtEtaPhiData",
"forJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1158 TH2I *forJet_errorEtEtaPhiEmu_ = errorDir.
make<TH2I>(
"forJet_errorEtEtaPhiEmu",
"forJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1161 for(
unsigned int i=0;
i < cenJetsD->size();
i++) {
1163 if(cenJetsD->at(
i).rank()>0) cenJet_errorEtEtaPhiData_->Fill(cenJetsD->at(
i).regionId().ieta(),cenJetsD->at(
i).regionId().iphi(),cenJetsD->at(
i).rank());
1166 for(
unsigned int i=0;
i < tauJetsD->size();
i++) {
1168 if(tauJetsD->at(
i).rank()>0) tauJet_errorEtEtaPhiData_->Fill(tauJetsD->at(
i).regionId().ieta(),tauJetsD->at(
i).regionId().iphi(),tauJetsD->at(
i).rank());
1171 for(
unsigned int i=0;
i < forJetsD->size();
i++) {
1173 if(forJetsD->at(
i).rank()>0) forJet_errorEtEtaPhiData_->Fill(forJetsD->at(
i).regionId().ieta(),forJetsD->at(
i).regionId().iphi(),forJetsD->at(
i).rank());
1178 for(
unsigned int i=0;
i < cenJetsE->size();
i++) {
1180 if(cenJetsE->at(
i).rank()>0) cenJet_errorEtEtaPhiEmu_->Fill(cenJetsE->at(
i).regionId().ieta(),cenJetsE->at(
i).regionId().iphi(),cenJetsE->at(
i).rank());
1183 for(
unsigned int i=0;
i < tauJetsE->size();
i++) {
1185 if(tauJetsE->at(
i).rank()>0) tauJet_errorEtEtaPhiEmu_->Fill(tauJetsE->at(
i).regionId().ieta(),tauJetsE->at(
i).regionId().iphi(),tauJetsE->at(
i).rank());
1188 for(
unsigned int i=0;
i < forJetsE->size();
i++) {
1190 if(forJetsE->at(
i).rank()>0) forJet_errorEtEtaPhiEmu_->Fill(forJetsE->at(
i).regionId().ieta(),forJetsE->at(
i).regionId().iphi(),forJetsE->at(
i).rank());
1199 for(
unsigned int i=0;
i < hfRingSumsD->size();
i++) {
1209 for(
unsigned int i=0;
i < hfRingSumsE->size();
i++) {
1222 for(
unsigned int i=0;
i < hfBitCountsD->size();
i++) {
1231 for(
unsigned int i=0;
i < hfBitCountsE->size();
i++) {
1247 std::stringstream caseNumber;
1249 errorDirName.append(caseNumber.str());
1252 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1253 TH2I *errorRegionFgEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionFgEtaPhi",
"errorRegionFgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1254 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1256 TH1I *errorHFRingSumD_1pos_ = errorDir.
make<TH1I>(
"errorHFRingSumD_1+",
"errorHFRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1257 TH1I *errorHFRingSumD_2pos_ = errorDir.
make<TH1I>(
"errorHFRingSumD_2+",
"errorHFRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1258 TH1I *errorHFRingSumD_1neg_ = errorDir.
make<TH1I>(
"errorHFRingSumD_1-",
"errorHFRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1259 TH1I *errorHFRingSumD_2neg_ = errorDir.
make<TH1I>(
"errorHFRingSumD_2-",
"errorHFRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1260 TH1I *errorHFRingSumE_1pos_ = errorDir.
make<TH1I>(
"errorHFRingSumE_1+",
"errorHFRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1261 TH1I *errorHFRingSumE_2pos_ = errorDir.
make<TH1I>(
"errorHFRingSumE_2+",
"errorHFRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1262 TH1I *errorHFRingSumE_1neg_ = errorDir.
make<TH1I>(
"errorHFRingSumE_1-",
"errorHFRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1263 TH1I *errorHFRingSumE_2neg_ = errorDir.
make<TH1I>(
"errorHFRingSumE_2-",
"errorHFRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1265 TH1I *errorHFBitCountD_1pos_ = errorDir.
make<TH1I>(
"errorHFBitCountD_1+",
"errorHFBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1266 TH1I *errorHFBitCountD_2pos_ = errorDir.
make<TH1I>(
"errorHFBitCountD_2+",
"errorHFBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1267 TH1I *errorHFBitCountD_1neg_ = errorDir.
make<TH1I>(
"errorHFBitCountD_1-",
"errorHFBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1268 TH1I *errorHFBitCountD_2neg_ = errorDir.
make<TH1I>(
"errorHFBitCountD_2-",
"errorHFBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1269 TH1I *errorHFBitCountE_1pos_ = errorDir.
make<TH1I>(
"errorHFBitCountE_1+",
"errorHFBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1270 TH1I *errorHFBitCountE_2pos_ = errorDir.
make<TH1I>(
"errorHFBitCountE_2+",
"errorHFBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1271 TH1I *errorHFBitCountE_1neg_ = errorDir.
make<TH1I>(
"errorHFBitCountE_1-",
"errorHFBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1272 TH1I *errorHFBitCountE_2neg_ = errorDir.
make<TH1I>(
"errorHFBitCountE_2-",
"errorHFBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1274 for(
unsigned int i=0;
i<caloRegions->size();
i++) {
1276 if(caloRegions->at(
i).et()>0) errorRegionEtEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi(),caloRegions->at(
i).et());
1277 if(caloRegions->at(
i).fineGrain()) errorRegionFgEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
1278 if(caloRegions->at(
i).overFlow()) errorRegionOfEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
1282 for(
unsigned int i=0;
i < hfRingSumsD->size();
i++) {
1284 errorHFRingSumD_1pos_->Fill(hfRingSumsD->at(
i).etSum(0));
1285 errorHFRingSumD_1neg_->Fill(hfRingSumsD->at(
i).etSum(1));
1286 errorHFRingSumD_2pos_->Fill(hfRingSumsD->at(
i).etSum(2));
1287 errorHFRingSumD_2neg_->Fill(hfRingSumsD->at(
i).etSum(3));
1290 for(
unsigned int i=0;
i < hfRingSumsE->size();
i++) {
1292 errorHFRingSumE_1pos_->Fill(hfRingSumsE->at(
i).etSum(0));
1293 errorHFRingSumE_1neg_->Fill(hfRingSumsE->at(
i).etSum(1));
1294 errorHFRingSumE_2pos_->Fill(hfRingSumsE->at(
i).etSum(2));
1295 errorHFRingSumE_2neg_->Fill(hfRingSumsE->at(
i).etSum(3));
1299 for(
unsigned int i=0;
i < hfBitCountsD->size();
i++) {
1301 errorHFBitCountD_1pos_->Fill(hfBitCountsD->at(
i).bitCount(0));
1302 errorHFBitCountD_1neg_->Fill(hfBitCountsD->at(
i).bitCount(1));
1303 errorHFBitCountD_2pos_->Fill(hfBitCountsD->at(
i).bitCount(2));
1304 errorHFBitCountD_2neg_->Fill(hfBitCountsD->at(
i).bitCount(3));
1307 for(
unsigned int i=0;
i < hfBitCountsE->size();
i++) {
1309 errorHFBitCountE_1pos_->Fill(hfBitCountsE->at(
i).bitCount(0));
1310 errorHFBitCountE_1neg_->Fill(hfBitCountsE->at(
i).bitCount(1));
1311 errorHFBitCountE_2pos_->Fill(hfBitCountsE->at(
i).bitCount(2));
1312 errorHFBitCountE_2neg_->Fill(hfBitCountsE->at(
i).bitCount(3));
1320 for(
unsigned int i=0;
i < totalEtD->size();
i++) {
1323 if(!totalEtD->at(
i).overFlow())
totalEtD_->Fill(totalEtD->at(
i).et());
1326 for(
unsigned int i=0;
i < totalEtE->size();
i++) {
1329 if(!totalEtE->at(
i).overFlow())
totalEtE_->Fill(totalEtE->at(
i).et());
1337 for(
unsigned int i=0;
i < totalHtD->size();
i++) {
1340 if(!totalHtD->at(
i).overFlow())
totalHtD_->Fill(totalHtD->at(
i).et());
1343 for(
unsigned int i=0;
i < totalHtE->size();
i++) {
1346 if(!totalHtE->at(
i).overFlow())
totalHtE_->Fill(totalHtE->at(
i).et());
1357 std::stringstream caseNumber;
1359 errorDirName.append(caseNumber.str());
1362 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1363 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1364 TH1I *errorTotalEtD_ = errorDir.
make<TH1I>(
"errorTotalEtD",
"errorTotalEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1365 TH1I *errorTotalEtD_Of_ = errorDir.
make<TH1I>(
"errorTotalEtD_Of",
"errorTotalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1366 TH1I *errorTotalEtE_ = errorDir.
make<TH1I>(
"errorTotalEtE",
"errorTotalEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1367 TH1I *errorTotalEtE_Of_ = errorDir.
make<TH1I>(
"errorTotalEtE_Of",
"errorTotalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1368 TH1I *errorTotalHtD_ = errorDir.
make<TH1I>(
"errorTotalHtD",
"errorTotalHtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1369 TH1I *errorTotalHtD_Of_ = errorDir.
make<TH1I>(
"errorTotalHtD_Of",
"errorTotalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1370 TH1I *errorTotalHtE_ = errorDir.
make<TH1I>(
"errorTotalHtE",
"errorTotalHtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1371 TH1I *errorTotalHtE_Of_ = errorDir.
make<TH1I>(
"errorTotalHtE_Of",
"errorTotalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1374 for(
unsigned int i=0;
i<caloRegions->size();
i++) {
1376 if(caloRegions->at(
i).et()>0) errorRegionEtEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi(),caloRegions->at(
i).et());
1377 if(caloRegions->at(
i).overFlow()) errorRegionOfEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
1381 for(
unsigned int i=0;
i < totalEtD->size();
i++) {
1383 errorTotalEtD_Of_->Fill(totalEtD->at(
i).overFlow());
1384 if(!totalEtD->at(
i).overFlow()) errorTotalEtD_->Fill(totalEtD->at(
i).et());
1387 for(
unsigned int i=0;
i < totalEtE->size();
i++) {
1389 errorTotalEtE_Of_->Fill(totalEtE->at(
i).overFlow());
1390 if(!totalEtE->at(
i).overFlow()) errorTotalEtE_->Fill(totalEtE->at(
i).et());
1394 for(
unsigned int i=0;
i < totalHtD->size();
i++) {
1396 errorTotalHtD_Of_->Fill(totalHtD->at(
i).overFlow());
1397 if(!totalHtD->at(
i).overFlow()) errorTotalHtD_->Fill(totalHtD->at(
i).et());
1400 for(
unsigned int i=0;
i < totalHtE->size();
i++) {
1402 errorTotalHtE_Of_->Fill(totalHtE->at(
i).overFlow());
1403 if(!totalHtE->at(
i).overFlow()) errorTotalHtE_->Fill(totalHtE->at(
i).et());
1411 for(
unsigned int i=0;
i < missingEtD->size();
i++) {
1414 if(!missingEtD->at(
i).overFlow() && missingEtD->at(
i).et()>0) {
1421 for(
unsigned int i=0;
i < missingEtE->size();
i++) {
1424 if(!missingEtE->at(
i).overFlow() && missingEtE->at(
i).et()) {
1435 for(
unsigned int i=0;
i < missingHtD->size();
i++) {
1438 if(!missingHtD->at(
i).overFlow() && missingHtD->at(
i).et()>0) {
1445 for(
unsigned int i=0;
i < missingHtE->size();
i++) {
1448 if(!missingHtE->at(
i).overFlow() && missingHtE->at(
i).et()>0) {
1464 for(
unsigned int i=0;
i < missingHtE->size();
i++) {
1466 for(
unsigned int j=0;
j < missingHtD->size();
j++) {
1468 if(missingHtD->at(
j).overFlow() != missingHtE->at(
i).overFlow()) errorDirName.append(
"O");
1474 std::stringstream caseNumber;
1476 errorDirName.append(caseNumber.str());
1479 TH2I *errorRegionEtEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionEtEtaPhi",
"errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1480 TH2I *errorRegionOfEtaPhi_ = errorDir.
make<TH2I>(
"errorRegionOfEtaPhi",
"errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1481 TH1I *errorMissingEtD_ = errorDir.
make<TH1I>(
"errorMissingEtD",
"errorMissingEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1482 TH1I *errorMissingEtD_Of_ = errorDir.
make<TH1I>(
"errorMissingEtD_Of",
"errorMissingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1483 TH1I *errorMissingEtD_Phi_= errorDir.
make<TH1I>(
"errorMissingEtD_Phi",
"errorMissingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1484 TH1I *errorMissingEtE_ = errorDir.
make<TH1I>(
"errorMissingEtE",
"errorMissingEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1485 TH1I *errorMissingEtE_Of_ = errorDir.
make<TH1I>(
"errorMissingEtE_Of",
"errorMissingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1486 TH1I *errorMissingEtE_Phi_ = errorDir.
make<TH1I>(
"errorMissingEtE_Phi",
"errorMissingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1487 TH1I *errorMissingHtD_ = errorDir.
make<TH1I>(
"errorMissingHtD",
"errorMissingHtD;H_{T};Number of Events", 1024, -0.5, 1023.5);
1488 TH1I *errorMissingHtD_Of_ = errorDir.
make<TH1I>(
"errorMissingHtD_Of",
"errorMissingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1489 TH1I *errorMissingHtD_Phi_= errorDir.
make<TH1I>(
"errorMissingHtD_Phi",
"errorMissingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1490 TH1I *errorMissingHtE_ = errorDir.
make<TH1I>(
"errorMissingHtE",
"errorMissingHtE;H_{T};Number of Events", 1024, -0.5, 1023.5);
1491 TH1I *errorMissingHtE_Of_ = errorDir.
make<TH1I>(
"errorMissingHtE_Of",
"errorMissingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1492 TH1I *errorMissingHtE_Phi_ = errorDir.
make<TH1I>(
"errorMissingHtE_Phi",
"errorMissingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1500 TH1I *errorMissingHtD_HtXPosLeaf1 = errorDir.
make<TH1I>(
"errorMissingHtD_HtXPosLeaf1",
"missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1501 TH1I *errorMissingHtD_HtXPosLeaf2 = errorDir.
make<TH1I>(
"errorMissingHtD_HtXPosLeaf2",
"missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1502 TH1I *errorMissingHtD_HtXPosLeaf3 = errorDir.
make<TH1I>(
"errorMissingHtD_HtXPosLeaf3",
"missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1503 TH1I *errorMissingHtD_HtXNegLeaf1 = errorDir.
make<TH1I>(
"errorMissingHtD_HtXNegLeaf1",
"missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1504 TH1I *errorMissingHtD_HtXNegLeaf2 = errorDir.
make<TH1I>(
"errorMissingHtD_HtXNegLeaf2",
"missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1505 TH1I *errorMissingHtD_HtXNegLeaf3 = errorDir.
make<TH1I>(
"errorMissingHtD_HtXNegLeaf3",
"missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1507 TH1I *errorMissingHtD_HtYPosLeaf1 = errorDir.
make<TH1I>(
"errorMissingHtD_HtYPosLeaf1",
"missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1508 TH1I *errorMissingHtD_HtYPosLeaf2 = errorDir.
make<TH1I>(
"errorMissingHtD_HtYPosLeaf2",
"missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1509 TH1I *errorMissingHtD_HtYPosLeaf3 = errorDir.
make<TH1I>(
"errorMissingHtD_HtYPosLeaf3",
"missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1510 TH1I *errorMissingHtD_HtYNegLeaf1 = errorDir.
make<TH1I>(
"errorMissingHtD_HtYNegLeaf1",
"missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1511 TH1I *errorMissingHtD_HtYNegLeaf2 = errorDir.
make<TH1I>(
"errorMissingHtD_HtYNegLeaf2",
"missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1512 TH1I *errorMissingHtD_HtYNegLeaf3 = errorDir.
make<TH1I>(
"errorMissingHtD_HtYNegLeaf3",
"missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1514 for(
unsigned int i=0;
i<intMissingHtD->size();
i++) {
1516 if(!intMissingHtD->at(
i).overflow()) {
1518 if(intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 0 && intMissingHtD->at(
i).isThereHtx()) errorMissingHtD_HtXPosLeaf1->Fill(intMissingHtD->at(
i).htx());
1519 if(intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 1 && intMissingHtD->at(
i).isThereHtx()) errorMissingHtD_HtXPosLeaf2->Fill(intMissingHtD->at(
i).htx());
1520 if(intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 2 && intMissingHtD->at(
i).isThereHtx()) errorMissingHtD_HtXPosLeaf3->Fill(intMissingHtD->at(
i).htx());
1521 if(intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 0 && intMissingHtD->at(
i).isThereHtx()) errorMissingHtD_HtXNegLeaf1->Fill(intMissingHtD->at(
i).htx());
1522 if(intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 1 && intMissingHtD->at(
i).isThereHtx()) errorMissingHtD_HtXNegLeaf2->Fill(intMissingHtD->at(
i).htx());
1523 if(intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 2 && intMissingHtD->at(
i).isThereHtx()) errorMissingHtD_HtXNegLeaf3->Fill(intMissingHtD->at(
i).htx());
1525 if(intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 0 && intMissingHtD->at(
i).isThereHty()) errorMissingHtD_HtYPosLeaf1->Fill(intMissingHtD->at(
i).hty());
1526 if(intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 1 && intMissingHtD->at(
i).isThereHty()) errorMissingHtD_HtYPosLeaf2->Fill(intMissingHtD->at(
i).hty());
1527 if(intMissingHtD->at(
i).capBlock() == 0x301 && intMissingHtD->at(
i).capIndex() == 2 && intMissingHtD->at(
i).isThereHty()) errorMissingHtD_HtYPosLeaf3->Fill(intMissingHtD->at(
i).hty());
1528 if(intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 0 && intMissingHtD->at(
i).isThereHty()) errorMissingHtD_HtYNegLeaf1->Fill(intMissingHtD->at(
i).hty());
1529 if(intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 1 && intMissingHtD->at(
i).isThereHty()) errorMissingHtD_HtYNegLeaf2->Fill(intMissingHtD->at(
i).hty());
1530 if(intMissingHtD->at(
i).capBlock() == 0x701 && intMissingHtD->at(
i).capIndex() == 2 && intMissingHtD->at(
i).isThereHty()) errorMissingHtD_HtYNegLeaf3->Fill(intMissingHtD->at(
i).hty());
1538 TH2I *errorIntJetsE_EtEtaPhi = errorDir.
make<TH2I>(
"errorIntJetsE_EtEtaPhi",
"errorIntJetsE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1540 for(
unsigned int i=0;
i < intJetsE->size();
i++) {
1542 if(!intJetsE->at(
i).oflow() && intJetsE->at(
i).et()) errorIntJetsE_EtEtaPhi->Fill(intJetsE->at(
i).regionId().ieta(),intJetsE->at(
i).regionId().iphi(),intJetsE->at(
i).et());
1547 for(
unsigned int i=0;
i<caloRegions->size();
i++) {
1549 if(caloRegions->at(
i).et()>0) errorRegionEtEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi(),caloRegions->at(
i).et());
1550 if(caloRegions->at(
i).overFlow()) errorRegionOfEtaPhi_->Fill(caloRegions->at(
i).gctEta(),caloRegions->at(
i).gctPhi());
1555 for(
unsigned int i=0;
i < missingEtD->size();
i++) {
1557 errorMissingEtD_Of_->Fill(missingEtD->at(
i).overFlow());
1558 if(!missingEtD->at(
i).overFlow()) {
1559 errorMissingEtD_->Fill(missingEtD->at(
i).et());
1560 errorMissingEtD_Phi_->Fill(missingEtD->at(
i).phi());
1564 for(
unsigned int i=0;
i < missingHtD->size();
i++) {
1566 errorMissingHtD_Of_->Fill(missingHtD->at(
i).overFlow());
1567 if(!missingHtD->at(
i).overFlow()) {
1568 errorMissingHtD_->Fill(missingHtD->at(
i).et());
1569 errorMissingHtD_Phi_->Fill(missingHtD->at(
i).phi());
1574 for(
unsigned int i=0;
i < missingEtE->size();
i++) {
1576 errorMissingEtE_Of_->Fill(missingEtE->at(
i).overFlow());
1577 if(!missingEtE->at(
i).overFlow()) {
1578 errorMissingEtE_->Fill(missingEtE->at(
i).et());
1579 errorMissingEtE_Phi_->Fill(missingEtE->at(
i).phi());
1583 for(
unsigned int i=0;
i < missingHtE->size();
i++) {
1585 errorMissingHtE_Of_->Fill(missingHtE->at(
i).overFlow());
1586 if(!missingHtE->at(
i).overFlow()) {
1587 errorMissingHtE_->Fill(missingHtE->at(
i).et());
1588 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)
EventNumber_t event() const
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_
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)
compareMissingEnergySums< edm::Handle< L1GctHtMissCollection > > compareMissingH
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)
compareCands< edm::Handle< L1GctEmCandCollection > > compareEG
bool doCompare(TH1I *errorFlag_hist_)
bool doCompare(TH1I *errorFlag_hist_, TH1I *mismatchD_Rank, TH2I *mismatchD_EtEtaPhi, TH1I *mismatchE_Rank, TH2I *mismatchE_EtEtaPhi)
void plotTotalH(const edm::Handle< L1GctEtHadCollection > &totalHtD, const edm::Handle< L1GctEtHadCollection > &totalHtE)
TH1I * missingHtD_HtXNegLeaf3
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)
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)
GctErrorAnalyzer operator=(const GctErrorAnalyzer &)
compareCands< edm::Handle< L1GctJetCandCollection > > compareJets
void plotTauJets(const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
compareTotalEnergySums< edm::Handle< L1GctEtHadCollection > > compareTotalH
TH2I * nonIsoEgE_EtEtaPhi_
TH1I * totalEt_errorFlag_
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)
const unsigned int GCT_OBJECT_QUANTA
compareMissingEnergySums< edm::Handle< L1GctEtMissCollection > > compareMissingE
const unsigned int RCT_EM_OBJECT_QUANTA
TH1I * missingHtD_HtYNegLeaf3
virtual void analyze(const edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TH2I * forJetE_OccEtaPhi_
TH2I * tauJetE_GlobalError_EtEtaPhi_
TH2I * nonIsoEgE_OccEtaPhi_
TH2I * nonIsoEgE_GlobalError_EtEtaPhi_
TH2I * nonIsoEgD_EtEtaPhi_
TH1I * forJetE_GlobalError_Rank_
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_
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
T * make() const
make new ROOT object
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_
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