CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
GctErrorAnalyzer Class Reference

#include <L1Trigger/L1GctAnalyzer/src/GctErrorAnalyzer.cc>

Inheritance diagram for GctErrorAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 GctErrorAnalyzer (const edm::ParameterSet &)
 
 ~GctErrorAnalyzer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
template<class T >
bool checkCollections (const T &collection, const unsigned int &constraint, const std::string &label)
 
void endJob () override
 
 GctErrorAnalyzer ()=delete
 
 GctErrorAnalyzer (const GctErrorAnalyzer &)=delete
 
GctErrorAnalyzer operator= (const GctErrorAnalyzer &)=delete
 
void plotCenJets (const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
 
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 > &regions)
 
void plotForJets (const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
 
void plotHFBitCounts (const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsD, const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsE)
 
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)
 
void plotHFRingSums (const edm::Handle< L1GctHFRingEtSumsCollection > &data, const edm::Handle< L1GctHFRingEtSumsCollection > &emu)
 
void plotIntJets (const edm::Handle< L1GctInternJetDataCollection > &emu)
 
void plotIsoEm (const edm::Handle< L1GctEmCandCollection > &data, const edm::Handle< L1GctEmCandCollection > &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 > &regions)
 
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)
 
void plotMissingEt (const edm::Handle< L1GctEtMissCollection > &missingEtD, const edm::Handle< L1GctEtMissCollection > &missingEtE)
 
void plotMissingHt (const edm::Handle< L1GctHtMissCollection > &missingHtD, const edm::Handle< L1GctHtMissCollection > &missingHtE)
 
void plotNonIsoEm (const edm::Handle< L1GctEmCandCollection > &data, const edm::Handle< L1GctEmCandCollection > &emu)
 
void plotRCTRegions (const edm::Handle< L1CaloRegionCollection > &caloRegions)
 
void plotTauJets (const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
 
void plotTotalE (const edm::Handle< L1GctEtTotalCollection > &totalEtD, const edm::Handle< L1GctEtTotalCollection > &totalEtE)
 
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 plotTotalH (const edm::Handle< L1GctEtHadCollection > &totalHtD, const edm::Handle< L1GctEtHadCollection > &totalHtE)
 

Static Private Member Functions

static bool sortJets (const jetData &jet1, const jetData &jet2)
 

Private Attributes

TH1I * cenJet_errorFlag_
 
TH2I * cenJetD_EtEtaPhi_
 
TH2I * cenJetD_GlobalError_EtEtaPhi_
 
TH1I * cenJetD_GlobalError_Rank_
 
TH2I * cenJetD_OccEtaPhi_
 
TH1I * cenJetD_Rank_
 
TH2I * cenJetE_EtEtaPhi_
 
TH2I * cenJetE_GlobalError_EtEtaPhi_
 
TH1I * cenJetE_GlobalError_Rank_
 
TH2I * cenJetE_OccEtaPhi_
 
TH1I * cenJetE_Rank_
 
edm::InputTag dataTag_
 
bool doBitCountDebug_
 
bool doCenJetsDebug_
 
bool doEg_
 
bool doEmuMBx_
 
bool doExtraMissingHTDebug_
 
bool doForJetsDebug_
 
bool doGCTMBx_
 
bool doHF_
 
bool doIsoDebug_
 
bool doJets_
 
bool doMissingEnergySums_
 
bool doMissingETDebug_
 
bool doMissingHTDebug_
 
bool doNonIsoDebug_
 
bool doRCT_
 
bool doRCTMBx_
 
bool doRingSumDebug_
 
bool doTauJetsDebug_
 
bool doTotalEnergySums_
 
bool doTotalEtDebug_
 
bool doTotalHtDebug_
 
edm::InputTag emuTag_
 
int EmuTrigBx_
 
std::vector< TFileDirectoryerrorHistCat
 
unsigned int eventNumber
 
TH1I * forJet_errorFlag_
 
TH2I * forJetD_EtEtaPhi_
 
TH2I * forJetD_GlobalError_EtEtaPhi_
 
TH1I * forJetD_GlobalError_Rank_
 
TH2I * forJetD_OccEtaPhi_
 
TH1I * forJetD_Rank_
 
TH2I * forJetE_EtEtaPhi_
 
TH2I * forJetE_GlobalError_EtEtaPhi_
 
TH1I * forJetE_GlobalError_Rank_
 
TH2I * forJetE_OccEtaPhi_
 
TH1I * forJetE_Rank_
 
int GCTTrigBx_
 
TH1I * hfBitCount_errorFlag_
 
TH1I * hfBitCountD_1neg_
 
TH1I * hfBitCountD_1pos_
 
TH1I * hfBitCountD_2neg_
 
TH1I * hfBitCountD_2pos_
 
TH1I * hfBitCountE_1neg_
 
TH1I * hfBitCountE_1pos_
 
TH1I * hfBitCountE_2neg_
 
TH1I * hfBitCountE_2pos_
 
TH1I * hfRingSum_errorFlag_
 
TH1I * hfRingSumD_1neg_
 
TH1I * hfRingSumD_1pos_
 
TH1I * hfRingSumD_2neg_
 
TH1I * hfRingSumD_2pos_
 
TH1I * hfRingSumE_1neg_
 
TH1I * hfRingSumE_1pos_
 
TH1I * hfRingSumE_2neg_
 
TH1I * hfRingSumE_2pos_
 
TH1I * intJetE_Et_
 
TH1I * intJetE_Jet1Et_
 
TH1I * intJetE_Jet2Et_
 
TH1I * intJetE_Jet3Et_
 
TH1I * intJetE_Jet4Et_
 
TH1I * intJetE_Of_
 
TH2I * intJetEtEtaPhiE_
 
bool isBitCountError
 
bool isCenJetError
 
bool isForJetError
 
bool isIsoError
 
bool isMissingEError
 
bool isMissingHError
 
bool isNonIsoError
 
TH1I * isoEg_errorFlag_
 
TH2I * isoEgD_EtEtaPhi_
 
TH2I * isoEgD_GlobalError_EtEtaPhi_
 
TH1I * isoEgD_GlobalError_Rank_
 
TH2I * isoEgD_OccEtaPhi_
 
TH1I * isoEgD_Rank_
 
TH2I * isoEgE_EtEtaPhi_
 
TH2I * isoEgE_GlobalError_EtEtaPhi_
 
TH1I * isoEgE_GlobalError_Rank_
 
TH2I * isoEgE_OccEtaPhi_
 
TH1I * isoEgE_Rank_
 
bool isRingSumError
 
bool isTauJetError
 
bool isTotalEError
 
bool isTotalHError
 
GctErrorAnalyzerMBxInfo MBxInfo
 
TH1I * missingEt_errorFlag_
 
TH1I * missingEtD_
 
TH1I * missingEtD_Of_
 
TH1I * missingEtD_Phi_
 
TH1I * missingEtE_
 
TH1I * missingEtE_Of_
 
TH1I * missingEtE_Phi_
 
TH1I * missingHt_errorFlag_
 
TH1I * missingHtD_
 
TH1I * missingHtD_HtXNegLeaf1
 
TH1I * missingHtD_HtXNegLeaf2
 
TH1I * missingHtD_HtXNegLeaf3
 
TH1I * missingHtD_HtXPosLeaf1
 
TH1I * missingHtD_HtXPosLeaf2
 
TH1I * missingHtD_HtXPosLeaf3
 
TH1I * missingHtD_HtYNegLeaf1
 
TH1I * missingHtD_HtYNegLeaf2
 
TH1I * missingHtD_HtYNegLeaf3
 
TH1I * missingHtD_HtYPosLeaf1
 
TH1I * missingHtD_HtYPosLeaf2
 
TH1I * missingHtD_HtYPosLeaf3
 
TH1I * missingHtD_Of_
 
TH1I * missingHtD_Phi_
 
TH1I * missingHtE_
 
TH1I * missingHtE_Of_
 
TH1I * missingHtE_Phi_
 
TH1I * nonIsoEg_errorFlag_
 
TH2I * nonIsoEgD_EtEtaPhi_
 
TH2I * nonIsoEgD_GlobalError_EtEtaPhi_
 
TH1I * nonIsoEgD_GlobalError_Rank_
 
TH2I * nonIsoEgD_OccEtaPhi_
 
TH1I * nonIsoEgD_Rank_
 
TH2I * nonIsoEgE_EtEtaPhi_
 
TH2I * nonIsoEgE_GlobalError_EtEtaPhi_
 
TH1I * nonIsoEgE_GlobalError_Rank_
 
TH2I * nonIsoEgE_OccEtaPhi_
 
TH1I * nonIsoEgE_Rank_
 
TH2I * RCT_EtEtaPhi_
 
TH2I * RCT_FgEtaPhi_
 
TH2I * RCT_OfEtaPhi_
 
const unsigned int * RCT_REGION_QUANTA
 
TH2I * RCT_TvEtaPhi_
 
int RCTTrigBx_
 
TH1I * tauJet_errorFlag_
 
TH2I * tauJetD_EtEtaPhi_
 
TH2I * tauJetD_GlobalError_EtEtaPhi_
 
TH1I * tauJetD_GlobalError_Rank_
 
TH2I * tauJetD_OccEtaPhi_
 
TH1I * tauJetD_Rank_
 
TH2I * tauJetE_EtEtaPhi_
 
TH2I * tauJetE_GlobalError_EtEtaPhi_
 
TH1I * tauJetE_GlobalError_Rank_
 
TH2I * tauJetE_OccEtaPhi_
 
TH1I * tauJetE_Rank_
 
TH1I * totalEt_errorFlag_
 
TH1I * totalEtD_
 
TH1I * totalEtD_Of_
 
TH1I * totalEtE_
 
TH1I * totalEtE_Of_
 
TH1I * totalHt_errorFlag_
 
TH1I * totalHtD_
 
TH1I * totalHtD_Of_
 
TH1I * totalHtE_
 
TH1I * totalHtE_Of_
 
std::string useSys_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: Tool to debug the GCT with useful output

Implementation: <Notes on="" implementation>="">

Definition at line 57 of file GctErrorAnalyzer.cc.

Constructor & Destructor Documentation

◆ GctErrorAnalyzer() [1/3]

GctErrorAnalyzer::GctErrorAnalyzer ( )
privatedelete

◆ GctErrorAnalyzer() [2/3]

GctErrorAnalyzer::GctErrorAnalyzer ( const GctErrorAnalyzer )
privatedelete

◆ GctErrorAnalyzer() [3/3]

GctErrorAnalyzer::GctErrorAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 301 of file GctErrorAnalyzer.cc.

302  : doRCT_(iConfig.getUntrackedParameter<bool>("doRCT", true)),
303  doEg_(iConfig.getUntrackedParameter<bool>("doEg", true)),
304  doIsoDebug_(iConfig.getUntrackedParameter<bool>("doIsoDebug", true)),
305  doNonIsoDebug_(iConfig.getUntrackedParameter<bool>("doNonIsoDebug", true)),
306  doJets_(iConfig.getUntrackedParameter<bool>("doJets", true)),
307  doCenJetsDebug_(iConfig.getUntrackedParameter<bool>("doCenJetsDebug", true)),
308  doTauJetsDebug_(iConfig.getUntrackedParameter<bool>("doTauJetsDebug", true)),
309  doForJetsDebug_(iConfig.getUntrackedParameter<bool>("doForJetsDebug", true)),
310  doHF_(iConfig.getUntrackedParameter<bool>("doHF", true)),
311  doRingSumDebug_(iConfig.getUntrackedParameter<bool>("doRingSumDebug", true)),
312  doBitCountDebug_(iConfig.getUntrackedParameter<bool>("doBitCountDebug", true)),
313  doTotalEnergySums_(iConfig.getUntrackedParameter<bool>("doTotalEnergySums", true)),
314  doTotalEtDebug_(iConfig.getUntrackedParameter<bool>("doTotalEtDebug", true)),
315  doTotalHtDebug_(iConfig.getUntrackedParameter<bool>("doTotalHtDebug", true)),
316  doMissingEnergySums_(iConfig.getUntrackedParameter<bool>("doMissingEnergySums", true)),
317  doMissingETDebug_(iConfig.getUntrackedParameter<bool>("doMissingETDebug", true)),
318  doMissingHTDebug_(iConfig.getUntrackedParameter<bool>("doMissingHTDebug", true)),
319  doExtraMissingHTDebug_(iConfig.getUntrackedParameter<bool>("doExtraMissingHTDebug", false)),
320  doRCTMBx_(iConfig.getUntrackedParameter<bool>("doRCTMBx", false)),
321  doEmuMBx_(iConfig.getUntrackedParameter<bool>("doEmuMBx", false)),
322  doGCTMBx_(iConfig.getUntrackedParameter<bool>("doGCTMBx", false)),
323  RCTTrigBx_(iConfig.getUntrackedParameter<int>("RCTTrigBx", 0)),
324  EmuTrigBx_(iConfig.getUntrackedParameter<int>("EmuTrigBx", 0)),
325  GCTTrigBx_(iConfig.getUntrackedParameter<int>("GCTTrigBx", 0)),
326  dataTag_(iConfig.getUntrackedParameter<edm::InputTag>("dataTag", edm::InputTag("gctDigis"))),
327  emuTag_(iConfig.getUntrackedParameter<edm::InputTag>("emuTag", edm::InputTag("gctEmuDigis"))),
328  useSys_(iConfig.getUntrackedParameter<std::string>("useSys", "P5")) {
329  //now do what ever initialization is needed
330  //make the root file
332 
333  //to try to make this look more elegant
334  //make a string for each folder we'd like for the Data and Emulator Histograms
335  std::vector<std::string> quantities;
336  quantities.push_back("IsoEm");
337  quantities.push_back("NonIsoEM");
338  quantities.push_back("CenJets");
339  quantities.push_back("TauJets");
340  quantities.push_back("ForJets");
341  quantities.push_back("HFRingSums");
342  quantities.push_back("HFBitCounts");
343  quantities.push_back("TotalESums");
344  quantities.push_back("MissingESums");
345 
346  //make the Emulator Histogram directory
347  TFileDirectory emuHist = fs->mkdir("EmulatorHistograms");
348  std::vector<TFileDirectory> emuHistCat;
349 
350  //make the Data Histogram directory
351  TFileDirectory dataHist = fs->mkdir("DataHistograms");
352  std::vector<TFileDirectory> dataHistCat;
353 
354  //make the ErrorFlags directory
355  TFileDirectory errorHistFlags = fs->mkdir("ErrorHistograms_Flags");
356 
357  //make the ErrorDebug directory
358  TFileDirectory errorHistDetails = fs->mkdir("ErrorHistograms_Details");
359 
360  for (unsigned int i = 0; i < quantities.size(); i++) {
361  //fill the data and emulator folders with the directories
362  emuHistCat.push_back(emuHist.mkdir(quantities.at(i)));
363  dataHistCat.push_back(dataHist.mkdir(quantities.at(i)));
364  }
365 
366  //add a folder for RCT Regions - which only exist in data
367  dataHistCat.push_back(dataHist.mkdir("RCTRegions"));
368  //and add a folder for the Intermediate Jets - which only exist in emulator
369  emuHistCat.push_back(emuHist.mkdir("IntJets"));
370 
371  //Fill the ErrorDebug folder with the directories
372  errorHistCat.push_back(errorHistDetails.mkdir("EM"));
373  errorHistCat.push_back(errorHistDetails.mkdir("Jets"));
374  errorHistCat.push_back(errorHistDetails.mkdir("HF"));
375  errorHistCat.push_back(errorHistDetails.mkdir("TotalE"));
376  errorHistCat.push_back(errorHistDetails.mkdir("MissingE"));
377 
378  //BOOK HISTOGRAMS
379  RCT_EtEtaPhi_ = dataHistCat.at(9).make<TH2I>(
380  "RCT_EtEtaPhi", "RCT_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
381  RCT_TvEtaPhi_ = dataHistCat.at(9).make<TH2I>(
382  "RCT_TvEtaPhi", "RCT_TvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
383  RCT_FgEtaPhi_ = dataHistCat.at(9).make<TH2I>(
384  "RCT_FgEtaPhi", "RCT_FgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
385  RCT_OfEtaPhi_ = dataHistCat.at(9).make<TH2I>(
386  "RCT_OfEtEtaPhi", "RCT_OfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
387  //isoEg
388  isoEgD_Rank_ = dataHistCat.at(0).make<TH1I>("isoEgD_Rank", "isoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
389  isoEgE_Rank_ = emuHistCat.at(0).make<TH1I>("isoEgE_Rank", "isoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
390  isoEgD_EtEtaPhi_ = dataHistCat.at(0).make<TH2I>(
391  "isoEgD_EtEtaPhi", "isoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
392  isoEgE_EtEtaPhi_ = emuHistCat.at(0).make<TH2I>(
393  "isoEgE_EtEtaPhi", "isoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
394  isoEgD_OccEtaPhi_ = dataHistCat.at(0).make<TH2I>(
395  "isoEgD_OccEtaPhi", "isoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
396  isoEgE_OccEtaPhi_ = emuHistCat.at(0).make<TH2I>(
397  "isoEgE_OccEtaPhi", "isoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
399  errorHistFlags.make<TH1I>("isoEg_errorFlag", "isoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
400  //Global isoEg Error
401  isoEgD_GlobalError_Rank_ = errorHistCat.at(0).make<TH1I>(
402  "isoEgD_GlobalError_Rank", "isoEgD_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
403  isoEgE_GlobalError_Rank_ = errorHistCat.at(0).make<TH1I>(
404  "isoEgE_GlobalError_Rank", "isoEgE_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
405  isoEgD_GlobalError_EtEtaPhi_ = errorHistCat.at(0).make<TH2I>(
406  "isoEgD_GlobalError_EtEtaPhi", "isoEgD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
407  isoEgE_GlobalError_EtEtaPhi_ = errorHistCat.at(0).make<TH2I>(
408  "isoEgE_GlobalError_EtEtaPhi", "isoEgE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
409  //nonIsoEg
411  dataHistCat.at(1).make<TH1I>("nonIsoEgD_Rank", "nonIsoEgD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
413  emuHistCat.at(1).make<TH1I>("nonIsoEgE_Rank", "nonIsoEgE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
414  nonIsoEgD_EtEtaPhi_ = dataHistCat.at(1).make<TH2I>(
415  "nonIsoEgD_EtEtaPhi", "nonIsoEgD_EtEtaPhi;#eta (GCT Units);#phi(GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
416  nonIsoEgE_EtEtaPhi_ = emuHistCat.at(1).make<TH2I>(
417  "nonIsoEgE_EtEtaPhi", "nonIsoEgE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
418  nonIsoEgD_OccEtaPhi_ = dataHistCat.at(1).make<TH2I>(
419  "nonIsoEgD_OccEtaPhi", "nonIsoEgD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
420  nonIsoEgE_OccEtaPhi_ = emuHistCat.at(1).make<TH2I>(
421  "nonIsoEgE_OccEtaPhi", "nonIsoEgE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
423  errorHistFlags.make<TH1I>("nonIsoEg_errorFlag", "nonIsoEg_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
424  //Global nonIsoEg Error
425  nonIsoEgD_GlobalError_Rank_ = errorHistCat.at(0).make<TH1I>(
426  "nonIsoEgD_GlobalError_Rank", "nonIsoEgD_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
427  nonIsoEgE_GlobalError_Rank_ = errorHistCat.at(0).make<TH1I>(
428  "nonIsoEgE_GlobalError_Rank", "nonIsoEgE_GlobalError_Rank;Rank;Number of Events", 64, -0.5, 63.5);
430  "nonIsoEgD_GlobalError_EtEtaPhi", "nonIsoEgD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
432  "nonIsoEgE_GlobalError_EtEtaPhi", "nonIsoEgE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
433  //CenJets
434  cenJetD_Rank_ = dataHistCat.at(2).make<TH1I>("cenJetD_Rank", "cenJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
435  cenJetE_Rank_ = emuHistCat.at(2).make<TH1I>("cenJetE_Rank", "cenJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
436  cenJetD_EtEtaPhi_ = dataHistCat.at(2).make<TH2I>(
437  "cenJetD_EtEtaPhi", "cenJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
438  cenJetE_EtEtaPhi_ = emuHistCat.at(2).make<TH2I>(
439  "cenJetE_EtEtaPhi", "cenJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
440  cenJetD_OccEtaPhi_ = dataHistCat.at(2).make<TH2I>(
441  "cenJetD_OccEtaPhi", "cenJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
442  cenJetE_OccEtaPhi_ = emuHistCat.at(2).make<TH2I>(
443  "cenJetE_OccEtaPhi", "cenJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
445  errorHistFlags.make<TH1I>("cenJet_errorFlag", "cenJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
446  //Global CenJet Error
448  errorHistCat.at(1).make<TH1I>("cenJetD_GlobalError_Rank", "cenJetD_GlobalError_Rank", 64, -0.5, 63.5);
450  errorHistCat.at(1).make<TH1I>("cenJetE_GlobalError_Rank", "cenJetE_GlobalError_Rank", 64, -0.5, 63.5);
451  cenJetD_GlobalError_EtEtaPhi_ = errorHistCat.at(1).make<TH2I>(
452  "cenJetD_GlobalError_EtEtaPhi", "cenJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
453  cenJetE_GlobalError_EtEtaPhi_ = errorHistCat.at(1).make<TH2I>(
454  "cenJetE_GlobalError_EtEtaPhi", "cenJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
455  //TauJets
456  tauJetD_Rank_ = dataHistCat.at(3).make<TH1I>("tauJetD_Rank", "tauJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
457  tauJetE_Rank_ = emuHistCat.at(3).make<TH1I>("tauJetE_Rank", "tauJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
458  tauJetD_EtEtaPhi_ = dataHistCat.at(3).make<TH2I>(
459  "tauJetD_EtEtaPhi", "tauJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
460  tauJetE_EtEtaPhi_ = emuHistCat.at(3).make<TH2I>(
461  "tauJetE_EtEtaPhi", "tauJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
462  tauJetD_OccEtaPhi_ = dataHistCat.at(3).make<TH2I>(
463  "tauJetD_OccEtaPhi", "tauJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
464  tauJetE_OccEtaPhi_ = emuHistCat.at(3).make<TH2I>(
465  "tauJetE_OccEtaPhi", "tauJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
467  errorHistFlags.make<TH1I>("tauJet_errorFlag", "tauJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
468  //Global TauJet Error
470  errorHistCat.at(1).make<TH1I>("tauJetD_GlobalError_Rank", "tauJetD_GlobalError_Rank", 64, -0.5, 63.5);
472  errorHistCat.at(1).make<TH1I>("tauJetE_GlobalError_Rank", "tauJetE_GlobalError_Rank", 64, -0.5, 63.5);
473  tauJetD_GlobalError_EtEtaPhi_ = errorHistCat.at(1).make<TH2I>(
474  "tauJetD_GlobalError_EtEtaPhi", "tauJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
475  tauJetE_GlobalError_EtEtaPhi_ = errorHistCat.at(1).make<TH2I>(
476  "tauJetE_GlobalError_EtEtaPhi", "tauJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
477  //ForJets
478  forJetD_Rank_ = dataHistCat.at(4).make<TH1I>("forJetD_Rank", "forJetD_Rank;Rank;Number of Events", 64, -0.5, 63.5);
479  forJetE_Rank_ = emuHistCat.at(4).make<TH1I>("forJetE_Rank", "forJetE_Rank;Rank;Number of Events", 64, -0.5, 63.5);
480  forJetD_EtEtaPhi_ = dataHistCat.at(4).make<TH2I>(
481  "forJetD_EtEtaPhi", "forJetD_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
482  forJetE_EtEtaPhi_ = emuHistCat.at(4).make<TH2I>(
483  "forJetE_EtEtaPhi", "forJetE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
484  forJetD_OccEtaPhi_ = dataHistCat.at(4).make<TH2I>(
485  "forJetD_OccEtaPhi", "forJetD_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
486  forJetE_OccEtaPhi_ = emuHistCat.at(4).make<TH2I>(
487  "forJetE_OccEtaPhi", "forJetE_OccEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
489  errorHistFlags.make<TH1I>("forJet_errorFlag", "forJet_errorFlag;Status;Number of Candidates", 3, -0.5, 2.5);
490  //Global ForJet Error
492  errorHistCat.at(1).make<TH1I>("forJetD_GlobalError_Rank", "forJetD_GlobalError_Rank", 64, -0.5, 63.5);
494  errorHistCat.at(1).make<TH1I>("forJetE_GlobalError_Rank", "forJetE_GlobalError_Rank", 64, -0.5, 63.5);
495  forJetD_GlobalError_EtEtaPhi_ = errorHistCat.at(1).make<TH2I>(
496  "forJetD_GlobalError_EtEtaPhi", "forJetD_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
497  forJetE_GlobalError_EtEtaPhi_ = errorHistCat.at(1).make<TH2I>(
498  "forJetE_GlobalError_EtEtaPhi", "forJetE_GlobalError_EtEtaPhi", 22, -0.5, 21.5, 18, -0.5, 17.5);
499  //IntJets
500  intJetEtEtaPhiE_ = emuHistCat.at(9).make<TH2I>(
501  "intJetEtEtaPhiE_", "intJetEtEtaPhiE_;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
502  intJetE_Et_ = emuHistCat.at(9).make<TH1I>("intJetE_Et", "intJetE_Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
503  intJetE_Of_ =
504  emuHistCat.at(9).make<TH1I>("intJetE_Of", "intJetE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
506  emuHistCat.at(9).make<TH1I>("intJetE_Jet1Et", "intJetE_Jet1Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
508  emuHistCat.at(9).make<TH1I>("intJetE_Jet2Et", "intJetE_Jet2Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
510  emuHistCat.at(9).make<TH1I>("intJetE_Jet3Et", "intJetE_Jet3Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
512  emuHistCat.at(9).make<TH1I>("intJetE_Jet4Et", "intJetE_Jet4Et;E_{T};Number of Events", 1024, -0.5, 1023.5);
513  //HFRing Sums
514  hfRingSumD_1pos_ = dataHistCat.at(5).make<TH1I>("hfRingSumD_1+", "hfRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
515  hfRingSumD_1neg_ = dataHistCat.at(5).make<TH1I>("hfRingSumD_1-", "hfRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
516  hfRingSumD_2pos_ = dataHistCat.at(5).make<TH1I>("hfRingSumD_2+", "hfRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
517  hfRingSumD_2neg_ = dataHistCat.at(5).make<TH1I>("hfRingSumD_2-", "hfRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
518  hfRingSumE_1pos_ = emuHistCat.at(5).make<TH1I>("hfRingSumE_1+", "hfRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
519  hfRingSumE_1neg_ = emuHistCat.at(5).make<TH1I>("hfRingSumE_1-", "hfRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
520  hfRingSumE_2pos_ = emuHistCat.at(5).make<TH1I>("hfRingSumE_2+", "hfRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
521  hfRingSumE_2neg_ = emuHistCat.at(5).make<TH1I>("hfRingSumE_2-", "hfRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
523  errorHistFlags.make<TH1I>("hfRingSum_errorFlag", "hfRingSum_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
524  //HFRing BitCounts
526  dataHistCat.at(6).make<TH1I>("hfBitCountD_1+", "hfBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
528  dataHistCat.at(6).make<TH1I>("hfBitCountD_1-", "hfBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
530  dataHistCat.at(6).make<TH1I>("hfBitCountD_2+", "hfBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
532  dataHistCat.at(6).make<TH1I>("hfBitCountD_2-", "hfBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
534  emuHistCat.at(6).make<TH1I>("hfBitCountE_1+", "hfBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
536  emuHistCat.at(6).make<TH1I>("hfBitCountE_1-", "hfBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
538  emuHistCat.at(6).make<TH1I>("hfBitCountE_2+", "hfBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
540  emuHistCat.at(6).make<TH1I>("hfBitCountE_2-", "hfBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
541  hfBitCount_errorFlag_ = errorHistFlags.make<TH1I>(
542  "hfBitCount_errorFlag", "hfBitCount_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
543  //Total ET
544  totalEtD_ = dataHistCat.at(7).make<TH1I>("totalEtD", "totalEtD;E_{T};Number of Events", 2048, -0.5, 2047.5);
545  totalEtD_Of_ =
546  dataHistCat.at(7).make<TH1I>("totalEtD_Of", "totalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
547  totalEtE_ = emuHistCat.at(7).make<TH1I>("totalEtE", "totalEtE;E_{T};Number of Events", 2048, -0.5, 2047.5);
548  totalEtE_Of_ =
549  emuHistCat.at(7).make<TH1I>("totalEtE_Of", "totalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
551  errorHistFlags.make<TH1I>("totalEt_errorFlag", "totalEt_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
552  //Book the Global ET Error histograms in the errorHistCat
553  //totalEtD_GlobalError_ = errorHistCat.at(3).make<TH1I>("totalEtD_GlobalError", "totalEtD_GlobalError;E_{T};Number of Events", 1024, -0.5, 1023.5);
554  //totalEtE_GlobalError_ = errorHistCat.at(3).make<TH1I>("totalEtE_GlobalError", "totalEtE_GlobalError;E_{T};Number of Events", 1024, -0.5, 1023.5);
555  //totalEtD_GlobalError_Of_ = errorHistCat.at(3).make<TH1I>("totalEtD_GlobalError_Of", "totalEtD_GlobalError_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
556  //totalEtE_GlobalError_Of_ = errorHistCat.at(3).make<TH1I>("totalEtE_GlobalError_Of", "totalEtE_GlobalError_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
557  //Total HT
558  totalHtD_ = dataHistCat.at(7).make<TH1I>("totalHtD", "totalHtD;H_{T};Number of Events", 2048, -0.5, 2047.5);
559  totalHtD_Of_ =
560  dataHistCat.at(7).make<TH1I>("totalHtD_Of", "totalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
561  totalHtE_ = emuHistCat.at(7).make<TH1I>("totalHtE", "totalHtE;H_{T};Number of Events", 2048, -0.5, 2047.5);
562  totalHtE_Of_ =
563  emuHistCat.at(7).make<TH1I>("totalHtE_Of", "totalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
565  errorHistFlags.make<TH1I>("totalHt_errorFlag", "totalHt_errorFlag;Status;Number of Candidates", 2, -0.5, 1.5);
566  //Book the Global HT Error histograms in the errorHistCat
567  //totalHtD_GlobalError_ = errorHistCat.at(3).make<TH1I>("totalHtD_GlobalError", "totalHtD_GlobalError;E_{T};Number of Events", 1024, -0.5, 1023.5);
568  //totalHtE_GlobalError_ = errorHistCat.at(3).make<TH1I>("totalHtE_GlobalError", "totalHtE_GlobalError;E_{T};Number of Events", 1024, -0.5, 1023.5);
569  //totalHtD_GlobalError_Of_ = errorHistCat.at(3).make<TH1I>("totalHtD_GlobalError_Of", "totalHtD_GlobalError_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
570  //totalHtE_GlobalError_Of_ = errorHistCat.at(3).make<TH1I>("totalHtE_GlobalError_Of", "totalHtE_GlobalError_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
571  //MissingEt
572  missingEtD_ =
573  dataHistCat.at(8).make<TH1I>("missingEtD", "missingEtD;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
575  dataHistCat.at(8).make<TH1I>("missingEtD_Of", "missingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
576  missingEtD_Phi_ = dataHistCat.at(8).make<TH1I>(
577  "missingEtD_Phi", "missingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
578  missingEtE_ =
579  emuHistCat.at(8).make<TH1I>("missingEtE", "missingEtE;Missing E_{T};Number of Events", 1024, -0.5, 1023.5);
581  emuHistCat.at(8).make<TH1I>("missingEtE_Of", "missingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
582  missingEtE_Phi_ = emuHistCat.at(8).make<TH1I>(
583  "missingEtE_Phi", "missingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
585  errorHistFlags.make<TH1I>("missingEt_errorFlag", "missingEt_errorFlag;Status;Number of Candidates", 4, -0.5, 3.5);
586  //MissingHt
587  missingHtD_ =
588  dataHistCat.at(8).make<TH1I>("missingHtD", "missingHtD;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
590  dataHistCat.at(8).make<TH1I>("missingHtD_Of", "missingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
591  missingHtD_Phi_ = dataHistCat.at(8).make<TH1I>(
592  "missingHtD_Phi", "missingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
593  missingHtE_ =
594  emuHistCat.at(8).make<TH1I>("missingHtE", "missingHtE;Missing H_{T};Number of Events", 1024, -0.5, 1023.5);
596  emuHistCat.at(8).make<TH1I>("missingHtE_Of", "missingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
597  missingHtE_Phi_ = emuHistCat.at(8).make<TH1I>(
598  "missingHtE_Phi", "missingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
600  errorHistFlags.make<TH1I>("missingHt_errorFlag", "missingHt_errorFlag;Status;Number of Candidates", 4, -0.5, 3.5);
601  //Additional MissingHt Debug histograms
602  missingHtD_HtXPosLeaf1 = dataHistCat.at(8).make<TH1I>(
603  "missingHtD_HtXPosLeaf1", "missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
604  missingHtD_HtXPosLeaf2 = dataHistCat.at(8).make<TH1I>(
605  "missingHtD_HtXPosLeaf2", "missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
606  missingHtD_HtXPosLeaf3 = dataHistCat.at(8).make<TH1I>(
607  "missingHtD_HtXPosLeaf3", "missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
608  missingHtD_HtXNegLeaf1 = dataHistCat.at(8).make<TH1I>(
609  "missingHtD_HtXNegLeaf1", "missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
610  missingHtD_HtXNegLeaf2 = dataHistCat.at(8).make<TH1I>(
611  "missingHtD_HtXNegLeaf2", "missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
612  missingHtD_HtXNegLeaf3 = dataHistCat.at(8).make<TH1I>(
613  "missingHtD_HtXNegLeaf3", "missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
614 
615  missingHtD_HtYPosLeaf1 = dataHistCat.at(8).make<TH1I>(
616  "missingHtD_HtYPosLeaf1", "missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
617  missingHtD_HtYPosLeaf2 = dataHistCat.at(8).make<TH1I>(
618  "missingHtD_HtYPosLeaf2", "missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
619  missingHtD_HtYPosLeaf3 = dataHistCat.at(8).make<TH1I>(
620  "missingHtD_HtYPosLeaf3", "missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
621  missingHtD_HtYNegLeaf1 = dataHistCat.at(8).make<TH1I>(
622  "missingHtD_HtYNegLeaf1", "missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
623  missingHtD_HtYNegLeaf2 = dataHistCat.at(8).make<TH1I>(
624  "missingHtD_HtYNegLeaf2", "missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
625  missingHtD_HtYNegLeaf3 = dataHistCat.at(8).make<TH1I>(
626  "missingHtD_HtYNegLeaf3", "missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
627 
628  //Annotate the labels of the error flags
629  //For the electrons and jets
630  std::vector<std::string> errorFlagLabels;
631  errorFlagLabels.push_back("Matched");
632  errorFlagLabels.push_back("Unmatched Data Cand");
633  errorFlagLabels.push_back("Unmatched Emul Cand");
634 
635  for (unsigned int i = 0; i < errorFlagLabels.size(); i++) {
636  isoEg_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
637  nonIsoEg_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
638  cenJet_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
639  tauJet_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
640  forJet_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
641  }
642  errorFlagLabels.clear();
643 
644  //For the Total Energy Sums and HF
645  errorFlagLabels.push_back("Matched");
646  errorFlagLabels.push_back("Unmatched");
647 
648  for (unsigned int i = 0; i < errorFlagLabels.size(); i++) {
649  hfRingSum_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
650  hfBitCount_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
651  totalEt_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
652  totalHt_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
653  }
654  errorFlagLabels.clear();
655 
656  //For the Missing Energy Sums
657  errorFlagLabels.push_back("Matched");
658  errorFlagLabels.push_back("Matched Mag");
659  errorFlagLabels.push_back("Matched Phi");
660  errorFlagLabels.push_back("Unmatched");
661 
662  for (unsigned int i = 0; i < errorFlagLabels.size(); i++) {
663  missingEt_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
664  missingHt_errorFlag_->GetXaxis()->SetBinLabel(i + 1, errorFlagLabels.at(i).c_str());
665  }
666 
667  //initialise - set all flags to false as they will be set on an event-by-event basis
668  isIsoError = false;
669  isNonIsoError = false;
670  isCenJetError = false;
671  isTauJetError = false;
672  isForJetError = false;
673  isRingSumError = false;
674  isBitCountError = false;
675  isTotalEError = false;
676  isTotalHError = false;
677  isMissingEError = false;
678  isMissingHError = false;
679 
680  //fill the struct of MBXinformation. It is easier to pass this information to the respective functions as used below this way
684 
685  //set the parameters according to the system chosen
686  if (useSys_ == "P5") {
688  } else if (useSys_ == "Lab") {
690  } else {
691  edm::LogWarning("ChosenSystem") << " "
692  << "The system you chose to use (" << useSys_
693  << ") was not recognised. Defaulting to the full system geometry";
695  }
696 }

References cenJet_errorFlag_, cenJetD_EtEtaPhi_, cenJetD_GlobalError_EtEtaPhi_, cenJetD_GlobalError_Rank_, cenJetD_OccEtaPhi_, cenJetD_Rank_, cenJetE_EtEtaPhi_, cenJetE_GlobalError_EtEtaPhi_, cenJetE_GlobalError_Rank_, cenJetE_OccEtaPhi_, cenJetE_Rank_, GctErrorAnalyzerMBxInfo::EmuTrigBx, EmuTrigBx_, errorHistCat, forJet_errorFlag_, forJetD_EtEtaPhi_, forJetD_GlobalError_EtEtaPhi_, forJetD_GlobalError_Rank_, forJetD_OccEtaPhi_, forJetD_Rank_, forJetE_EtEtaPhi_, forJetE_GlobalError_EtEtaPhi_, forJetE_GlobalError_Rank_, forJetE_OccEtaPhi_, forJetE_Rank_, GctErrorAnalyzerMBxInfo::GCTTrigBx, GCTTrigBx_, hfBitCount_errorFlag_, hfBitCountD_1neg_, hfBitCountD_1pos_, hfBitCountD_2neg_, hfBitCountD_2pos_, hfBitCountE_1neg_, hfBitCountE_1pos_, hfBitCountE_2neg_, hfBitCountE_2pos_, hfRingSum_errorFlag_, hfRingSumD_1neg_, hfRingSumD_1pos_, hfRingSumD_2neg_, hfRingSumD_2pos_, hfRingSumE_1neg_, hfRingSumE_1pos_, hfRingSumE_2neg_, hfRingSumE_2pos_, mps_fire::i, intJetE_Et_, intJetE_Jet1Et_, intJetE_Jet2Et_, intJetE_Jet3Et_, intJetE_Jet4Et_, intJetE_Of_, intJetEtEtaPhiE_, isBitCountError, isCenJetError, isForJetError, isIsoError, isMissingEError, isMissingHError, isNonIsoError, isoEg_errorFlag_, isoEgD_EtEtaPhi_, isoEgD_GlobalError_EtEtaPhi_, isoEgD_GlobalError_Rank_, isoEgD_OccEtaPhi_, isoEgD_Rank_, isoEgE_EtEtaPhi_, isoEgE_GlobalError_EtEtaPhi_, isoEgE_GlobalError_Rank_, isoEgE_OccEtaPhi_, isoEgE_Rank_, isRingSumError, isTauJetError, isTotalEError, isTotalHError, TFileDirectory::make(), MBxInfo, missingEt_errorFlag_, missingEtD_, missingEtD_Of_, missingEtD_Phi_, missingEtE_, missingEtE_Of_, missingEtE_Phi_, missingHt_errorFlag_, missingHtD_, missingHtD_HtXNegLeaf1, missingHtD_HtXNegLeaf2, missingHtD_HtXNegLeaf3, missingHtD_HtXPosLeaf1, missingHtD_HtXPosLeaf2, missingHtD_HtXPosLeaf3, missingHtD_HtYNegLeaf1, missingHtD_HtYNegLeaf2, missingHtD_HtYNegLeaf3, missingHtD_HtYPosLeaf1, missingHtD_HtYPosLeaf2, missingHtD_HtYPosLeaf3, missingHtD_Of_, missingHtD_Phi_, missingHtE_, missingHtE_Of_, missingHtE_Phi_, TFileDirectory::mkdir(), TFileService::mkdir(), nonIsoEg_errorFlag_, nonIsoEgD_EtEtaPhi_, nonIsoEgD_GlobalError_EtEtaPhi_, nonIsoEgD_GlobalError_Rank_, nonIsoEgD_OccEtaPhi_, nonIsoEgD_Rank_, nonIsoEgE_EtEtaPhi_, nonIsoEgE_GlobalError_EtEtaPhi_, nonIsoEgE_GlobalError_Rank_, nonIsoEgE_OccEtaPhi_, nonIsoEgE_Rank_, RCT_EtEtaPhi_, RCT_FgEtaPhi_, RCT_OfEtaPhi_, RCT_REGION_QUANTA, RCT_REGION_QUANTA_LAB, RCT_REGION_QUANTA_P5, RCT_TvEtaPhi_, GctErrorAnalyzerMBxInfo::RCTTrigBx, RCTTrigBx_, tauJet_errorFlag_, tauJetD_EtEtaPhi_, tauJetD_GlobalError_EtEtaPhi_, tauJetD_GlobalError_Rank_, tauJetD_OccEtaPhi_, tauJetD_Rank_, tauJetE_EtEtaPhi_, tauJetE_GlobalError_EtEtaPhi_, tauJetE_GlobalError_Rank_, tauJetE_OccEtaPhi_, tauJetE_Rank_, totalEt_errorFlag_, totalEtD_, totalEtD_Of_, totalEtE_, totalEtE_Of_, totalHt_errorFlag_, totalHtD_, totalHtD_Of_, totalHtE_, totalHtE_Of_, and useSys_.

◆ ~GctErrorAnalyzer()

GctErrorAnalyzer::~GctErrorAnalyzer ( )
override

Definition at line 698 of file GctErrorAnalyzer.cc.

698  {
699  // do anything here that needs to be done at desctruction time
700  // (e.g. close files, deallocate resources etc.)
701 }

Member Function Documentation

◆ analyze()

void GctErrorAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 708 of file GctErrorAnalyzer.cc.

708  {
709  using namespace edm;
710  using namespace std;
711 
713  Handle<L1CaloEmCollection> emRegions;
714 
719 
726 
728 
731 
734 
737 
740 
743 
746 
748 
749  //we need this for all user cases...
750  iEvent.getByLabel(dataTag_.label(), caloRegions);
751 
752  //in order to allow the debug folders to have a unique name (so that when jobs are split in crab, we can merge)
753  //use the eventnum in the folder name
754  eventNumber = iEvent.id().event();
755 
756  if (doRCT_) {
757  if (checkCollections(caloRegions, *RCT_REGION_QUANTA, "RCT CaloRegions"))
759  }
760 
761  if (doEg_) {
762  iEvent.getByLabel(dataTag_.label(), "nonIsoEm", nonIsoEgD);
763  iEvent.getByLabel(emuTag_.label(), "nonIsoEm", nonIsoEgE);
764 
765  iEvent.getByLabel(dataTag_.label(), "isoEm", isoEgD);
766  iEvent.getByLabel(emuTag_.label(), "isoEm", isoEgE);
767 
768  isIsoError = false;
769  isNonIsoError = false;
770 
771  if (checkCollections(isoEgD, GCT_OBJECT_QUANTA, "Iso e/g Data") &&
772  checkCollections(isoEgE, GCT_OBJECT_QUANTA, "Iso e/g Emulator")) {
773  plotIsoEm(isoEgD, isoEgE);
774  compareEG isoCompare(isoEgD, isoEgE, MBxInfo);
775  isIsoError = isoCompare.doCompare(isoEg_errorFlag_,
780  }
781 
782  if (checkCollections(nonIsoEgD, GCT_OBJECT_QUANTA, "NonIso e/g Data") &&
783  checkCollections(nonIsoEgE, GCT_OBJECT_QUANTA, "NonIso e/g Emulator")) {
784  plotNonIsoEm(nonIsoEgD, nonIsoEgE);
785  compareEG nonIsoCompare(nonIsoEgD, nonIsoEgE, MBxInfo);
786  isNonIsoError = nonIsoCompare.doCompare(nonIsoEg_errorFlag_,
791  }
792 
794  iEvent.getByLabel(dataTag_.label(), emRegions);
795  if (checkCollections(emRegions, RCT_EM_OBJECT_QUANTA, "RCT EMRegions"))
796  plotEGErrors(isoEgD, isoEgE, nonIsoEgD, nonIsoEgE, emRegions);
797  }
798  }
799 
800  if (doJets_) {
801  iEvent.getByLabel(emuTag_.label(), "cenJets", cenJetsE);
802  iEvent.getByLabel(dataTag_.label(), "cenJets", cenJetsD);
803 
804  iEvent.getByLabel(emuTag_.label(), "forJets", forJetsE);
805  iEvent.getByLabel(dataTag_.label(), "forJets", forJetsD);
806 
807  iEvent.getByLabel(emuTag_.label(), "tauJets", tauJetsE);
808  iEvent.getByLabel(dataTag_.label(), "tauJets", tauJetsD);
809 
810  iEvent.getByLabel(emuTag_.label(), intJetsE);
811 
812  isCenJetError = false;
813  isTauJetError = false;
814  isForJetError = false;
815 
816  //Central Jets
817  if (checkCollections(cenJetsD, GCT_OBJECT_QUANTA, "Central Jets Data") &&
818  checkCollections(cenJetsE, GCT_OBJECT_QUANTA, "Central Jets Emulator")) {
819  plotCenJets(cenJetsD, cenJetsE);
820  compareJets cenJetsCompare(cenJetsD, cenJetsE, MBxInfo);
821  isCenJetError = cenJetsCompare.doCompare(cenJet_errorFlag_,
826  }
827 
828  //Tau Jets
829  if (checkCollections(tauJetsD, GCT_OBJECT_QUANTA, "Tau Jets Data") &&
830  checkCollections(tauJetsE, GCT_OBJECT_QUANTA, "Tau Jets Emulator")) {
831  plotTauJets(tauJetsD, tauJetsE);
832  compareJets tauJetsCompare(tauJetsD, tauJetsE, MBxInfo);
833  isTauJetError = tauJetsCompare.doCompare(tauJet_errorFlag_,
838  }
839 
840  //For Jets
841  if (checkCollections(forJetsD, GCT_OBJECT_QUANTA, "Forward Jets Data") &&
842  checkCollections(forJetsE, GCT_OBJECT_QUANTA, "Forward Jets Emulator")) {
843  plotForJets(forJetsD, forJetsE);
844  compareJets forJetsCompare(forJetsD, forJetsE, MBxInfo);
845  isForJetError = forJetsCompare.doCompare(forJet_errorFlag_,
850  }
851 
852  //Emulator Intermediate Jets
853  if (checkCollections(intJetsE, NUM_INT_JETS, "Intermediate Jets Emulator"))
854  plotIntJets(intJetsE);
855 
858  plotJetErrors(cenJetsD, cenJetsE, tauJetsD, tauJetsE, forJetsD, forJetsE, caloRegions);
859  }
860  }
861 
862  if (doHF_) {
863  iEvent.getByLabel(dataTag_.label(), hfRingSumsD);
864  iEvent.getByLabel(emuTag_.label(), hfRingSumsE);
865 
866  iEvent.getByLabel(dataTag_.label(), hfBitCountsD);
867  iEvent.getByLabel(emuTag_.label(), hfBitCountsE);
868 
869  isRingSumError = false;
870  isBitCountError = false;
871 
872  if (checkCollections(hfRingSumsD, GCT_SUMS_QUANTA, "HF Ring Sums Data") &&
873  checkCollections(hfRingSumsE, GCT_SUMS_QUANTA, "HF Ring Sums Emulator")) {
874  plotHFRingSums(hfRingSumsD, hfRingSumsE);
875  compareRingSums HFRingSums(hfRingSumsD, hfRingSumsE, MBxInfo);
876  isRingSumError = HFRingSums.doCompare(hfRingSum_errorFlag_);
877  }
878 
879  if (checkCollections(hfBitCountsD, GCT_SUMS_QUANTA, "HF Bit Counts Data") &&
880  checkCollections(hfBitCountsE, GCT_SUMS_QUANTA, "HF Bit Counts Emulator")) {
881  plotHFBitCounts(hfBitCountsD, hfBitCountsE);
882  compareBitCounts HFBitCounts(hfBitCountsD, hfBitCountsE, MBxInfo);
883  isBitCountError = HFBitCounts.doCompare(hfBitCount_errorFlag_);
884  }
885 
887  plotHFErrors(hfRingSumsD, hfRingSumsE, hfBitCountsD, hfBitCountsE, caloRegions);
888  }
889  }
890 
891  if (doTotalEnergySums_) {
892  iEvent.getByLabel(dataTag_.label(), totalEtD);
893  iEvent.getByLabel(emuTag_.label(), totalEtE);
894 
895  iEvent.getByLabel(dataTag_.label(), totalHtD);
896  iEvent.getByLabel(emuTag_.label(), totalHtE);
897 
898  isTotalEError = false;
899  isTotalHError = false;
900 
901  if (checkCollections(totalEtD, GCT_SUMS_QUANTA, "Total Et Data") &&
902  checkCollections(totalEtE, GCT_SUMS_QUANTA, "Total Et Emulator")) {
903  plotTotalE(totalEtD, totalEtE);
904  compareTotalE compareET(totalEtD, totalEtE, MBxInfo);
905  isTotalEError = compareET.doCompare(totalEt_errorFlag_);
906  }
907 
908  if (checkCollections(totalHtD, GCT_SUMS_QUANTA, "Total Ht Data") &&
909  checkCollections(totalHtE, GCT_SUMS_QUANTA, "Total Ht Emulator")) {
910  plotTotalH(totalHtD, totalHtE);
911  compareTotalH compareHT(totalHtD, totalHtE, MBxInfo);
912  isTotalHError = compareHT.doCompare(totalHt_errorFlag_);
913  }
914 
916  plotTotalEErrors(totalEtD, totalEtE, totalHtD, totalHtE, caloRegions);
917  }
918  }
919 
920  if (doMissingEnergySums_) {
921  iEvent.getByLabel(dataTag_.label(), missingEtD);
922  iEvent.getByLabel(emuTag_.label(), missingEtE);
923 
924  iEvent.getByLabel(dataTag_.label(), missingHtD);
925  iEvent.getByLabel(emuTag_.label(), missingHtE);
926 
927  isMissingEError = false;
928  isMissingHError = false;
929 
930  if (checkCollections(missingEtD, GCT_SUMS_QUANTA, "Missing Et Data") &&
931  checkCollections(missingEtE, GCT_SUMS_QUANTA, "Missing Et Emulator")) {
932  plotMissingEt(missingEtD, missingEtE);
933  compareMissingE compareMET(missingEtD, missingEtE, MBxInfo);
934  isMissingEError = compareMET.doCompare(missingEt_errorFlag_);
935  }
936 
937  if (checkCollections(missingHtD, GCT_SUMS_QUANTA, "Missing Ht Data") &&
938  checkCollections(missingHtE, GCT_SUMS_QUANTA, "Missing Ht Emulator")) {
939  plotMissingHt(missingHtD, missingHtE);
940  compareMissingH compareMHT(missingHtD, missingHtE, MBxInfo);
941  isMissingHError = compareMHT.doCompare(missingHt_errorFlag_);
942 
943  //added 19/03/2010 for intermediate information on MissingHt quantities in the data
945  iEvent.getByLabel(dataTag_.label(), "", intHtMissD);
946  if (checkCollections(intHtMissD, GCT_INT_HTMISS_QUANTA, "Internal Missing Ht Data")) {
947  for (unsigned int i = 0; i < intHtMissD->size(); i++) {
948  if (doGCTMBx_ || intHtMissD->at(i).bx() == GCTTrigBx_) {
949  if (!intHtMissD->at(i).overflow()) {
950  //the capBlock 0x301 is the input pipeline at the wheel for positive eta, whereas 0x701 is for negative eta
951  if (intHtMissD->at(i).capBlock() == 0x301 && intHtMissD->at(i).capIndex() == 0 &&
952  intHtMissD->at(i).isThereHtx())
953  missingHtD_HtXPosLeaf1->Fill(intHtMissD->at(i).htx());
954  if (intHtMissD->at(i).capBlock() == 0x301 && intHtMissD->at(i).capIndex() == 1 &&
955  intHtMissD->at(i).isThereHtx())
956  missingHtD_HtXPosLeaf2->Fill(intHtMissD->at(i).htx());
957  if (intHtMissD->at(i).capBlock() == 0x301 && intHtMissD->at(i).capIndex() == 2 &&
958  intHtMissD->at(i).isThereHtx())
959  missingHtD_HtXPosLeaf3->Fill(intHtMissD->at(i).htx());
960  if (intHtMissD->at(i).capBlock() == 0x701 && intHtMissD->at(i).capIndex() == 0 &&
961  intHtMissD->at(i).isThereHtx())
962  missingHtD_HtXNegLeaf1->Fill(intHtMissD->at(i).htx());
963  if (intHtMissD->at(i).capBlock() == 0x701 && intHtMissD->at(i).capIndex() == 1 &&
964  intHtMissD->at(i).isThereHtx())
965  missingHtD_HtXNegLeaf2->Fill(intHtMissD->at(i).htx());
966  if (intHtMissD->at(i).capBlock() == 0x701 && intHtMissD->at(i).capIndex() == 2 &&
967  intHtMissD->at(i).isThereHtx())
968  missingHtD_HtXNegLeaf3->Fill(intHtMissD->at(i).htx());
969 
970  if (intHtMissD->at(i).capBlock() == 0x301 && intHtMissD->at(i).capIndex() == 0 &&
971  intHtMissD->at(i).isThereHty())
972  missingHtD_HtYPosLeaf1->Fill(intHtMissD->at(i).hty());
973  if (intHtMissD->at(i).capBlock() == 0x301 && intHtMissD->at(i).capIndex() == 1 &&
974  intHtMissD->at(i).isThereHty())
975  missingHtD_HtYPosLeaf2->Fill(intHtMissD->at(i).hty());
976  if (intHtMissD->at(i).capBlock() == 0x301 && intHtMissD->at(i).capIndex() == 2 &&
977  intHtMissD->at(i).isThereHty())
978  missingHtD_HtYPosLeaf3->Fill(intHtMissD->at(i).hty());
979  if (intHtMissD->at(i).capBlock() == 0x701 && intHtMissD->at(i).capIndex() == 0 &&
980  intHtMissD->at(i).isThereHty())
981  missingHtD_HtYNegLeaf1->Fill(intHtMissD->at(i).hty());
982  if (intHtMissD->at(i).capBlock() == 0x701 && intHtMissD->at(i).capIndex() == 1 &&
983  intHtMissD->at(i).isThereHty())
984  missingHtD_HtYNegLeaf2->Fill(intHtMissD->at(i).hty());
985  if (intHtMissD->at(i).capBlock() == 0x701 && intHtMissD->at(i).capIndex() == 2 &&
986  intHtMissD->at(i).isThereHty())
987  missingHtD_HtYNegLeaf3->Fill(intHtMissD->at(i).hty());
988  }
989  }
990  }
991  }
992  }
993  }
994 
996  plotMissingEErrors(missingEtD, missingEtE, missingHtD, missingHtE, caloRegions, intJetsE, intHtMissD);
997  }
998  }
999 }

References caloLayer1Raw_cfi::caloRegions, cenJet_errorFlag_, cenJetD_GlobalError_EtEtaPhi_, cenJetD_GlobalError_Rank_, cenJetE_GlobalError_EtEtaPhi_, cenJetE_GlobalError_Rank_, checkCollections(), dataTag_, doBitCountDebug_, doCenJetsDebug_, compareCands< T >::doCompare(), compareTotalEnergySums< T >::doCompare(), compareMissingEnergySums< T >::doCompare(), compareRingSums::doCompare(), compareBitCounts::doCompare(), doEg_, doExtraMissingHTDebug_, doForJetsDebug_, doGCTMBx_, doHF_, doIsoDebug_, doJets_, doMissingEnergySums_, doMissingETDebug_, doMissingHTDebug_, doNonIsoDebug_, doRCT_, doRingSumDebug_, doTauJetsDebug_, doTotalEnergySums_, doTotalEtDebug_, doTotalHtDebug_, emuTag_, eventNumber, forJet_errorFlag_, forJetD_GlobalError_EtEtaPhi_, forJetD_GlobalError_Rank_, forJetE_GlobalError_EtEtaPhi_, forJetE_GlobalError_Rank_, GCT_INT_HTMISS_QUANTA, GCT_OBJECT_QUANTA, GCT_SUMS_QUANTA, GCTTrigBx_, hfBitCount_errorFlag_, hfRingSum_errorFlag_, mps_fire::i, iEvent, isBitCountError, isCenJetError, isForJetError, isIsoError, isMissingEError, isMissingHError, isNonIsoError, isoEg_errorFlag_, isoEgD_GlobalError_EtEtaPhi_, isoEgD_GlobalError_Rank_, isoEgE_GlobalError_EtEtaPhi_, isoEgE_GlobalError_Rank_, isRingSumError, isTauJetError, isTotalEError, isTotalHError, edm::InputTag::label(), MBxInfo, missingEt_errorFlag_, missingHt_errorFlag_, missingHtD_HtXNegLeaf1, missingHtD_HtXNegLeaf2, missingHtD_HtXNegLeaf3, missingHtD_HtXPosLeaf1, missingHtD_HtXPosLeaf2, missingHtD_HtXPosLeaf3, missingHtD_HtYNegLeaf1, missingHtD_HtYNegLeaf2, missingHtD_HtYNegLeaf3, missingHtD_HtYPosLeaf1, missingHtD_HtYPosLeaf2, missingHtD_HtYPosLeaf3, nonIsoEg_errorFlag_, nonIsoEgD_GlobalError_EtEtaPhi_, nonIsoEgD_GlobalError_Rank_, nonIsoEgE_GlobalError_EtEtaPhi_, nonIsoEgE_GlobalError_Rank_, NUM_INT_JETS, plotCenJets(), plotEGErrors(), plotForJets(), plotHFBitCounts(), plotHFErrors(), plotHFRingSums(), plotIntJets(), plotIsoEm(), plotJetErrors(), plotMissingEErrors(), plotMissingEt(), plotMissingHt(), plotNonIsoEm(), plotRCTRegions(), plotTauJets(), plotTotalE(), plotTotalEErrors(), plotTotalH(), RCT_EM_OBJECT_QUANTA, RCT_REGION_QUANTA, tauJet_errorFlag_, tauJetD_GlobalError_EtEtaPhi_, tauJetD_GlobalError_Rank_, tauJetE_GlobalError_EtEtaPhi_, tauJetE_GlobalError_Rank_, totalEt_errorFlag_, and totalHt_errorFlag_.

◆ beginJob()

void GctErrorAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 1002 of file GctErrorAnalyzer.cc.

1002 {}

◆ checkCollections()

template<class T >
bool GctErrorAnalyzer::checkCollections ( const T collection,
const unsigned int &  constraint,
const std::string &  label 
)
private

Definition at line 1314 of file GctErrorAnalyzer.cc.

1314  {
1315  //unfortunately, the dataformats are not consistent with the name() method (i.e. some have it, others don't)
1316  //and a typeof() function doesn't exist in ANSI C++, so to identify the templated type, we pass a std::string
1317 
1318  if (!collection.isValid()) {
1319  edm::LogWarning("DataNotFound") << " Could not find " << label << " label";
1320  return false;
1321  }
1322  if (collection->size() % constraint != 0 || collection->empty()) {
1323  edm::LogWarning("CollectionSizeError")
1324  << " " << label << " collection size is " << collection->size() << ", expected multiple of " << constraint;
1325  return false;
1326  }
1327 
1328  return true;
1329 }

References universalConfigTemplate::collection, HLT_FULL_cff::constraint, and label.

Referenced by analyze(), and plotMissingEErrors().

◆ endJob()

void GctErrorAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 1005 of file GctErrorAnalyzer.cc.

1005 {}

◆ operator=()

GctErrorAnalyzer GctErrorAnalyzer::operator= ( const GctErrorAnalyzer )
privatedelete

◆ plotCenJets()

void GctErrorAnalyzer::plotCenJets ( const edm::Handle< L1GctJetCandCollection > &  data,
const edm::Handle< L1GctJetCandCollection > &  emu 
)
private

Definition at line 1169 of file GctErrorAnalyzer.cc.

1170  {
1171  for (unsigned int i = 0; i < cenJetsD->size(); i++) {
1172  if (doGCTMBx_ || cenJetsD->at(i).bx() == GCTTrigBx_) {
1173  cenJetD_Rank_->Fill(cenJetsD->at(i).rank());
1174  if (cenJetsD->at(i).rank() > 0) {
1175  cenJetD_EtEtaPhi_->Fill(
1176  cenJetsD->at(i).regionId().ieta(), cenJetsD->at(i).regionId().iphi(), cenJetsD->at(i).rank());
1177  cenJetD_OccEtaPhi_->Fill(cenJetsD->at(i).regionId().ieta(), cenJetsD->at(i).regionId().iphi());
1178  }
1179  }
1180  }
1181 
1182  for (unsigned int i = 0; i < cenJetsE->size(); i++) {
1183  if (doEmuMBx_ || cenJetsE->at(i).bx() == EmuTrigBx_) {
1184  cenJetE_Rank_->Fill(cenJetsE->at(i).rank());
1185  if (cenJetsE->at(i).rank() > 0) {
1186  cenJetE_EtEtaPhi_->Fill(
1187  cenJetsE->at(i).regionId().ieta(), cenJetsE->at(i).regionId().iphi(), cenJetsE->at(i).rank());
1188  cenJetE_OccEtaPhi_->Fill(cenJetsE->at(i).regionId().ieta(), cenJetsE->at(i).regionId().iphi());
1189  }
1190  }
1191  }
1192 }

References cenJetD_EtEtaPhi_, cenJetD_OccEtaPhi_, cenJetD_Rank_, cenJetE_EtEtaPhi_, cenJetE_OccEtaPhi_, cenJetE_Rank_, doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, and mps_fire::i.

Referenced by analyze().

◆ plotEGErrors()

void GctErrorAnalyzer::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 > &  regions 
)
private

Definition at line 1077 of file GctErrorAnalyzer.cc.

1081  {
1082  std::string errorDirName = "err_";
1083  if (isIsoError)
1084  errorDirName.append("I");
1085  if (isNonIsoError)
1086  errorDirName.append("N");
1087  std::stringstream caseNumber;
1088  caseNumber << eventNumber;
1089  errorDirName.append(caseNumber.str());
1090  TFileDirectory errorDir = errorHistCat.at(0).mkdir(errorDirName);
1091 
1092  TH2I *errorEmRegionIsoEtEtaPhi_ = errorDir.make<TH2I>("errorEmRegionIsoEtEtaPhi",
1093  "errorEmRegionIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1094  22,
1095  -0.5,
1096  21.5,
1097  18,
1098  -0.5,
1099  17.5);
1100  TH2I *errorEmRegionNonIsoEtEtaPhi_ =
1101  errorDir.make<TH2I>("errorEmRegionNonIsoEtEtaPhi",
1102  "errorEmRegionNonIsoEtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1103  22,
1104  -0.5,
1105  21.5,
1106  18,
1107  -0.5,
1108  17.5);
1109  TH2I *errorIsoEtEtaPhiD_ = errorDir.make<TH2I>(
1110  "errorIsoEtEtaPhiD", "errorIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1111  TH2I *errorNonIsoEtEtaPhiD_ = errorDir.make<TH2I>(
1112  "errorNonIsoEtEtaPhiD", "errorNonIsoEtEtaPhiD;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1113  TH2I *errorIsoEtEtaPhiE_ = errorDir.make<TH2I>(
1114  "errorIsoEtEtaPhiE", "errorIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1115  TH2I *errorNonIsoEtEtaPhiE_ = errorDir.make<TH2I>(
1116  "errorNonIsoEtEtaPhiE", "errorNonIsoEtEtaPhiE;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1117 
1118  //fill the EM input collection
1119  //should only fill the correct bx for emRegions - and since this is showing an error in the comparison, we should plot the input to this comparison i.e. Bx=RCTTrigBx
1120  //this assumes that comparison is done on the central Bx i.e. RctBx=0 corresponds to GctBx=0, and EmuBx=0 takes RctBx=0
1121  for (unsigned int i = 0; i < emRegions->size(); i++) {
1122  if (emRegions->at(i).bx() == RCTTrigBx_) {
1123  if (emRegions->at(i).isolated()) {
1124  if (emRegions->at(i).rank() > 0)
1125  errorEmRegionIsoEtEtaPhi_->Fill(
1126  emRegions->at(i).regionId().ieta(), emRegions->at(i).regionId().iphi(), emRegions->at(i).rank());
1127  } else {
1128  if (emRegions->at(i).rank() > 0)
1129  errorEmRegionNonIsoEtEtaPhi_->Fill(
1130  emRegions->at(i).regionId().ieta(), emRegions->at(i).regionId().iphi(), emRegions->at(i).rank());
1131  }
1132  }
1133  }
1134 
1135  //no need to have the rank plot, because you can't have two electrons in the same place (eta,phi), in the same event...
1136  //in this case, since we're actually comparing the GCTTrigBx_ with the EmuTrigBx_, we plot these individually
1137  for (unsigned int i = 0; i < isoEgD->size(); i++) {
1138  if (isoEgD->at(i).bx() == GCTTrigBx_) {
1139  if (isoEgD->at(i).rank() > 0)
1140  errorIsoEtEtaPhiD_->Fill(
1141  isoEgD->at(i).regionId().ieta(), isoEgD->at(i).regionId().iphi(), isoEgD->at(i).rank());
1142  }
1143  }
1144  for (unsigned int i = 0; i < nonIsoEgD->size(); i++) {
1145  if (nonIsoEgD->at(i).bx() == GCTTrigBx_) {
1146  if (nonIsoEgD->at(i).rank() > 0)
1147  errorNonIsoEtEtaPhiD_->Fill(
1148  nonIsoEgD->at(i).regionId().ieta(), nonIsoEgD->at(i).regionId().iphi(), nonIsoEgD->at(i).rank());
1149  }
1150  }
1151 
1152  //now for the emulator candidates
1153  for (unsigned int i = 0; i < isoEgE->size(); i++) {
1154  if (isoEgE->at(i).bx() == EmuTrigBx_) {
1155  if (isoEgE->at(i).rank() > 0)
1156  errorIsoEtEtaPhiE_->Fill(
1157  isoEgE->at(i).regionId().ieta(), isoEgE->at(i).regionId().iphi(), isoEgE->at(i).rank());
1158  }
1159  }
1160  for (unsigned int i = 0; i < nonIsoEgE->size(); i++) {
1161  if (nonIsoEgE->at(i).bx() == EmuTrigBx_) {
1162  if (nonIsoEgE->at(i).rank() > 0)
1163  errorNonIsoEtEtaPhiE_->Fill(
1164  nonIsoEgE->at(i).regionId().ieta(), nonIsoEgE->at(i).regionId().iphi(), nonIsoEgE->at(i).rank());
1165  }
1166  }
1167 }

References EmuTrigBx_, errorHistCat, eventNumber, GCTTrigBx_, mps_fire::i, isIsoError, isNonIsoError, TFileDirectory::make(), RCTTrigBx_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by analyze().

◆ plotForJets()

void GctErrorAnalyzer::plotForJets ( const edm::Handle< L1GctJetCandCollection > &  data,
const edm::Handle< L1GctJetCandCollection > &  emu 
)
private

Definition at line 1219 of file GctErrorAnalyzer.cc.

1220  {
1221  for (unsigned int i = 0; i < forJetsD->size(); i++) {
1222  if (doGCTMBx_ || forJetsD->at(i).bx() == GCTTrigBx_) {
1223  forJetD_Rank_->Fill(forJetsD->at(i).rank());
1224  if (forJetsD->at(i).rank() > 0) {
1225  forJetD_EtEtaPhi_->Fill(
1226  forJetsD->at(i).regionId().ieta(), forJetsD->at(i).regionId().iphi(), forJetsD->at(i).rank());
1227  forJetD_OccEtaPhi_->Fill(forJetsD->at(i).regionId().ieta(), forJetsD->at(i).regionId().iphi());
1228  }
1229  }
1230  }
1231 
1232  for (unsigned int i = 0; i < forJetsE->size(); i++) {
1233  if (doEmuMBx_ || forJetsE->at(i).bx() == EmuTrigBx_) {
1234  forJetE_Rank_->Fill(forJetsE->at(i).rank());
1235  if (forJetsE->at(i).rank() > 0) {
1236  forJetE_EtEtaPhi_->Fill(
1237  forJetsE->at(i).regionId().ieta(), forJetsE->at(i).regionId().iphi(), forJetsE->at(i).rank());
1238  forJetE_OccEtaPhi_->Fill(forJetsE->at(i).regionId().ieta(), forJetsE->at(i).regionId().iphi());
1239  }
1240  }
1241  }
1242 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, forJetD_EtEtaPhi_, forJetD_OccEtaPhi_, forJetD_Rank_, forJetE_EtEtaPhi_, forJetE_OccEtaPhi_, forJetE_Rank_, GCTTrigBx_, and mps_fire::i.

Referenced by analyze().

◆ plotHFBitCounts()

void GctErrorAnalyzer::plotHFBitCounts ( const edm::Handle< L1GctHFBitCountsCollection > &  hfBitCountsD,
const edm::Handle< L1GctHFBitCountsCollection > &  hfBitCountsE 
)
private

Definition at line 1487 of file GctErrorAnalyzer.cc.

1488  {
1489  for (unsigned int i = 0; i < hfBitCountsD->size(); i++) {
1490  if (doGCTMBx_ || hfBitCountsD->at(i).bx() == GCTTrigBx_) {
1491  //there are 4 rings - just fill the histograms
1492  hfBitCountD_1pos_->Fill(hfBitCountsD->at(i).bitCount(0));
1493  hfBitCountD_1neg_->Fill(hfBitCountsD->at(i).bitCount(1));
1494  hfBitCountD_2pos_->Fill(hfBitCountsD->at(i).bitCount(2));
1495  hfBitCountD_2neg_->Fill(hfBitCountsD->at(i).bitCount(3));
1496  }
1497  }
1498  for (unsigned int i = 0; i < hfBitCountsE->size(); i++) {
1499  if (doEmuMBx_ || hfBitCountsE->at(i).bx() == EmuTrigBx_) {
1500  hfBitCountE_1pos_->Fill(hfBitCountsE->at(i).bitCount(0));
1501  hfBitCountE_1neg_->Fill(hfBitCountsE->at(i).bitCount(1));
1502  hfBitCountE_2pos_->Fill(hfBitCountsE->at(i).bitCount(2));
1503  hfBitCountE_2neg_->Fill(hfBitCountsE->at(i).bitCount(3));
1504  }
1505  }
1506 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, hfBitCountD_1neg_, hfBitCountD_1pos_, hfBitCountD_2neg_, hfBitCountD_2pos_, hfBitCountE_1neg_, hfBitCountE_1pos_, hfBitCountE_2neg_, hfBitCountE_2pos_, and mps_fire::i.

Referenced by analyze().

◆ plotHFErrors()

void GctErrorAnalyzer::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 
)
private

Definition at line 1508 of file GctErrorAnalyzer.cc.

1512  {
1513  std::string errorDirName = "err_";
1514  if (isRingSumError)
1515  errorDirName.append("R");
1516  if (isBitCountError)
1517  errorDirName.append("B");
1518  std::stringstream caseNumber;
1519  caseNumber << eventNumber;
1520  errorDirName.append(caseNumber.str());
1521  TFileDirectory errorDir = errorHistCat.at(2).mkdir(errorDirName);
1522 
1523  TH2I *errorRegionEtEtaPhi_ = errorDir.make<TH2I>(
1524  "errorRegionEtEtaPhi", "errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1525  TH2I *errorRegionFgEtaPhi_ = errorDir.make<TH2I>(
1526  "errorRegionFgEtaPhi", "errorRegionFgEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1527  TH2I *errorRegionOfEtaPhi_ = errorDir.make<TH2I>(
1528  "errorRegionOfEtaPhi", "errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1529 
1530  TH1I *errorHFRingSumD_1pos_ =
1531  errorDir.make<TH1I>("errorHFRingSumD_1+", "errorHFRingSumD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1532  TH1I *errorHFRingSumD_2pos_ =
1533  errorDir.make<TH1I>("errorHFRingSumD_2+", "errorHFRingSumD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1534  TH1I *errorHFRingSumD_1neg_ =
1535  errorDir.make<TH1I>("errorHFRingSumD_1-", "errorHFRingSumD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1536  TH1I *errorHFRingSumD_2neg_ =
1537  errorDir.make<TH1I>("errorHFRingSumD_2-", "errorHFRingSumD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1538  TH1I *errorHFRingSumE_1pos_ =
1539  errorDir.make<TH1I>("errorHFRingSumE_1+", "errorHFRingSumE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1540  TH1I *errorHFRingSumE_2pos_ =
1541  errorDir.make<TH1I>("errorHFRingSumE_2+", "errorHFRingSumE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1542  TH1I *errorHFRingSumE_1neg_ =
1543  errorDir.make<TH1I>("errorHFRingSumE_1-", "errorHFRingSumE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1544  TH1I *errorHFRingSumE_2neg_ =
1545  errorDir.make<TH1I>("errorHFRingSumE_2-", "errorHFRingSumE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1546 
1547  TH1I *errorHFBitCountD_1pos_ =
1548  errorDir.make<TH1I>("errorHFBitCountD_1+", "errorHFBitCountD_1+;Rank;Number of Events", 8, -0.5, 7.5);
1549  TH1I *errorHFBitCountD_2pos_ =
1550  errorDir.make<TH1I>("errorHFBitCountD_2+", "errorHFBitCountD_2+;Rank;Number of Events", 8, -0.5, 7.5);
1551  TH1I *errorHFBitCountD_1neg_ =
1552  errorDir.make<TH1I>("errorHFBitCountD_1-", "errorHFBitCountD_1-;Rank;Number of Events", 8, -0.5, 7.5);
1553  TH1I *errorHFBitCountD_2neg_ =
1554  errorDir.make<TH1I>("errorHFBitCountD_2-", "errorHFBitCountD_2-;Rank;Number of Events", 8, -0.5, 7.5);
1555  TH1I *errorHFBitCountE_1pos_ =
1556  errorDir.make<TH1I>("errorHFBitCountE_1+", "errorHFBitCountE_1+;Rank;Number of Events", 8, -0.5, 7.5);
1557  TH1I *errorHFBitCountE_2pos_ =
1558  errorDir.make<TH1I>("errorHFBitCountE_2+", "errorHFBitCountE_2+;Rank;Number of Events", 8, -0.5, 7.5);
1559  TH1I *errorHFBitCountE_1neg_ =
1560  errorDir.make<TH1I>("errorHFBitCountE_1-", "errorHFBitCountE_1-;Rank;Number of Events", 8, -0.5, 7.5);
1561  TH1I *errorHFBitCountE_2neg_ =
1562  errorDir.make<TH1I>("errorHFBitCountE_2-", "errorHFBitCountE_2-;Rank;Number of Events", 8, -0.5, 7.5);
1563 
1564  for (unsigned int i = 0; i < caloRegions->size(); i++) {
1565  if (caloRegions->at(i).bx() == RCTTrigBx_) {
1566  if (caloRegions->at(i).et() > 0)
1567  errorRegionEtEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi(), caloRegions->at(i).et());
1568  if (caloRegions->at(i).fineGrain())
1569  errorRegionFgEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1570  if (caloRegions->at(i).overFlow())
1571  errorRegionOfEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1572  }
1573  }
1574 
1575  for (unsigned int i = 0; i < hfRingSumsD->size(); i++) {
1576  if (hfRingSumsD->at(i).bx() == GCTTrigBx_) {
1577  errorHFRingSumD_1pos_->Fill(hfRingSumsD->at(i).etSum(0));
1578  errorHFRingSumD_1neg_->Fill(hfRingSumsD->at(i).etSum(1));
1579  errorHFRingSumD_2pos_->Fill(hfRingSumsD->at(i).etSum(2));
1580  errorHFRingSumD_2neg_->Fill(hfRingSumsD->at(i).etSum(3));
1581  }
1582  }
1583  for (unsigned int i = 0; i < hfRingSumsE->size(); i++) {
1584  if (hfRingSumsE->at(i).bx() == EmuTrigBx_) {
1585  errorHFRingSumE_1pos_->Fill(hfRingSumsE->at(i).etSum(0));
1586  errorHFRingSumE_1neg_->Fill(hfRingSumsE->at(i).etSum(1));
1587  errorHFRingSumE_2pos_->Fill(hfRingSumsE->at(i).etSum(2));
1588  errorHFRingSumE_2neg_->Fill(hfRingSumsE->at(i).etSum(3));
1589  }
1590  }
1591 
1592  for (unsigned int i = 0; i < hfBitCountsD->size(); i++) {
1593  if (hfBitCountsD->at(i).bx() == GCTTrigBx_) {
1594  errorHFBitCountD_1pos_->Fill(hfBitCountsD->at(i).bitCount(0));
1595  errorHFBitCountD_1neg_->Fill(hfBitCountsD->at(i).bitCount(1));
1596  errorHFBitCountD_2pos_->Fill(hfBitCountsD->at(i).bitCount(2));
1597  errorHFBitCountD_2neg_->Fill(hfBitCountsD->at(i).bitCount(3));
1598  }
1599  }
1600  for (unsigned int i = 0; i < hfBitCountsE->size(); i++) {
1601  if (hfBitCountsE->at(i).bx() == EmuTrigBx_) {
1602  errorHFBitCountE_1pos_->Fill(hfBitCountsE->at(i).bitCount(0));
1603  errorHFBitCountE_1neg_->Fill(hfBitCountsE->at(i).bitCount(1));
1604  errorHFBitCountE_2pos_->Fill(hfBitCountsE->at(i).bitCount(2));
1605  errorHFBitCountE_2neg_->Fill(hfBitCountsE->at(i).bitCount(3));
1606  }
1607  }
1608 }

References caloLayer1Raw_cfi::caloRegions, EmuTrigBx_, errorHistCat, eventNumber, GCTTrigBx_, mps_fire::i, isBitCountError, isRingSumError, TFileDirectory::make(), RCTTrigBx_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by analyze().

◆ plotHFRingSums()

void GctErrorAnalyzer::plotHFRingSums ( const edm::Handle< L1GctHFRingEtSumsCollection > &  data,
const edm::Handle< L1GctHFRingEtSumsCollection > &  emu 
)
private

Definition at line 1465 of file GctErrorAnalyzer.cc.

1466  {
1467  for (unsigned int i = 0; i < hfRingSumsD->size(); i++) {
1468  if (doGCTMBx_ || hfRingSumsD->at(i).bx() == GCTTrigBx_) {
1469  //there are 4 rings - just fill the histograms
1470  hfRingSumD_1pos_->Fill(hfRingSumsD->at(i).etSum(0));
1471  hfRingSumD_1neg_->Fill(hfRingSumsD->at(i).etSum(1));
1472  hfRingSumD_2pos_->Fill(hfRingSumsD->at(i).etSum(2));
1473  hfRingSumD_2neg_->Fill(hfRingSumsD->at(i).etSum(3));
1474  }
1475  }
1476 
1477  for (unsigned int i = 0; i < hfRingSumsE->size(); i++) {
1478  if (doEmuMBx_ || hfRingSumsE->at(i).bx() == EmuTrigBx_) {
1479  hfRingSumE_1pos_->Fill(hfRingSumsE->at(i).etSum(0));
1480  hfRingSumE_1neg_->Fill(hfRingSumsE->at(i).etSum(1));
1481  hfRingSumE_2pos_->Fill(hfRingSumsE->at(i).etSum(2));
1482  hfRingSumE_2neg_->Fill(hfRingSumsE->at(i).etSum(3));
1483  }
1484  }
1485 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, hfRingSumD_1neg_, hfRingSumD_1pos_, hfRingSumD_2neg_, hfRingSumD_2pos_, hfRingSumE_1neg_, hfRingSumE_1pos_, hfRingSumE_2neg_, hfRingSumE_2pos_, and mps_fire::i.

Referenced by analyze().

◆ plotIntJets()

void GctErrorAnalyzer::plotIntJets ( const edm::Handle< L1GctInternJetDataCollection > &  emu)
private

Definition at line 1244 of file GctErrorAnalyzer.cc.

1244  {
1245  jetData intJet;
1246  std::vector<jetData> intJetCollection(
1247  NUM_INT_JETS); //define fixed size for the vector to avoid reallocation (i.e. max size possible)
1248 
1249  //since we don't read out the intermediate (i.e. leaf card) jets, we can only plot the emulator distributions
1250  //the 1st-4th jet Et will prove useful in understanding and motivating cuts on individual jets in HT and MHT.
1251  for (unsigned int i = 0; i < intJetsE->size(); i++) {
1252  if (doEmuMBx_ || intJetsE->at(i).bx() == EmuTrigBx_) {
1253  //the intermediate jets are not sorted in terms of Et so
1254  //in order to do this independently of the data format,
1255  //copy to a user defined struct and sort that way
1256  intJet.et = intJetsE->at(i).et();
1257  intJet.phi = intJetsE->at(i).phi();
1258  intJet.eta = intJetsE->at(i).eta();
1259  intJetCollection.at(i % NUM_INT_JETS) = intJet;
1260 
1261  //remember, if the event has 1 overflowed jet, then we fill the internal jet dist overflow histogram
1262  //and skip the event - there is no point looking at the leading jet distributions etc for an event
1263  //with an overflowed jet - this will imply HT, ET, MET and MHT all overflow too.
1264  if (intJetsE->at(i).oflow()) {
1265  intJetE_Of_->Fill(intJetsE->at(i).oflow());
1266  return;
1267  }
1268 
1269  //plot the (et,eta,phi) distribution of the intermediate jets (for non-zero et)
1270  if (intJetsE->at(i).et())
1271  intJetEtEtaPhiE_->Fill(
1272  intJetsE->at(i).regionId().ieta(), intJetsE->at(i).regionId().iphi(), intJetsE->at(i).et());
1273  }
1274  }
1275 
1276  //if we get this far, there are no jets with an overflow bit so fill the overflow histogram and
1277  //sort the intJetCollection according to the rule defined in sortJets (i.e. largest et first)
1278  intJetE_Of_->Fill(0);
1279  std::sort(intJetCollection.begin(), intJetCollection.end(), sortJets);
1280 
1281  std::vector<TH1I *> leadingJetDist(4);
1282  leadingJetDist.at(0) = intJetE_Jet1Et_;
1283  leadingJetDist.at(1) = intJetE_Jet2Et_;
1284  leadingJetDist.at(2) = intJetE_Jet3Et_;
1285  leadingJetDist.at(3) = intJetE_Jet4Et_;
1286 
1287  unsigned int i = 0;
1288  unsigned int j = 0;
1289  unsigned int currentEt = 0;
1290  while (intJetCollection.at(i).et > 0) {
1291  if (j < leadingJetDist.size()) {
1292  if (i == 0) {
1293  leadingJetDist.at(j)->Fill(intJetCollection.at(i).et);
1294  currentEt = intJetCollection.at(i).et;
1295  j++;
1296  } else {
1297  if (intJetCollection.at(i).et < currentEt) {
1298  leadingJetDist.at(j)->Fill(intJetCollection.at(i).et);
1299  currentEt = intJetCollection.at(i).et;
1300  j++;
1301  }
1302  }
1303  }
1304 
1305  intJetE_Et_->Fill(intJetCollection.at(i).et);
1306  i++;
1307  }
1308  return;
1309 }

References doEmuMBx_, EmuTrigBx_, jetData::et, jetData::eta, mps_fire::i, intJetE_Et_, intJetE_Jet1Et_, intJetE_Jet2Et_, intJetE_Jet3Et_, intJetE_Jet4Et_, intJetE_Of_, intJetEtEtaPhiE_, dqmiolumiharvest::j, NUM_INT_JETS, jetData::phi, jetUpdater_cfi::sort, and sortJets().

Referenced by analyze().

◆ plotIsoEm()

void GctErrorAnalyzer::plotIsoEm ( const edm::Handle< L1GctEmCandCollection > &  data,
const edm::Handle< L1GctEmCandCollection > &  emu 
)
private

Definition at line 1025 of file GctErrorAnalyzer.cc.

1026  {
1027  //loop over all the data candidates - if multiple bx, then this should be a multiple of GCT_OBJECT_QUANTA
1028  for (unsigned int i = 0; i < isoEgD->size(); i++) {
1029  //if the GCTMBx flag is set, plot all Bx for this quantity, otherwise only plot Bx = GCTTrigBx_
1030  if (doGCTMBx_ || isoEgD->at(i).bx() == GCTTrigBx_) {
1031  isoEgD_Rank_->Fill(isoEgD->at(i).rank());
1032  if (isoEgD->at(i).rank() > 0) {
1033  isoEgD_EtEtaPhi_->Fill(isoEgD->at(i).regionId().ieta(), isoEgD->at(i).regionId().iphi(), isoEgD->at(i).rank());
1034  isoEgD_OccEtaPhi_->Fill(isoEgD->at(i).regionId().ieta(), isoEgD->at(i).regionId().iphi());
1035  }
1036  }
1037  }
1038  //now repeat for the emulator candidates
1039  for (unsigned int i = 0; i < isoEgE->size(); i++) {
1040  if (doEmuMBx_ || isoEgE->at(i).bx() == EmuTrigBx_) {
1041  isoEgE_Rank_->Fill(isoEgE->at(i).rank());
1042  if (isoEgE->at(i).rank() > 0) {
1043  isoEgE_EtEtaPhi_->Fill(isoEgE->at(i).regionId().ieta(), isoEgE->at(i).regionId().iphi(), isoEgE->at(i).rank());
1044  isoEgE_OccEtaPhi_->Fill(isoEgE->at(i).regionId().ieta(), isoEgE->at(i).regionId().iphi());
1045  }
1046  }
1047  }
1048 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, mps_fire::i, isoEgD_EtEtaPhi_, isoEgD_OccEtaPhi_, isoEgD_Rank_, isoEgE_EtEtaPhi_, isoEgE_OccEtaPhi_, and isoEgE_Rank_.

Referenced by analyze().

◆ plotJetErrors()

void GctErrorAnalyzer::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 > &  regions 
)
private

Definition at line 1331 of file GctErrorAnalyzer.cc.

1337  {
1338  std::string errorDirName = "err_";
1339  if (isCenJetError)
1340  errorDirName.append("C");
1341  if (isTauJetError)
1342  errorDirName.append("T");
1343  if (isForJetError)
1344  errorDirName.append("F");
1345  std::stringstream caseNumber;
1346  caseNumber << eventNumber;
1347  errorDirName.append(caseNumber.str());
1348  TFileDirectory errorDir = errorHistCat.at(1).mkdir(errorDirName);
1349 
1350  TH2I *errorRegionEtEtaPhi_ = errorDir.make<TH2I>(
1351  "errorRegionEtEtaPhi", "errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1352  TH2I *errorRegionTvEtaPhi_ = errorDir.make<TH2I>(
1353  "errorRegionTvEtaPhi", "errorRegionTvEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1354  TH2I *errorRegionOfEtaPhi_ = errorDir.make<TH2I>(
1355  "errorRegionOfEtaPhi", "errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1356 
1357  //make sure to only plot the caloRegion bx which corresponds to the data vs emulator comparison
1358  for (unsigned int i = 0; i < caloRegions->size(); i++) {
1359  if (caloRegions->at(i).bx() == RCTTrigBx_) {
1360  if (caloRegions->at(i).et() > 0)
1361  errorRegionEtEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi(), caloRegions->at(i).et());
1362  if (caloRegions->at(i).tauVeto())
1363  errorRegionTvEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1364  if (caloRegions->at(i).overFlow())
1365  errorRegionOfEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1366  }
1367  }
1368 
1369  TH2I *cenJet_errorEtEtaPhiData_ = errorDir.make<TH2I>("cenJet_errorEtEtaPhiData",
1370  "cenJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1371  22,
1372  -0.5,
1373  21.5,
1374  18,
1375  -0.5,
1376  17.5);
1377  TH2I *cenJet_errorEtEtaPhiEmu_ = errorDir.make<TH2I>("cenJet_errorEtEtaPhiEmu",
1378  "cenJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1379  22,
1380  -0.5,
1381  21.5,
1382  18,
1383  -0.5,
1384  17.5);
1385  TH2I *tauJet_errorEtEtaPhiData_ = errorDir.make<TH2I>("tauJet_errorEtEtaPhiData",
1386  "tauJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1387  22,
1388  -0.5,
1389  21.5,
1390  18,
1391  -0.5,
1392  17.5);
1393  TH2I *tauJet_errorEtEtaPhiEmu_ = errorDir.make<TH2I>("tauJet_errorEtEtaPhiEmu",
1394  "tauJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1395  22,
1396  -0.5,
1397  21.5,
1398  18,
1399  -0.5,
1400  17.5);
1401  TH2I *forJet_errorEtEtaPhiData_ = errorDir.make<TH2I>("forJet_errorEtEtaPhiData",
1402  "forJet_errorEtEtaPhiData;#eta (GCT Units);#phi (GCT Units)",
1403  22,
1404  -0.5,
1405  21.5,
1406  18,
1407  -0.5,
1408  17.5);
1409  TH2I *forJet_errorEtEtaPhiEmu_ = errorDir.make<TH2I>("forJet_errorEtEtaPhiEmu",
1410  "forJet_errorEtEtaPhiEmu;#eta (GCT Units);#phi (GCT Units)",
1411  22,
1412  -0.5,
1413  21.5,
1414  18,
1415  -0.5,
1416  17.5);
1417 
1418  //first plot the data candiates for the Trigger Bx that this error corresponds to
1419  for (unsigned int i = 0; i < cenJetsD->size(); i++) {
1420  if (cenJetsD->at(i).bx() == GCTTrigBx_) {
1421  if (cenJetsD->at(i).rank() > 0)
1422  cenJet_errorEtEtaPhiData_->Fill(
1423  cenJetsD->at(i).regionId().ieta(), cenJetsD->at(i).regionId().iphi(), cenJetsD->at(i).rank());
1424  }
1425  }
1426  for (unsigned int i = 0; i < tauJetsD->size(); i++) {
1427  if (tauJetsD->at(i).bx() == GCTTrigBx_) {
1428  if (tauJetsD->at(i).rank() > 0)
1429  tauJet_errorEtEtaPhiData_->Fill(
1430  tauJetsD->at(i).regionId().ieta(), tauJetsD->at(i).regionId().iphi(), tauJetsD->at(i).rank());
1431  }
1432  }
1433  for (unsigned int i = 0; i < forJetsD->size(); i++) {
1434  if (forJetsD->at(i).bx() == GCTTrigBx_) {
1435  if (forJetsD->at(i).rank() > 0)
1436  forJet_errorEtEtaPhiData_->Fill(
1437  forJetsD->at(i).regionId().ieta(), forJetsD->at(i).regionId().iphi(), forJetsD->at(i).rank());
1438  }
1439  }
1440 
1441  //now the emulator candidates
1442  for (unsigned int i = 0; i < cenJetsE->size(); i++) {
1443  if (cenJetsE->at(i).bx() == EmuTrigBx_) {
1444  if (cenJetsE->at(i).rank() > 0)
1445  cenJet_errorEtEtaPhiEmu_->Fill(
1446  cenJetsE->at(i).regionId().ieta(), cenJetsE->at(i).regionId().iphi(), cenJetsE->at(i).rank());
1447  }
1448  }
1449  for (unsigned int i = 0; i < tauJetsE->size(); i++) {
1450  if (tauJetsE->at(i).bx() == EmuTrigBx_) {
1451  if (tauJetsE->at(i).rank() > 0)
1452  tauJet_errorEtEtaPhiEmu_->Fill(
1453  tauJetsE->at(i).regionId().ieta(), tauJetsE->at(i).regionId().iphi(), tauJetsE->at(i).rank());
1454  }
1455  }
1456  for (unsigned int i = 0; i < forJetsE->size(); i++) {
1457  if (forJetsE->at(i).bx() == EmuTrigBx_) {
1458  if (forJetsE->at(i).rank() > 0)
1459  forJet_errorEtEtaPhiEmu_->Fill(
1460  forJetsE->at(i).regionId().ieta(), forJetsE->at(i).regionId().iphi(), forJetsE->at(i).rank());
1461  }
1462  }
1463 }

References caloLayer1Raw_cfi::caloRegions, EmuTrigBx_, errorHistCat, eventNumber, GCTTrigBx_, mps_fire::i, isCenJetError, isForJetError, isTauJetError, TFileDirectory::make(), RCTTrigBx_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by analyze().

◆ plotMissingEErrors()

void GctErrorAnalyzer::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 
)
private

Definition at line 1769 of file GctErrorAnalyzer.cc.

1775  {
1776  std::string errorDirName = "err_";
1777  if (isMissingEError)
1778  errorDirName.append("E");
1779  if (isMissingHError)
1780  errorDirName.append("H");
1781 
1782  //added 05.03.2010 to highlight overflow errors in the missing energy sum calculation
1783  for (unsigned int i = 0; i < missingHtE->size(); i++) {
1784  if (missingHtE->at(i).bx() == EmuTrigBx_) {
1785  for (unsigned int j = 0; j < missingHtD->size(); j++) {
1786  if (missingHtD->at(j).bx() == GCTTrigBx_) {
1787  if (missingHtD->at(j).overFlow() != missingHtE->at(i).overFlow())
1788  errorDirName.append("O");
1789  }
1790  }
1791  }
1792  }
1793 
1794  std::stringstream caseNumber;
1795  caseNumber << eventNumber;
1796  errorDirName.append(caseNumber.str());
1797  TFileDirectory errorDir = errorHistCat.at(4).mkdir(errorDirName);
1798 
1799  TH2I *errorRegionEtEtaPhi_ = errorDir.make<TH2I>(
1800  "errorRegionEtEtaPhi", "errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1801  TH2I *errorRegionOfEtaPhi_ = errorDir.make<TH2I>(
1802  "errorRegionOfEtaPhi", "errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1803  TH1I *errorMissingEtD_ =
1804  errorDir.make<TH1I>("errorMissingEtD", "errorMissingEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1805  TH1I *errorMissingEtD_Of_ = errorDir.make<TH1I>(
1806  "errorMissingEtD_Of", "errorMissingEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1807  TH1I *errorMissingEtD_Phi_ = errorDir.make<TH1I>(
1808  "errorMissingEtD_Phi", "errorMissingEtD_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1809  TH1I *errorMissingEtE_ =
1810  errorDir.make<TH1I>("errorMissingEtE", "errorMissingEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1811  TH1I *errorMissingEtE_Of_ = errorDir.make<TH1I>(
1812  "errorMissingEtE_Of", "errorMissingEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1813  TH1I *errorMissingEtE_Phi_ = errorDir.make<TH1I>(
1814  "errorMissingEtE_Phi", "errorMissingEtE_Phi;Missing E_{T} #phi;Number of Events", 72, -0.5, 71.5);
1815  TH1I *errorMissingHtD_ =
1816  errorDir.make<TH1I>("errorMissingHtD", "errorMissingHtD;H_{T};Number of Events", 1024, -0.5, 1023.5);
1817  TH1I *errorMissingHtD_Of_ = errorDir.make<TH1I>(
1818  "errorMissingHtD_Of", "errorMissingHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1819  TH1I *errorMissingHtD_Phi_ = errorDir.make<TH1I>(
1820  "errorMissingHtD_Phi", "errorMissingHtD_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1821  TH1I *errorMissingHtE_ =
1822  errorDir.make<TH1I>("errorMissingHtE", "errorMissingHtE;H_{T};Number of Events", 1024, -0.5, 1023.5);
1823  TH1I *errorMissingHtE_Of_ = errorDir.make<TH1I>(
1824  "errorMissingHtE_Of", "errorMissingHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1825  TH1I *errorMissingHtE_Phi_ = errorDir.make<TH1I>(
1826  "errorMissingHtE_Phi", "errorMissingHtE_Phi;Missing H_{T} #phi;Number of Events", 72, -0.5, 71.5);
1827 
1828  //Added 19.03.2010 to provide additional information in the case of missingHt failures
1829  //1. The MHT from both wheel inputs (i.e. the leaf cards)
1830  //2. The emulator jet et,eta,phi for all jets found in an event
1831  if (doExtraMissingHTDebug_) {
1832  if (checkCollections(intMissingHtD, GCT_INT_HTMISS_QUANTA, "Internal Missing Ht Data")) {
1833  TH1I *errorMissingHtD_HtXPosLeaf1 = errorDir.make<TH1I>(
1834  "errorMissingHtD_HtXPosLeaf1", "missingHtD;Missing H_{T} X PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1835  TH1I *errorMissingHtD_HtXPosLeaf2 = errorDir.make<TH1I>(
1836  "errorMissingHtD_HtXPosLeaf2", "missingHtD;Missing H_{T} X PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1837  TH1I *errorMissingHtD_HtXPosLeaf3 = errorDir.make<TH1I>(
1838  "errorMissingHtD_HtXPosLeaf3", "missingHtD;Missing H_{T} X PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1839  TH1I *errorMissingHtD_HtXNegLeaf1 = errorDir.make<TH1I>(
1840  "errorMissingHtD_HtXNegLeaf1", "missingHtD;Missing H_{T} X NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1841  TH1I *errorMissingHtD_HtXNegLeaf2 = errorDir.make<TH1I>(
1842  "errorMissingHtD_HtXNegLeaf2", "missingHtD;Missing H_{T} X NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1843  TH1I *errorMissingHtD_HtXNegLeaf3 = errorDir.make<TH1I>(
1844  "errorMissingHtD_HtXNegLeaf3", "missingHtD;Missing H_{T} X NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1845 
1846  TH1I *errorMissingHtD_HtYPosLeaf1 = errorDir.make<TH1I>(
1847  "errorMissingHtD_HtYPosLeaf1", "missingHtD;Missing H_{T} Y PosLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1848  TH1I *errorMissingHtD_HtYPosLeaf2 = errorDir.make<TH1I>(
1849  "errorMissingHtD_HtYPosLeaf2", "missingHtD;Missing H_{T} Y PosLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1850  TH1I *errorMissingHtD_HtYPosLeaf3 = errorDir.make<TH1I>(
1851  "errorMissingHtD_HtYPosLeaf3", "missingHtD;Missing H_{T} Y PosLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1852  TH1I *errorMissingHtD_HtYNegLeaf1 = errorDir.make<TH1I>(
1853  "errorMissingHtD_HtYNegLeaf1", "missingHtD;Missing H_{T} Y NegLeaf1;Number of Events", 4096, -2048.5, 2047.5);
1854  TH1I *errorMissingHtD_HtYNegLeaf2 = errorDir.make<TH1I>(
1855  "errorMissingHtD_HtYNegLeaf2", "missingHtD;Missing H_{T} Y NegLeaf2;Number of Events", 4096, -2048.5, 2047.5);
1856  TH1I *errorMissingHtD_HtYNegLeaf3 = errorDir.make<TH1I>(
1857  "errorMissingHtD_HtYNegLeaf3", "missingHtD;Missing H_{T} Y NegLeaf3;Number of Events", 4096, -2048.5, 2047.5);
1858 
1859  for (unsigned int i = 0; i < intMissingHtD->size(); i++) {
1860  if (intMissingHtD->at(i).bx() == GCTTrigBx_) {
1861  if (!intMissingHtD->at(i).overflow()) {
1862  if (intMissingHtD->at(i).capBlock() == 0x301 && intMissingHtD->at(i).capIndex() == 0 &&
1863  intMissingHtD->at(i).isThereHtx())
1864  errorMissingHtD_HtXPosLeaf1->Fill(intMissingHtD->at(i).htx());
1865  if (intMissingHtD->at(i).capBlock() == 0x301 && intMissingHtD->at(i).capIndex() == 1 &&
1866  intMissingHtD->at(i).isThereHtx())
1867  errorMissingHtD_HtXPosLeaf2->Fill(intMissingHtD->at(i).htx());
1868  if (intMissingHtD->at(i).capBlock() == 0x301 && intMissingHtD->at(i).capIndex() == 2 &&
1869  intMissingHtD->at(i).isThereHtx())
1870  errorMissingHtD_HtXPosLeaf3->Fill(intMissingHtD->at(i).htx());
1871  if (intMissingHtD->at(i).capBlock() == 0x701 && intMissingHtD->at(i).capIndex() == 0 &&
1872  intMissingHtD->at(i).isThereHtx())
1873  errorMissingHtD_HtXNegLeaf1->Fill(intMissingHtD->at(i).htx());
1874  if (intMissingHtD->at(i).capBlock() == 0x701 && intMissingHtD->at(i).capIndex() == 1 &&
1875  intMissingHtD->at(i).isThereHtx())
1876  errorMissingHtD_HtXNegLeaf2->Fill(intMissingHtD->at(i).htx());
1877  if (intMissingHtD->at(i).capBlock() == 0x701 && intMissingHtD->at(i).capIndex() == 2 &&
1878  intMissingHtD->at(i).isThereHtx())
1879  errorMissingHtD_HtXNegLeaf3->Fill(intMissingHtD->at(i).htx());
1880 
1881  if (intMissingHtD->at(i).capBlock() == 0x301 && intMissingHtD->at(i).capIndex() == 0 &&
1882  intMissingHtD->at(i).isThereHty())
1883  errorMissingHtD_HtYPosLeaf1->Fill(intMissingHtD->at(i).hty());
1884  if (intMissingHtD->at(i).capBlock() == 0x301 && intMissingHtD->at(i).capIndex() == 1 &&
1885  intMissingHtD->at(i).isThereHty())
1886  errorMissingHtD_HtYPosLeaf2->Fill(intMissingHtD->at(i).hty());
1887  if (intMissingHtD->at(i).capBlock() == 0x301 && intMissingHtD->at(i).capIndex() == 2 &&
1888  intMissingHtD->at(i).isThereHty())
1889  errorMissingHtD_HtYPosLeaf3->Fill(intMissingHtD->at(i).hty());
1890  if (intMissingHtD->at(i).capBlock() == 0x701 && intMissingHtD->at(i).capIndex() == 0 &&
1891  intMissingHtD->at(i).isThereHty())
1892  errorMissingHtD_HtYNegLeaf1->Fill(intMissingHtD->at(i).hty());
1893  if (intMissingHtD->at(i).capBlock() == 0x701 && intMissingHtD->at(i).capIndex() == 1 &&
1894  intMissingHtD->at(i).isThereHty())
1895  errorMissingHtD_HtYNegLeaf2->Fill(intMissingHtD->at(i).hty());
1896  if (intMissingHtD->at(i).capBlock() == 0x701 && intMissingHtD->at(i).capIndex() == 2 &&
1897  intMissingHtD->at(i).isThereHty())
1898  errorMissingHtD_HtYNegLeaf3->Fill(intMissingHtD->at(i).hty());
1899  }
1900  }
1901  }
1902  }
1903  }
1904 
1905  if (checkCollections(intJetsE, NUM_INT_JETS, "Intermediate Jets Emulator")) {
1906  TH2I *errorIntJetsE_EtEtaPhi = errorDir.make<TH2I>("errorIntJetsE_EtEtaPhi",
1907  "errorIntJetsE_EtEtaPhi;#eta (GCT Units);#phi (GCT Units)",
1908  22,
1909  -0.5,
1910  21.5,
1911  18,
1912  -0.5,
1913  17.5);
1914 
1915  for (unsigned int i = 0; i < intJetsE->size(); i++) {
1916  if (intJetsE->at(i).bx() == EmuTrigBx_) {
1917  if (!intJetsE->at(i).oflow() && intJetsE->at(i).et())
1918  errorIntJetsE_EtEtaPhi->Fill(
1919  intJetsE->at(i).regionId().ieta(), intJetsE->at(i).regionId().iphi(), intJetsE->at(i).et());
1920  }
1921  }
1922  }
1923 
1924  for (unsigned int i = 0; i < caloRegions->size(); i++) {
1925  if (caloRegions->at(i).bx() == RCTTrigBx_) {
1926  if (caloRegions->at(i).et() > 0)
1927  errorRegionEtEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi(), caloRegions->at(i).et());
1928  if (caloRegions->at(i).overFlow())
1929  errorRegionOfEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1930  }
1931  }
1932 
1933  //plot the data candidates relating to this mismatch
1934  for (unsigned int i = 0; i < missingEtD->size(); i++) {
1935  if (missingEtD->at(i).bx() == GCTTrigBx_) {
1936  errorMissingEtD_Of_->Fill(missingEtD->at(i).overFlow());
1937  if (!missingEtD->at(i).overFlow()) {
1938  errorMissingEtD_->Fill(missingEtD->at(i).et());
1939  errorMissingEtD_Phi_->Fill(missingEtD->at(i).phi());
1940  }
1941  }
1942  }
1943  for (unsigned int i = 0; i < missingHtD->size(); i++) {
1944  if (missingHtD->at(i).bx() == GCTTrigBx_) {
1945  errorMissingHtD_Of_->Fill(missingHtD->at(i).overFlow());
1946  if (!missingHtD->at(i).overFlow()) {
1947  errorMissingHtD_->Fill(missingHtD->at(i).et());
1948  errorMissingHtD_Phi_->Fill(missingHtD->at(i).phi());
1949  }
1950  }
1951  }
1952  //and now for the emulator candidates
1953  for (unsigned int i = 0; i < missingEtE->size(); i++) {
1954  if (missingEtE->at(i).bx() == EmuTrigBx_) {
1955  errorMissingEtE_Of_->Fill(missingEtE->at(i).overFlow());
1956  if (!missingEtE->at(i).overFlow()) {
1957  errorMissingEtE_->Fill(missingEtE->at(i).et());
1958  errorMissingEtE_Phi_->Fill(missingEtE->at(i).phi());
1959  }
1960  }
1961  }
1962  for (unsigned int i = 0; i < missingHtE->size(); i++) {
1963  if (missingHtE->at(i).bx() == EmuTrigBx_) {
1964  errorMissingHtE_Of_->Fill(missingHtE->at(i).overFlow());
1965  if (!missingHtE->at(i)
1966  .overFlow()) { //to see what values the emulator outputs despite the o/f bit being set comment out this statement
1967  errorMissingHtE_->Fill(missingHtE->at(i).et());
1968  errorMissingHtE_Phi_->Fill(missingHtE->at(i).phi());
1969  }
1970  }
1971  }
1972 }

References caloLayer1Raw_cfi::caloRegions, checkCollections(), doExtraMissingHTDebug_, EmuTrigBx_, errorHistCat, eventNumber, GCT_INT_HTMISS_QUANTA, GCTTrigBx_, mps_fire::i, isMissingEError, isMissingHError, dqmiolumiharvest::j, TFileDirectory::make(), NUM_INT_JETS, RCTTrigBx_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by analyze().

◆ plotMissingEt()

void GctErrorAnalyzer::plotMissingEt ( const edm::Handle< L1GctEtMissCollection > &  missingEtD,
const edm::Handle< L1GctEtMissCollection > &  missingEtE 
)
private

Definition at line 1723 of file GctErrorAnalyzer.cc.

1724  {
1725  for (unsigned int i = 0; i < missingEtD->size(); i++) {
1726  if (doGCTMBx_ || missingEtD->at(i).bx() == GCTTrigBx_) {
1727  missingEtD_Of_->Fill(missingEtD->at(i).overFlow());
1728  if (!missingEtD->at(i).overFlow() && missingEtD->at(i).et() > 0) {
1729  missingEtD_->Fill(missingEtD->at(i).et());
1730  missingEtD_Phi_->Fill(missingEtD->at(i).phi());
1731  }
1732  }
1733  }
1734 
1735  for (unsigned int i = 0; i < missingEtE->size(); i++) {
1736  if (doEmuMBx_ || missingEtE->at(i).bx() == EmuTrigBx_) {
1737  missingEtE_Of_->Fill(missingEtE->at(i).overFlow());
1738  if (!missingEtE->at(i).overFlow() && missingEtE->at(i).et()) {
1739  missingEtE_->Fill(missingEtE->at(i).et());
1740  missingEtE_Phi_->Fill(missingEtE->at(i).phi());
1741  }
1742  }
1743  }
1744 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, mps_fire::i, missingEtD_, missingEtD_Of_, missingEtD_Phi_, missingEtE_, missingEtE_Of_, and missingEtE_Phi_.

Referenced by analyze().

◆ plotMissingHt()

void GctErrorAnalyzer::plotMissingHt ( const edm::Handle< L1GctHtMissCollection > &  missingHtD,
const edm::Handle< L1GctHtMissCollection > &  missingHtE 
)
private

Definition at line 1746 of file GctErrorAnalyzer.cc.

1747  {
1748  for (unsigned int i = 0; i < missingHtD->size(); i++) {
1749  if (doGCTMBx_ || missingHtD->at(i).bx() == GCTTrigBx_) {
1750  missingHtD_Of_->Fill(missingHtD->at(i).overFlow());
1751  if (!missingHtD->at(i).overFlow() && missingHtD->at(i).et() > 0) {
1752  missingHtD_->Fill(missingHtD->at(i).et());
1753  missingHtD_Phi_->Fill(missingHtD->at(i).phi());
1754  }
1755  }
1756  }
1757 
1758  for (unsigned int i = 0; i < missingHtE->size(); i++) {
1759  if (doEmuMBx_ || missingHtE->at(i).bx() == EmuTrigBx_) {
1760  missingHtE_Of_->Fill(missingHtE->at(i).overFlow());
1761  if (!missingHtE->at(i).overFlow() && missingHtE->at(i).et() > 0) {
1762  missingHtE_->Fill(missingHtE->at(i).et());
1763  missingHtE_Phi_->Fill(missingHtE->at(i).phi());
1764  }
1765  }
1766  }
1767 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, mps_fire::i, missingHtD_, missingHtD_Of_, missingHtD_Phi_, missingHtE_, missingHtE_Of_, and missingHtE_Phi_.

Referenced by analyze().

◆ plotNonIsoEm()

void GctErrorAnalyzer::plotNonIsoEm ( const edm::Handle< L1GctEmCandCollection > &  data,
const edm::Handle< L1GctEmCandCollection > &  emu 
)
private

Definition at line 1050 of file GctErrorAnalyzer.cc.

1051  {
1052  //loop over all the data candidates - if multiple bx, then this should be a multiple of GCT_OBJECT_QUANTA
1053  for (unsigned int i = 0; i < nonIsoEgD->size(); i++) {
1054  //if the GCTMBx flag is set, plot all Bx for this quantity, otherwise only plot Bx = GCTTrigBx_
1055  if (doGCTMBx_ || nonIsoEgD->at(i).bx() == GCTTrigBx_) {
1056  nonIsoEgD_Rank_->Fill(nonIsoEgD->at(i).rank());
1057  if (nonIsoEgD->at(i).rank() > 0) {
1058  nonIsoEgD_EtEtaPhi_->Fill(
1059  nonIsoEgD->at(i).regionId().ieta(), nonIsoEgD->at(i).regionId().iphi(), nonIsoEgD->at(i).rank());
1060  nonIsoEgD_OccEtaPhi_->Fill(nonIsoEgD->at(i).regionId().ieta(), nonIsoEgD->at(i).regionId().iphi());
1061  }
1062  }
1063  }
1064  //now repeat for the emulator candidates
1065  for (unsigned int i = 0; i < nonIsoEgE->size(); i++) {
1066  if (doEmuMBx_ || nonIsoEgE->at(i).bx() == EmuTrigBx_) {
1067  nonIsoEgE_Rank_->Fill(nonIsoEgE->at(i).rank());
1068  if (nonIsoEgE->at(i).rank() > 0) {
1069  nonIsoEgE_EtEtaPhi_->Fill(
1070  nonIsoEgE->at(i).regionId().ieta(), nonIsoEgE->at(i).regionId().iphi(), nonIsoEgE->at(i).rank());
1071  nonIsoEgE_OccEtaPhi_->Fill(nonIsoEgE->at(i).regionId().ieta(), nonIsoEgE->at(i).regionId().iphi());
1072  }
1073  }
1074  }
1075 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, mps_fire::i, nonIsoEgD_EtEtaPhi_, nonIsoEgD_OccEtaPhi_, nonIsoEgD_Rank_, nonIsoEgE_EtEtaPhi_, nonIsoEgE_OccEtaPhi_, and nonIsoEgE_Rank_.

Referenced by analyze().

◆ plotRCTRegions()

void GctErrorAnalyzer::plotRCTRegions ( const edm::Handle< L1CaloRegionCollection > &  caloRegions)
private

Definition at line 1007 of file GctErrorAnalyzer.cc.

1007  {
1008  //if more than one Bx is readout per event, then caloRegions->size() will be some multiple of 396
1009  for (unsigned int i = 0; i < caloRegions->size(); i++) {
1010  //if the RCTMBx flag is set to true, write out all the info into the same histogram
1011  //otherwise only the RCTTrigBx will be written out - could skip (RCT_REGION_QUANTA-1) events here to speed things up...
1012  if (doRCTMBx_ || caloRegions->at(i).bx() == RCTTrigBx_) {
1013  if (caloRegions->at(i).et() > 0)
1014  RCT_EtEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi(), caloRegions->at(i).et());
1015  if (caloRegions->at(i).tauVeto())
1016  RCT_TvEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1017  if (caloRegions->at(i).fineGrain())
1018  RCT_FgEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1019  if (caloRegions->at(i).overFlow())
1020  RCT_OfEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1021  }
1022  }
1023 }

References caloLayer1Raw_cfi::caloRegions, doRCTMBx_, mps_fire::i, RCT_EtEtaPhi_, RCT_FgEtaPhi_, RCT_OfEtaPhi_, RCT_TvEtaPhi_, and RCTTrigBx_.

Referenced by analyze().

◆ plotTauJets()

void GctErrorAnalyzer::plotTauJets ( const edm::Handle< L1GctJetCandCollection > &  data,
const edm::Handle< L1GctJetCandCollection > &  emu 
)
private

Definition at line 1194 of file GctErrorAnalyzer.cc.

1195  {
1196  for (unsigned int i = 0; i < tauJetsD->size(); i++) {
1197  if (doGCTMBx_ || tauJetsD->at(i).bx() == GCTTrigBx_) {
1198  tauJetD_Rank_->Fill(tauJetsD->at(i).rank());
1199  if (tauJetsD->at(i).rank() > 0) {
1200  tauJetD_EtEtaPhi_->Fill(
1201  tauJetsD->at(i).regionId().ieta(), tauJetsD->at(i).regionId().iphi(), tauJetsD->at(i).rank());
1202  tauJetD_OccEtaPhi_->Fill(tauJetsD->at(i).regionId().ieta(), tauJetsD->at(i).regionId().iphi());
1203  }
1204  }
1205  }
1206 
1207  for (unsigned int i = 0; i < tauJetsE->size(); i++) {
1208  if (doEmuMBx_ || tauJetsE->at(i).bx() == EmuTrigBx_) {
1209  tauJetE_Rank_->Fill(tauJetsE->at(i).rank());
1210  if (tauJetsE->at(i).rank() > 0) {
1211  tauJetE_EtEtaPhi_->Fill(
1212  tauJetsE->at(i).regionId().ieta(), tauJetsE->at(i).regionId().iphi(), tauJetsE->at(i).rank());
1213  tauJetE_OccEtaPhi_->Fill(tauJetsE->at(i).regionId().ieta(), tauJetsE->at(i).regionId().iphi());
1214  }
1215  }
1216  }
1217 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, mps_fire::i, tauJetD_EtEtaPhi_, tauJetD_OccEtaPhi_, tauJetD_Rank_, tauJetE_EtEtaPhi_, tauJetE_OccEtaPhi_, and tauJetE_Rank_.

Referenced by analyze().

◆ plotTotalE()

void GctErrorAnalyzer::plotTotalE ( const edm::Handle< L1GctEtTotalCollection > &  totalEtD,
const edm::Handle< L1GctEtTotalCollection > &  totalEtE 
)
private

Definition at line 1610 of file GctErrorAnalyzer.cc.

1611  {
1612  for (unsigned int i = 0; i < totalEtD->size(); i++) {
1613  if (doGCTMBx_ || totalEtD->at(i).bx() == GCTTrigBx_) {
1614  totalEtD_Of_->Fill(totalEtD->at(i).overFlow());
1615  if (!totalEtD->at(i).overFlow())
1616  totalEtD_->Fill(totalEtD->at(i).et());
1617  }
1618  }
1619  for (unsigned int i = 0; i < totalEtE->size(); i++) {
1620  if (doEmuMBx_ || totalEtE->at(i).bx() == EmuTrigBx_) {
1621  totalEtE_Of_->Fill(totalEtE->at(i).overFlow());
1622  if (!totalEtE->at(i).overFlow())
1623  totalEtE_->Fill(totalEtE->at(i).et());
1624  }
1625  }
1626 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, mps_fire::i, totalEtD_, totalEtD_Of_, totalEtE_, and totalEtE_Of_.

Referenced by analyze().

◆ plotTotalEErrors()

void GctErrorAnalyzer::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 
)
private

Definition at line 1646 of file GctErrorAnalyzer.cc.

1650  {
1651  std::string errorDirName = "err_";
1652  if (isTotalEError)
1653  errorDirName.append("E");
1654  if (isTotalHError)
1655  errorDirName.append("H");
1656  std::stringstream caseNumber;
1657  caseNumber << eventNumber;
1658  errorDirName.append(caseNumber.str());
1659  TFileDirectory errorDir = errorHistCat.at(3).mkdir(errorDirName);
1660 
1661  TH2I *errorRegionEtEtaPhi_ = errorDir.make<TH2I>(
1662  "errorRegionEtEtaPhi", "errorRegionEtEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1663  TH2I *errorRegionOfEtaPhi_ = errorDir.make<TH2I>(
1664  "errorRegionOfEtaPhi", "errorRegionOfEtaPhi;#eta (GCT Units);#phi (GCT Units)", 22, -0.5, 21.5, 18, -0.5, 17.5);
1665  TH1I *errorTotalEtD_ =
1666  errorDir.make<TH1I>("errorTotalEtD", "errorTotalEtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1667  TH1I *errorTotalEtD_Of_ =
1668  errorDir.make<TH1I>("errorTotalEtD_Of", "errorTotalEtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1669  TH1I *errorTotalEtE_ =
1670  errorDir.make<TH1I>("errorTotalEtE", "errorTotalEtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1671  TH1I *errorTotalEtE_Of_ =
1672  errorDir.make<TH1I>("errorTotalEtE_Of", "errorTotalEtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1673  TH1I *errorTotalHtD_ =
1674  errorDir.make<TH1I>("errorTotalHtD", "errorTotalHtD;E_{T};Number of Events", 1024, -0.5, 1023.5);
1675  TH1I *errorTotalHtD_Of_ =
1676  errorDir.make<TH1I>("errorTotalHtD_Of", "errorTotalHtD_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1677  TH1I *errorTotalHtE_ =
1678  errorDir.make<TH1I>("errorTotalHtE", "errorTotalHtE;E_{T};Number of Events", 1024, -0.5, 1023.5);
1679  TH1I *errorTotalHtE_Of_ =
1680  errorDir.make<TH1I>("errorTotalHtE_Of", "errorTotalHtE_Of;Overflow Bit Status;Number of Events", 2, -0.5, 1.5);
1681 
1682  //plot the region ET and OF bits
1683  for (unsigned int i = 0; i < caloRegions->size(); i++) {
1684  if (caloRegions->at(i).bx() == RCTTrigBx_) {
1685  if (caloRegions->at(i).et() > 0)
1686  errorRegionEtEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi(), caloRegions->at(i).et());
1687  if (caloRegions->at(i).overFlow())
1688  errorRegionOfEtaPhi_->Fill(caloRegions->at(i).gctEta(), caloRegions->at(i).gctPhi());
1689  }
1690  }
1691  //now plot the error ET
1692  for (unsigned int i = 0; i < totalEtD->size(); i++) {
1693  if (totalEtD->at(i).bx() == GCTTrigBx_) {
1694  errorTotalEtD_Of_->Fill(totalEtD->at(i).overFlow());
1695  if (!totalEtD->at(i).overFlow())
1696  errorTotalEtD_->Fill(totalEtD->at(i).et());
1697  }
1698  }
1699  for (unsigned int i = 0; i < totalEtE->size(); i++) {
1700  if (totalEtE->at(i).bx() == EmuTrigBx_) {
1701  errorTotalEtE_Of_->Fill(totalEtE->at(i).overFlow());
1702  if (!totalEtE->at(i).overFlow())
1703  errorTotalEtE_->Fill(totalEtE->at(i).et());
1704  }
1705  }
1706  //and now the error HT
1707  for (unsigned int i = 0; i < totalHtD->size(); i++) {
1708  if (totalHtD->at(i).bx() == GCTTrigBx_) {
1709  errorTotalHtD_Of_->Fill(totalHtD->at(i).overFlow());
1710  if (!totalHtD->at(i).overFlow())
1711  errorTotalHtD_->Fill(totalHtD->at(i).et());
1712  }
1713  }
1714  for (unsigned int i = 0; i < totalHtE->size(); i++) {
1715  if (totalHtE->at(i).bx() == EmuTrigBx_) {
1716  errorTotalHtE_Of_->Fill(totalHtE->at(i).overFlow());
1717  if (!totalHtE->at(i).overFlow())
1718  errorTotalHtE_->Fill(totalHtE->at(i).et());
1719  }
1720  }
1721 }

References caloLayer1Raw_cfi::caloRegions, EmuTrigBx_, errorHistCat, eventNumber, GCTTrigBx_, mps_fire::i, isTotalEError, isTotalHError, TFileDirectory::make(), RCTTrigBx_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by analyze().

◆ plotTotalH()

void GctErrorAnalyzer::plotTotalH ( const edm::Handle< L1GctEtHadCollection > &  totalHtD,
const edm::Handle< L1GctEtHadCollection > &  totalHtE 
)
private

Definition at line 1628 of file GctErrorAnalyzer.cc.

1629  {
1630  for (unsigned int i = 0; i < totalHtD->size(); i++) {
1631  if (doGCTMBx_ || totalHtD->at(i).bx() == GCTTrigBx_) {
1632  totalHtD_Of_->Fill(totalHtD->at(i).overFlow());
1633  if (!totalHtD->at(i).overFlow())
1634  totalHtD_->Fill(totalHtD->at(i).et());
1635  }
1636  }
1637  for (unsigned int i = 0; i < totalHtE->size(); i++) {
1638  if (doEmuMBx_ || totalHtE->at(i).bx() == EmuTrigBx_) {
1639  totalHtE_Of_->Fill(totalHtE->at(i).overFlow());
1640  if (!totalHtE->at(i).overFlow())
1641  totalHtE_->Fill(totalHtE->at(i).et());
1642  }
1643  }
1644 }

References doEmuMBx_, doGCTMBx_, EmuTrigBx_, GCTTrigBx_, mps_fire::i, totalHtD_, totalHtD_Of_, totalHtE_, and totalHtE_Of_.

Referenced by analyze().

◆ sortJets()

bool GctErrorAnalyzer::sortJets ( const jetData jet1,
const jetData jet2 
)
staticprivate

Definition at line 1311 of file GctErrorAnalyzer.cc.

1311 { return jet1.et > jet2.et; }

References jetData::et.

Referenced by plotIntJets().

Member Data Documentation

◆ cenJet_errorFlag_

TH1I* GctErrorAnalyzer::cenJet_errorFlag_
private

Definition at line 190 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ cenJetD_EtEtaPhi_

TH2I* GctErrorAnalyzer::cenJetD_EtEtaPhi_
private

Definition at line 188 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotCenJets().

◆ cenJetD_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::cenJetD_GlobalError_EtEtaPhi_
private

Definition at line 194 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ cenJetD_GlobalError_Rank_

TH1I* GctErrorAnalyzer::cenJetD_GlobalError_Rank_
private

Definition at line 192 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ cenJetD_OccEtaPhi_

TH2I* GctErrorAnalyzer::cenJetD_OccEtaPhi_
private

Definition at line 189 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotCenJets().

◆ cenJetD_Rank_

TH1I* GctErrorAnalyzer::cenJetD_Rank_
private

Definition at line 187 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotCenJets().

◆ cenJetE_EtEtaPhi_

TH2I * GctErrorAnalyzer::cenJetE_EtEtaPhi_
private

Definition at line 188 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotCenJets().

◆ cenJetE_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::cenJetE_GlobalError_EtEtaPhi_
private

Definition at line 195 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ cenJetE_GlobalError_Rank_

TH1I* GctErrorAnalyzer::cenJetE_GlobalError_Rank_
private

Definition at line 193 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ cenJetE_OccEtaPhi_

TH2I * GctErrorAnalyzer::cenJetE_OccEtaPhi_
private

Definition at line 189 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotCenJets().

◆ cenJetE_Rank_

TH1I * GctErrorAnalyzer::cenJetE_Rank_
private

Definition at line 187 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotCenJets().

◆ dataTag_

edm::InputTag GctErrorAnalyzer::dataTag_
private

Definition at line 155 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doBitCountDebug_

bool GctErrorAnalyzer::doBitCountDebug_
private

Definition at line 135 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doCenJetsDebug_

bool GctErrorAnalyzer::doCenJetsDebug_
private

Definition at line 130 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doEg_

bool GctErrorAnalyzer::doEg_
private

Definition at line 126 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doEmuMBx_

bool GctErrorAnalyzer::doEmuMBx_
private

◆ doExtraMissingHTDebug_

bool GctErrorAnalyzer::doExtraMissingHTDebug_
private

Definition at line 142 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and plotMissingEErrors().

◆ doForJetsDebug_

bool GctErrorAnalyzer::doForJetsDebug_
private

Definition at line 132 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doGCTMBx_

bool GctErrorAnalyzer::doGCTMBx_
private

◆ doHF_

bool GctErrorAnalyzer::doHF_
private

Definition at line 133 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doIsoDebug_

bool GctErrorAnalyzer::doIsoDebug_
private

Definition at line 127 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doJets_

bool GctErrorAnalyzer::doJets_
private

Definition at line 129 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doMissingEnergySums_

bool GctErrorAnalyzer::doMissingEnergySums_
private

Definition at line 139 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doMissingETDebug_

bool GctErrorAnalyzer::doMissingETDebug_
private

Definition at line 140 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doMissingHTDebug_

bool GctErrorAnalyzer::doMissingHTDebug_
private

Definition at line 141 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doNonIsoDebug_

bool GctErrorAnalyzer::doNonIsoDebug_
private

Definition at line 128 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doRCT_

bool GctErrorAnalyzer::doRCT_
private

Definition at line 125 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doRCTMBx_

bool GctErrorAnalyzer::doRCTMBx_
private

Definition at line 147 of file GctErrorAnalyzer.cc.

Referenced by plotRCTRegions().

◆ doRingSumDebug_

bool GctErrorAnalyzer::doRingSumDebug_
private

Definition at line 134 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doTauJetsDebug_

bool GctErrorAnalyzer::doTauJetsDebug_
private

Definition at line 131 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doTotalEnergySums_

bool GctErrorAnalyzer::doTotalEnergySums_
private

Definition at line 136 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doTotalEtDebug_

bool GctErrorAnalyzer::doTotalEtDebug_
private

Definition at line 137 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ doTotalHtDebug_

bool GctErrorAnalyzer::doTotalHtDebug_
private

Definition at line 138 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ emuTag_

edm::InputTag GctErrorAnalyzer::emuTag_
private

Definition at line 156 of file GctErrorAnalyzer.cc.

Referenced by analyze().

◆ EmuTrigBx_

int GctErrorAnalyzer::EmuTrigBx_
private

◆ errorHistCat

std::vector<TFileDirectory> GctErrorAnalyzer::errorHistCat
private

◆ eventNumber

unsigned int GctErrorAnalyzer::eventNumber
private

◆ forJet_errorFlag_

TH1I* GctErrorAnalyzer::forJet_errorFlag_
private

Definition at line 210 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ forJetD_EtEtaPhi_

TH2I* GctErrorAnalyzer::forJetD_EtEtaPhi_
private

Definition at line 208 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotForJets().

◆ forJetD_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::forJetD_GlobalError_EtEtaPhi_
private

Definition at line 214 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ forJetD_GlobalError_Rank_

TH1I* GctErrorAnalyzer::forJetD_GlobalError_Rank_
private

Definition at line 212 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ forJetD_OccEtaPhi_

TH2I* GctErrorAnalyzer::forJetD_OccEtaPhi_
private

Definition at line 209 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotForJets().

◆ forJetD_Rank_

TH1I* GctErrorAnalyzer::forJetD_Rank_
private

Definition at line 207 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotForJets().

◆ forJetE_EtEtaPhi_

TH2I * GctErrorAnalyzer::forJetE_EtEtaPhi_
private

Definition at line 208 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotForJets().

◆ forJetE_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::forJetE_GlobalError_EtEtaPhi_
private

Definition at line 215 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ forJetE_GlobalError_Rank_

TH1I* GctErrorAnalyzer::forJetE_GlobalError_Rank_
private

Definition at line 213 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ forJetE_OccEtaPhi_

TH2I * GctErrorAnalyzer::forJetE_OccEtaPhi_
private

Definition at line 209 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotForJets().

◆ forJetE_Rank_

TH1I * GctErrorAnalyzer::forJetE_Rank_
private

Definition at line 207 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotForJets().

◆ GCTTrigBx_

int GctErrorAnalyzer::GCTTrigBx_
private

◆ hfBitCount_errorFlag_

TH1I* GctErrorAnalyzer::hfBitCount_errorFlag_
private

Definition at line 231 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ hfBitCountD_1neg_

TH1I * GctErrorAnalyzer::hfBitCountD_1neg_
private

Definition at line 229 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfBitCountD_1pos_

TH1I* GctErrorAnalyzer::hfBitCountD_1pos_
private

Definition at line 229 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfBitCountD_2neg_

TH1I * GctErrorAnalyzer::hfBitCountD_2neg_
private

Definition at line 229 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfBitCountD_2pos_

TH1I * GctErrorAnalyzer::hfBitCountD_2pos_
private

Definition at line 229 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfBitCountE_1neg_

TH1I * GctErrorAnalyzer::hfBitCountE_1neg_
private

Definition at line 230 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfBitCountE_1pos_

TH1I* GctErrorAnalyzer::hfBitCountE_1pos_
private

Definition at line 230 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfBitCountE_2neg_

TH1I * GctErrorAnalyzer::hfBitCountE_2neg_
private

Definition at line 230 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfBitCountE_2pos_

TH1I * GctErrorAnalyzer::hfBitCountE_2pos_
private

Definition at line 230 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFBitCounts().

◆ hfRingSum_errorFlag_

TH1I* GctErrorAnalyzer::hfRingSum_errorFlag_
private

Definition at line 227 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ hfRingSumD_1neg_

TH1I * GctErrorAnalyzer::hfRingSumD_1neg_
private

Definition at line 225 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ hfRingSumD_1pos_

TH1I* GctErrorAnalyzer::hfRingSumD_1pos_
private

Definition at line 225 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ hfRingSumD_2neg_

TH1I * GctErrorAnalyzer::hfRingSumD_2neg_
private

Definition at line 225 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ hfRingSumD_2pos_

TH1I * GctErrorAnalyzer::hfRingSumD_2pos_
private

Definition at line 225 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ hfRingSumE_1neg_

TH1I * GctErrorAnalyzer::hfRingSumE_1neg_
private

Definition at line 226 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ hfRingSumE_1pos_

TH1I* GctErrorAnalyzer::hfRingSumE_1pos_
private

Definition at line 226 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ hfRingSumE_2neg_

TH1I * GctErrorAnalyzer::hfRingSumE_2neg_
private

Definition at line 226 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ hfRingSumE_2pos_

TH1I * GctErrorAnalyzer::hfRingSumE_2pos_
private

Definition at line 226 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotHFRingSums().

◆ intJetE_Et_

TH1I* GctErrorAnalyzer::intJetE_Et_
private

Definition at line 218 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIntJets().

◆ intJetE_Jet1Et_

TH1I* GctErrorAnalyzer::intJetE_Jet1Et_
private

Definition at line 220 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIntJets().

◆ intJetE_Jet2Et_

TH1I* GctErrorAnalyzer::intJetE_Jet2Et_
private

Definition at line 221 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIntJets().

◆ intJetE_Jet3Et_

TH1I* GctErrorAnalyzer::intJetE_Jet3Et_
private

Definition at line 222 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIntJets().

◆ intJetE_Jet4Et_

TH1I* GctErrorAnalyzer::intJetE_Jet4Et_
private

Definition at line 223 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIntJets().

◆ intJetE_Of_

TH1I* GctErrorAnalyzer::intJetE_Of_
private

Definition at line 219 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIntJets().

◆ intJetEtEtaPhiE_

TH2I* GctErrorAnalyzer::intJetEtEtaPhiE_
private

Definition at line 217 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIntJets().

◆ isBitCountError

bool GctErrorAnalyzer::isBitCountError
private

Definition at line 268 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotHFErrors().

◆ isCenJetError

bool GctErrorAnalyzer::isCenJetError
private

Definition at line 264 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotJetErrors().

◆ isForJetError

bool GctErrorAnalyzer::isForJetError
private

Definition at line 266 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotJetErrors().

◆ isIsoError

bool GctErrorAnalyzer::isIsoError
private

Definition at line 262 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotEGErrors().

◆ isMissingEError

bool GctErrorAnalyzer::isMissingEError
private

Definition at line 271 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotMissingEErrors().

◆ isMissingHError

bool GctErrorAnalyzer::isMissingHError
private

Definition at line 272 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotMissingEErrors().

◆ isNonIsoError

bool GctErrorAnalyzer::isNonIsoError
private

Definition at line 263 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotEGErrors().

◆ isoEg_errorFlag_

TH1I* GctErrorAnalyzer::isoEg_errorFlag_
private

Definition at line 170 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ isoEgD_EtEtaPhi_

TH2I* GctErrorAnalyzer::isoEgD_EtEtaPhi_
private

Definition at line 168 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIsoEm().

◆ isoEgD_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::isoEgD_GlobalError_EtEtaPhi_
private

Definition at line 174 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ isoEgD_GlobalError_Rank_

TH1I* GctErrorAnalyzer::isoEgD_GlobalError_Rank_
private

Definition at line 172 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ isoEgD_OccEtaPhi_

TH2I* GctErrorAnalyzer::isoEgD_OccEtaPhi_
private

Definition at line 169 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIsoEm().

◆ isoEgD_Rank_

TH1I* GctErrorAnalyzer::isoEgD_Rank_
private

Definition at line 167 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIsoEm().

◆ isoEgE_EtEtaPhi_

TH2I * GctErrorAnalyzer::isoEgE_EtEtaPhi_
private

Definition at line 168 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIsoEm().

◆ isoEgE_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::isoEgE_GlobalError_EtEtaPhi_
private

Definition at line 175 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ isoEgE_GlobalError_Rank_

TH1I* GctErrorAnalyzer::isoEgE_GlobalError_Rank_
private

Definition at line 173 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ isoEgE_OccEtaPhi_

TH2I * GctErrorAnalyzer::isoEgE_OccEtaPhi_
private

Definition at line 169 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIsoEm().

◆ isoEgE_Rank_

TH1I * GctErrorAnalyzer::isoEgE_Rank_
private

Definition at line 167 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotIsoEm().

◆ isRingSumError

bool GctErrorAnalyzer::isRingSumError
private

Definition at line 267 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotHFErrors().

◆ isTauJetError

bool GctErrorAnalyzer::isTauJetError
private

Definition at line 265 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotJetErrors().

◆ isTotalEError

bool GctErrorAnalyzer::isTotalEError
private

Definition at line 269 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotTotalEErrors().

◆ isTotalHError

bool GctErrorAnalyzer::isTotalHError
private

Definition at line 270 of file GctErrorAnalyzer.cc.

Referenced by analyze(), GctErrorAnalyzer(), and plotTotalEErrors().

◆ MBxInfo

GctErrorAnalyzerMBxInfo GctErrorAnalyzer::MBxInfo
private

Definition at line 161 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingEt_errorFlag_

TH1I* GctErrorAnalyzer::missingEt_errorFlag_
private

Definition at line 250 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingEtD_

TH1I* GctErrorAnalyzer::missingEtD_
private

Definition at line 247 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingEt().

◆ missingEtD_Of_

TH1I* GctErrorAnalyzer::missingEtD_Of_
private

Definition at line 248 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingEt().

◆ missingEtD_Phi_

TH1I* GctErrorAnalyzer::missingEtD_Phi_
private

Definition at line 249 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingEt().

◆ missingEtE_

TH1I * GctErrorAnalyzer::missingEtE_
private

Definition at line 247 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingEt().

◆ missingEtE_Of_

TH1I * GctErrorAnalyzer::missingEtE_Of_
private

Definition at line 248 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingEt().

◆ missingEtE_Phi_

TH1I * GctErrorAnalyzer::missingEtE_Phi_
private

Definition at line 249 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingEt().

◆ missingHt_errorFlag_

TH1I* GctErrorAnalyzer::missingHt_errorFlag_
private

Definition at line 255 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_

TH1I* GctErrorAnalyzer::missingHtD_
private

Definition at line 252 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingHt().

◆ missingHtD_HtXNegLeaf1

TH1I * GctErrorAnalyzer::missingHtD_HtXNegLeaf1
private

Definition at line 256 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtXNegLeaf2

TH1I * GctErrorAnalyzer::missingHtD_HtXNegLeaf2
private

Definition at line 256 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtXNegLeaf3

TH1I * GctErrorAnalyzer::missingHtD_HtXNegLeaf3
private

Definition at line 256 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtXPosLeaf1

TH1I* GctErrorAnalyzer::missingHtD_HtXPosLeaf1
private

Definition at line 256 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtXPosLeaf2

TH1I * GctErrorAnalyzer::missingHtD_HtXPosLeaf2
private

Definition at line 256 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtXPosLeaf3

TH1I * GctErrorAnalyzer::missingHtD_HtXPosLeaf3
private

Definition at line 256 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtYNegLeaf1

TH1I * GctErrorAnalyzer::missingHtD_HtYNegLeaf1
private

Definition at line 258 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtYNegLeaf2

TH1I * GctErrorAnalyzer::missingHtD_HtYNegLeaf2
private

Definition at line 258 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtYNegLeaf3

TH1I * GctErrorAnalyzer::missingHtD_HtYNegLeaf3
private

Definition at line 258 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtYPosLeaf1

TH1I* GctErrorAnalyzer::missingHtD_HtYPosLeaf1
private

Definition at line 258 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtYPosLeaf2

TH1I * GctErrorAnalyzer::missingHtD_HtYPosLeaf2
private

Definition at line 258 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_HtYPosLeaf3

TH1I * GctErrorAnalyzer::missingHtD_HtYPosLeaf3
private

Definition at line 258 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ missingHtD_Of_

TH1I* GctErrorAnalyzer::missingHtD_Of_
private

Definition at line 253 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingHt().

◆ missingHtD_Phi_

TH1I* GctErrorAnalyzer::missingHtD_Phi_
private

Definition at line 254 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingHt().

◆ missingHtE_

TH1I * GctErrorAnalyzer::missingHtE_
private

Definition at line 252 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingHt().

◆ missingHtE_Of_

TH1I * GctErrorAnalyzer::missingHtE_Of_
private

Definition at line 253 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingHt().

◆ missingHtE_Phi_

TH1I * GctErrorAnalyzer::missingHtE_Phi_
private

Definition at line 254 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotMissingHt().

◆ nonIsoEg_errorFlag_

TH1I* GctErrorAnalyzer::nonIsoEg_errorFlag_
private

Definition at line 180 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ nonIsoEgD_EtEtaPhi_

TH2I* GctErrorAnalyzer::nonIsoEgD_EtEtaPhi_
private

Definition at line 178 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotNonIsoEm().

◆ nonIsoEgD_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::nonIsoEgD_GlobalError_EtEtaPhi_
private

Definition at line 184 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ nonIsoEgD_GlobalError_Rank_

TH1I* GctErrorAnalyzer::nonIsoEgD_GlobalError_Rank_
private

Definition at line 182 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ nonIsoEgD_OccEtaPhi_

TH2I* GctErrorAnalyzer::nonIsoEgD_OccEtaPhi_
private

Definition at line 179 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotNonIsoEm().

◆ nonIsoEgD_Rank_

TH1I* GctErrorAnalyzer::nonIsoEgD_Rank_
private

Definition at line 177 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotNonIsoEm().

◆ nonIsoEgE_EtEtaPhi_

TH2I * GctErrorAnalyzer::nonIsoEgE_EtEtaPhi_
private

Definition at line 178 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotNonIsoEm().

◆ nonIsoEgE_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::nonIsoEgE_GlobalError_EtEtaPhi_
private

Definition at line 185 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ nonIsoEgE_GlobalError_Rank_

TH1I* GctErrorAnalyzer::nonIsoEgE_GlobalError_Rank_
private

Definition at line 183 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ nonIsoEgE_OccEtaPhi_

TH2I * GctErrorAnalyzer::nonIsoEgE_OccEtaPhi_
private

Definition at line 179 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotNonIsoEm().

◆ nonIsoEgE_Rank_

TH1I * GctErrorAnalyzer::nonIsoEgE_Rank_
private

Definition at line 177 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotNonIsoEm().

◆ RCT_EtEtaPhi_

TH2I* GctErrorAnalyzer::RCT_EtEtaPhi_
private

Definition at line 165 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotRCTRegions().

◆ RCT_FgEtaPhi_

TH2I * GctErrorAnalyzer::RCT_FgEtaPhi_
private

Definition at line 165 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotRCTRegions().

◆ RCT_OfEtaPhi_

TH2I * GctErrorAnalyzer::RCT_OfEtaPhi_
private

Definition at line 165 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotRCTRegions().

◆ RCT_REGION_QUANTA

const unsigned int* GctErrorAnalyzer::RCT_REGION_QUANTA
private

Definition at line 282 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ RCT_TvEtaPhi_

TH2I * GctErrorAnalyzer::RCT_TvEtaPhi_
private

Definition at line 165 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotRCTRegions().

◆ RCTTrigBx_

int GctErrorAnalyzer::RCTTrigBx_
private

◆ tauJet_errorFlag_

TH1I* GctErrorAnalyzer::tauJet_errorFlag_
private

Definition at line 200 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ tauJetD_EtEtaPhi_

TH2I* GctErrorAnalyzer::tauJetD_EtEtaPhi_
private

Definition at line 198 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTauJets().

◆ tauJetD_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::tauJetD_GlobalError_EtEtaPhi_
private

Definition at line 204 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ tauJetD_GlobalError_Rank_

TH1I* GctErrorAnalyzer::tauJetD_GlobalError_Rank_
private

Definition at line 202 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ tauJetD_OccEtaPhi_

TH2I* GctErrorAnalyzer::tauJetD_OccEtaPhi_
private

Definition at line 199 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTauJets().

◆ tauJetD_Rank_

TH1I* GctErrorAnalyzer::tauJetD_Rank_
private

Definition at line 197 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTauJets().

◆ tauJetE_EtEtaPhi_

TH2I * GctErrorAnalyzer::tauJetE_EtEtaPhi_
private

Definition at line 198 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTauJets().

◆ tauJetE_GlobalError_EtEtaPhi_

TH2I* GctErrorAnalyzer::tauJetE_GlobalError_EtEtaPhi_
private

Definition at line 205 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ tauJetE_GlobalError_Rank_

TH1I* GctErrorAnalyzer::tauJetE_GlobalError_Rank_
private

Definition at line 203 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ tauJetE_OccEtaPhi_

TH2I * GctErrorAnalyzer::tauJetE_OccEtaPhi_
private

Definition at line 199 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTauJets().

◆ tauJetE_Rank_

TH1I * GctErrorAnalyzer::tauJetE_Rank_
private

Definition at line 197 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTauJets().

◆ totalEt_errorFlag_

TH1I* GctErrorAnalyzer::totalEt_errorFlag_
private

Definition at line 235 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ totalEtD_

TH1I* GctErrorAnalyzer::totalEtD_
private

Definition at line 233 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalE().

◆ totalEtD_Of_

TH1I* GctErrorAnalyzer::totalEtD_Of_
private

Definition at line 234 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalE().

◆ totalEtE_

TH1I * GctErrorAnalyzer::totalEtE_
private

Definition at line 233 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalE().

◆ totalEtE_Of_

TH1I * GctErrorAnalyzer::totalEtE_Of_
private

Definition at line 234 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalE().

◆ totalHt_errorFlag_

TH1I* GctErrorAnalyzer::totalHt_errorFlag_
private

Definition at line 242 of file GctErrorAnalyzer.cc.

Referenced by analyze(), and GctErrorAnalyzer().

◆ totalHtD_

TH1I* GctErrorAnalyzer::totalHtD_
private

Definition at line 240 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalH().

◆ totalHtD_Of_

TH1I* GctErrorAnalyzer::totalHtD_Of_
private

Definition at line 241 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalH().

◆ totalHtE_

TH1I * GctErrorAnalyzer::totalHtE_
private

Definition at line 240 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalH().

◆ totalHtE_Of_

TH1I * GctErrorAnalyzer::totalHtE_Of_
private

Definition at line 241 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer(), and plotTotalH().

◆ useSys_

std::string GctErrorAnalyzer::useSys_
private

Definition at line 158 of file GctErrorAnalyzer.cc.

Referenced by GctErrorAnalyzer().

GctErrorAnalyzer::hfRingSumE_1pos_
TH1I * hfRingSumE_1pos_
Definition: GctErrorAnalyzer.cc:226
GctErrorAnalyzer::intJetE_Jet3Et_
TH1I * intJetE_Jet3Et_
Definition: GctErrorAnalyzer.cc:222
GctErrorAnalyzer::tauJetE_OccEtaPhi_
TH2I * tauJetE_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:199
TFileDirectory::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileDirectory.cc:112
GctErrorAnalyzer::missingHt_errorFlag_
TH1I * missingHt_errorFlag_
Definition: GctErrorAnalyzer.cc:255
GctErrorAnalyzer::hfBitCountE_1neg_
TH1I * hfBitCountE_1neg_
Definition: GctErrorAnalyzer.cc:230
GctErrorAnalyzer::plotTotalH
void plotTotalH(const edm::Handle< L1GctEtHadCollection > &totalHtD, const edm::Handle< L1GctEtHadCollection > &totalHtE)
Definition: GctErrorAnalyzer.cc:1628
GctErrorAnalyzer::tauJetD_GlobalError_Rank_
TH1I * tauJetD_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:202
GctErrorAnalyzer::doBitCountDebug_
bool doBitCountDebug_
Definition: GctErrorAnalyzer.cc:135
compareMissingEnergySums
Definition: compareMissingEnergySums.h:24
GctErrorAnalyzer::tauJet_errorFlag_
TH1I * tauJet_errorFlag_
Definition: GctErrorAnalyzer.cc:200
GctErrorAnalyzer::missingHtE_Phi_
TH1I * missingHtE_Phi_
Definition: GctErrorAnalyzer.cc:254
GctErrorAnalyzer::doNonIsoDebug_
bool doNonIsoDebug_
Definition: GctErrorAnalyzer.cc:128
GctErrorAnalyzer::MBxInfo
GctErrorAnalyzerMBxInfo MBxInfo
Definition: GctErrorAnalyzer.cc:161
jetData::eta
unsigned int eta
Definition: GctErrorAnalyzerDefinitions.h:21
mps_fire.i
i
Definition: mps_fire.py:428
GctErrorAnalyzer::tauJetE_EtEtaPhi_
TH2I * tauJetE_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:198
GctErrorAnalyzer::doTotalEnergySums_
bool doTotalEnergySums_
Definition: GctErrorAnalyzer.cc:136
GctErrorAnalyzer::isoEgD_Rank_
TH1I * isoEgD_Rank_
Definition: GctErrorAnalyzer.cc:167
GctErrorAnalyzer::totalEtD_
TH1I * totalEtD_
Definition: GctErrorAnalyzer.cc:233
GctErrorAnalyzer::hfRingSumD_2pos_
TH1I * hfRingSumD_2pos_
Definition: GctErrorAnalyzer.cc:225
GctErrorAnalyzer::plotMissingEt
void plotMissingEt(const edm::Handle< L1GctEtMissCollection > &missingEtD, const edm::Handle< L1GctEtMissCollection > &missingEtE)
Definition: GctErrorAnalyzer.cc:1723
HLT_FULL_cff.constraint
constraint
Definition: HLT_FULL_cff.py:52060
GctErrorAnalyzer::missingHtD_HtXNegLeaf3
TH1I * missingHtD_HtXNegLeaf3
Definition: GctErrorAnalyzer.cc:256
caloLayer1Raw_cfi.caloRegions
caloRegions
Definition: caloLayer1Raw_cfi.py:8
GctErrorAnalyzer::hfRingSumE_2pos_
TH1I * hfRingSumE_2pos_
Definition: GctErrorAnalyzer.cc:226
GctErrorAnalyzer::doExtraMissingHTDebug_
bool doExtraMissingHTDebug_
Definition: GctErrorAnalyzer.cc:142
GctErrorAnalyzer::nonIsoEgD_Rank_
TH1I * nonIsoEgD_Rank_
Definition: GctErrorAnalyzer.cc:177
GctErrorAnalyzer::cenJetE_GlobalError_EtEtaPhi_
TH2I * cenJetE_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:195
GctErrorAnalyzer::nonIsoEgD_GlobalError_EtEtaPhi_
TH2I * nonIsoEgD_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:184
GctErrorAnalyzer::plotMissingHt
void plotMissingHt(const edm::Handle< L1GctHtMissCollection > &missingHtD, const edm::Handle< L1GctHtMissCollection > &missingHtE)
Definition: GctErrorAnalyzer.cc:1746
GctErrorAnalyzer::isNonIsoError
bool isNonIsoError
Definition: GctErrorAnalyzer.cc:263
GctErrorAnalyzer::hfBitCountE_2pos_
TH1I * hfBitCountE_2pos_
Definition: GctErrorAnalyzer.cc:230
GctErrorAnalyzer::isIsoError
bool isIsoError
Definition: GctErrorAnalyzer.cc:262
GctErrorAnalyzer::isoEg_errorFlag_
TH1I * isoEg_errorFlag_
Definition: GctErrorAnalyzer.cc:170
GctErrorAnalyzer::doRingSumDebug_
bool doRingSumDebug_
Definition: GctErrorAnalyzer.cc:134
GctErrorAnalyzer::missingEt_errorFlag_
TH1I * missingEt_errorFlag_
Definition: GctErrorAnalyzer.cc:250
edm
HLT enums.
Definition: AlignableModifier.h:19
GctErrorAnalyzer::isForJetError
bool isForJetError
Definition: GctErrorAnalyzer.cc:266
GctErrorAnalyzer::isTotalHError
bool isTotalHError
Definition: GctErrorAnalyzer.cc:270
GctErrorAnalyzer::totalHtD_Of_
TH1I * totalHtD_Of_
Definition: GctErrorAnalyzer.cc:241
GctErrorAnalyzer::missingHtD_HtYPosLeaf3
TH1I * missingHtD_HtYPosLeaf3
Definition: GctErrorAnalyzer.cc:258
GctErrorAnalyzer::hfBitCount_errorFlag_
TH1I * hfBitCount_errorFlag_
Definition: GctErrorAnalyzer.cc:231
GctErrorAnalyzer::plotTotalE
void plotTotalE(const edm::Handle< L1GctEtTotalCollection > &totalEtD, const edm::Handle< L1GctEtTotalCollection > &totalEtE)
Definition: GctErrorAnalyzer.cc:1610
GctErrorAnalyzer::tauJetD_OccEtaPhi_
TH2I * tauJetD_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:199
GctErrorAnalyzer::sortJets
static bool sortJets(const jetData &jet1, const jetData &jet2)
Definition: GctErrorAnalyzer.cc:1311
GctErrorAnalyzer::plotForJets
void plotForJets(const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
Definition: GctErrorAnalyzer.cc:1219
NUM_INT_JETS
const unsigned int NUM_INT_JETS
Definition: GctErrorAnalyzerDefinitions.h:11
GctErrorAnalyzer::RCT_EtEtaPhi_
TH2I * RCT_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:165
GctErrorAnalyzer::intJetE_Jet4Et_
TH1I * intJetE_Jet4Et_
Definition: GctErrorAnalyzer.cc:223
GctErrorAnalyzer::tauJetD_GlobalError_EtEtaPhi_
TH2I * tauJetD_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:204
GctErrorAnalyzer::isoEgD_EtEtaPhi_
TH2I * isoEgD_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:168
GctErrorAnalyzer::missingEtE_
TH1I * missingEtE_
Definition: GctErrorAnalyzer.cc:247
GctErrorAnalyzer::RCT_OfEtaPhi_
TH2I * RCT_OfEtaPhi_
Definition: GctErrorAnalyzer.cc:165
GCT_INT_HTMISS_QUANTA
const unsigned int GCT_INT_HTMISS_QUANTA
Definition: GctErrorAnalyzerDefinitions.h:6
GctErrorAnalyzer::isoEgE_EtEtaPhi_
TH2I * isoEgE_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:168
GctErrorAnalyzer::hfRingSum_errorFlag_
TH1I * hfRingSum_errorFlag_
Definition: GctErrorAnalyzer.cc:227
GctErrorAnalyzer::missingEtD_Phi_
TH1I * missingEtD_Phi_
Definition: GctErrorAnalyzer.cc:249
GctErrorAnalyzer::isMissingHError
bool isMissingHError
Definition: GctErrorAnalyzer.cc:272
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
TFileDirectory
Definition: TFileDirectory.h:24
GctErrorAnalyzer::RCTTrigBx_
int RCTTrigBx_
Definition: GctErrorAnalyzer.cc:151
GctErrorAnalyzer::isRingSumError
bool isRingSumError
Definition: GctErrorAnalyzer.cc:267
GctErrorAnalyzer::plotTauJets
void plotTauJets(const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
Definition: GctErrorAnalyzer.cc:1194
compareBitCounts
Definition: compareBitCounts.h:23
edm::Handle
Definition: AssociativeIterator.h:50
GCT_SUMS_QUANTA
const unsigned int GCT_SUMS_QUANTA
Definition: GctErrorAnalyzerDefinitions.h:5
GctErrorAnalyzer::doMissingETDebug_
bool doMissingETDebug_
Definition: GctErrorAnalyzer.cc:140
jetData
Definition: GctErrorAnalyzerDefinitions.h:19
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
GctErrorAnalyzer::nonIsoEgD_EtEtaPhi_
TH2I * nonIsoEgD_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:178
GctErrorAnalyzer::missingHtE_
TH1I * missingHtE_
Definition: GctErrorAnalyzer.cc:252
jetData::et
unsigned int et
Definition: GctErrorAnalyzerDefinitions.h:20
GctErrorAnalyzer::missingHtD_HtXNegLeaf1
TH1I * missingHtD_HtXNegLeaf1
Definition: GctErrorAnalyzer.cc:256
GctErrorAnalyzer::doRCT_
bool doRCT_
Definition: GctErrorAnalyzer.cc:125
GctErrorAnalyzer::doForJetsDebug_
bool doForJetsDebug_
Definition: GctErrorAnalyzer.cc:132
GctErrorAnalyzer::missingHtD_HtYNegLeaf3
TH1I * missingHtD_HtYNegLeaf3
Definition: GctErrorAnalyzer.cc:258
GctErrorAnalyzer::cenJetD_Rank_
TH1I * cenJetD_Rank_
Definition: GctErrorAnalyzer.cc:187
GctErrorAnalyzer::nonIsoEgE_Rank_
TH1I * nonIsoEgE_Rank_
Definition: GctErrorAnalyzer.cc:177
GctErrorAnalyzer::missingHtD_HtYPosLeaf2
TH1I * missingHtD_HtYPosLeaf2
Definition: GctErrorAnalyzer.cc:258
GctErrorAnalyzer::intJetEtEtaPhiE_
TH2I * intJetEtEtaPhiE_
Definition: GctErrorAnalyzer.cc:217
GctErrorAnalyzer::plotJetErrors
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 > &regions)
Definition: GctErrorAnalyzer.cc:1331
GctErrorAnalyzerMBxInfo::RCTTrigBx
int RCTTrigBx
Definition: GctErrorAnalyzerDefinitions.h:14
GctErrorAnalyzer::missingHtD_Of_
TH1I * missingHtD_Of_
Definition: GctErrorAnalyzer.cc:253
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
GctErrorAnalyzer::hfRingSumE_1neg_
TH1I * hfRingSumE_1neg_
Definition: GctErrorAnalyzer.cc:226
GctErrorAnalyzer::hfBitCountE_1pos_
TH1I * hfBitCountE_1pos_
Definition: GctErrorAnalyzer.cc:230
GctErrorAnalyzer::GCTTrigBx_
int GCTTrigBx_
Definition: GctErrorAnalyzer.cc:153
GctErrorAnalyzer::nonIsoEgD_OccEtaPhi_
TH2I * nonIsoEgD_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:179
GctErrorAnalyzer::cenJetE_GlobalError_Rank_
TH1I * cenJetE_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:193
GctErrorAnalyzer::intJetE_Et_
TH1I * intJetE_Et_
Definition: GctErrorAnalyzer.cc:218
GctErrorAnalyzer::isoEgE_OccEtaPhi_
TH2I * isoEgE_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:169
GctErrorAnalyzer::emuTag_
edm::InputTag emuTag_
Definition: GctErrorAnalyzer.cc:156
GctErrorAnalyzer::missingEtD_
TH1I * missingEtD_
Definition: GctErrorAnalyzer.cc:247
GctErrorAnalyzer::forJetD_EtEtaPhi_
TH2I * forJetD_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:208
GctErrorAnalyzer::hfBitCountE_2neg_
TH1I * hfBitCountE_2neg_
Definition: GctErrorAnalyzer.cc:230
GctErrorAnalyzer::plotIsoEm
void plotIsoEm(const edm::Handle< L1GctEmCandCollection > &data, const edm::Handle< L1GctEmCandCollection > &emu)
Definition: GctErrorAnalyzer.cc:1025
compareRingSums
Definition: compareRingSums.h:23
GctErrorAnalyzer::plotTotalEErrors
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)
Definition: GctErrorAnalyzer.cc:1646
GctErrorAnalyzer::doGCTMBx_
bool doGCTMBx_
Definition: GctErrorAnalyzer.cc:149
GctErrorAnalyzer::nonIsoEgE_EtEtaPhi_
TH2I * nonIsoEgE_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:178
GctErrorAnalyzer::plotNonIsoEm
void plotNonIsoEm(const edm::Handle< L1GctEmCandCollection > &data, const edm::Handle< L1GctEmCandCollection > &emu)
Definition: GctErrorAnalyzer.cc:1050
GctErrorAnalyzer::totalHtE_
TH1I * totalHtE_
Definition: GctErrorAnalyzer.cc:240
GctErrorAnalyzer::hfBitCountD_2pos_
TH1I * hfBitCountD_2pos_
Definition: GctErrorAnalyzer.cc:229
GctErrorAnalyzer::dataTag_
edm::InputTag dataTag_
Definition: GctErrorAnalyzer.cc:155
GctErrorAnalyzer::doEg_
bool doEg_
Definition: GctErrorAnalyzer.cc:126
RCT_EM_OBJECT_QUANTA
const unsigned int RCT_EM_OBJECT_QUANTA
Definition: GctErrorAnalyzerDefinitions.h:9
GctErrorAnalyzer::nonIsoEgE_OccEtaPhi_
TH2I * nonIsoEgE_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:179
GctErrorAnalyzer::forJetD_GlobalError_Rank_
TH1I * forJetD_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:212
compareCands
Definition: compareCands.h:21
GctErrorAnalyzer::cenJetE_Rank_
TH1I * cenJetE_Rank_
Definition: GctErrorAnalyzer.cc:187
GctErrorAnalyzer::totalEtE_
TH1I * totalEtE_
Definition: GctErrorAnalyzer.cc:233
GctErrorAnalyzer::totalEt_errorFlag_
TH1I * totalEt_errorFlag_
Definition: GctErrorAnalyzer.cc:235
GctErrorAnalyzer::useSys_
std::string useSys_
Definition: GctErrorAnalyzer.cc:158
GctErrorAnalyzer::doJets_
bool doJets_
Definition: GctErrorAnalyzer.cc:129
GctErrorAnalyzer::isoEgD_OccEtaPhi_
TH2I * isoEgD_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:169
GctErrorAnalyzer::hfBitCountD_1pos_
TH1I * hfBitCountD_1pos_
Definition: GctErrorAnalyzer.cc:229
GctErrorAnalyzer::plotRCTRegions
void plotRCTRegions(const edm::Handle< L1CaloRegionCollection > &caloRegions)
Definition: GctErrorAnalyzer.cc:1007
GctErrorAnalyzer::doTotalHtDebug_
bool doTotalHtDebug_
Definition: GctErrorAnalyzer.cc:138
GctErrorAnalyzer::hfBitCountD_1neg_
TH1I * hfBitCountD_1neg_
Definition: GctErrorAnalyzer.cc:229
GctErrorAnalyzer::plotIntJets
void plotIntJets(const edm::Handle< L1GctInternJetDataCollection > &emu)
Definition: GctErrorAnalyzer.cc:1244
TFileService::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileService.h:69
GctErrorAnalyzer::isoEgE_GlobalError_Rank_
TH1I * isoEgE_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:173
GctErrorAnalyzer::isoEgD_GlobalError_Rank_
TH1I * isoEgD_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:172
GctErrorAnalyzer::forJetE_EtEtaPhi_
TH2I * forJetE_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:208
GctErrorAnalyzer::tauJetE_Rank_
TH1I * tauJetE_Rank_
Definition: GctErrorAnalyzer.cc:197
GctErrorAnalyzer::hfRingSumD_1pos_
TH1I * hfRingSumD_1pos_
Definition: GctErrorAnalyzer.cc:225
GctErrorAnalyzer::forJetE_OccEtaPhi_
TH2I * forJetE_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:209
GctErrorAnalyzer::cenJetE_OccEtaPhi_
TH2I * cenJetE_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:189
GctErrorAnalyzer::RCT_TvEtaPhi_
TH2I * RCT_TvEtaPhi_
Definition: GctErrorAnalyzer.cc:165
GctErrorAnalyzer::plotEGErrors
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 > &regions)
Definition: GctErrorAnalyzer.cc:1077
GctErrorAnalyzer::nonIsoEgD_GlobalError_Rank_
TH1I * nonIsoEgD_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:182
GctErrorAnalyzer::isTauJetError
bool isTauJetError
Definition: GctErrorAnalyzer.cc:265
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
GctErrorAnalyzer::totalHtE_Of_
TH1I * totalHtE_Of_
Definition: GctErrorAnalyzer.cc:241
GctErrorAnalyzer::EmuTrigBx_
int EmuTrigBx_
Definition: GctErrorAnalyzer.cc:152
GctErrorAnalyzer::intJetE_Jet2Et_
TH1I * intJetE_Jet2Et_
Definition: GctErrorAnalyzer.cc:221
GctErrorAnalyzer::tauJetD_EtEtaPhi_
TH2I * tauJetD_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:198
GctErrorAnalyzer::plotCenJets
void plotCenJets(const edm::Handle< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > &emu)
Definition: GctErrorAnalyzer.cc:1169
edm::Service< TFileService >
jetData::phi
unsigned int phi
Definition: GctErrorAnalyzerDefinitions.h:22
iEvent
int iEvent
Definition: GenABIO.cc:224
GctErrorAnalyzer::missingHtD_HtXPosLeaf1
TH1I * missingHtD_HtXPosLeaf1
Definition: GctErrorAnalyzer.cc:256
GctErrorAnalyzer::missingHtE_Of_
TH1I * missingHtE_Of_
Definition: GctErrorAnalyzer.cc:253
universalConfigTemplate.collection
collection
Definition: universalConfigTemplate.py:81
GctErrorAnalyzer::doHF_
bool doHF_
Definition: GctErrorAnalyzer.cc:133
GCT_OBJECT_QUANTA
const unsigned int GCT_OBJECT_QUANTA
Definition: GctErrorAnalyzerDefinitions.h:4
GctErrorAnalyzer::cenJetD_OccEtaPhi_
TH2I * cenJetD_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:189
GctErrorAnalyzerMBxInfo::GCTTrigBx
int GCTTrigBx
Definition: GctErrorAnalyzerDefinitions.h:16
GctErrorAnalyzer::tauJetE_GlobalError_EtEtaPhi_
TH2I * tauJetE_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:205
GctErrorAnalyzer::isTotalEError
bool isTotalEError
Definition: GctErrorAnalyzer.cc:269
GctErrorAnalyzer::totalHt_errorFlag_
TH1I * totalHt_errorFlag_
Definition: GctErrorAnalyzer.cc:242
GctErrorAnalyzer::doIsoDebug_
bool doIsoDebug_
Definition: GctErrorAnalyzer.cc:127
GctErrorAnalyzer::totalEtD_Of_
TH1I * totalEtD_Of_
Definition: GctErrorAnalyzer.cc:234
GctErrorAnalyzer::intJetE_Jet1Et_
TH1I * intJetE_Jet1Et_
Definition: GctErrorAnalyzer.cc:220
GctErrorAnalyzer::isoEgE_Rank_
TH1I * isoEgE_Rank_
Definition: GctErrorAnalyzer.cc:167
GctErrorAnalyzer::plotMissingEErrors
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)
Definition: GctErrorAnalyzer.cc:1769
GctErrorAnalyzer::missingHtD_HtYNegLeaf1
TH1I * missingHtD_HtYNegLeaf1
Definition: GctErrorAnalyzer.cc:258
GctErrorAnalyzer::forJetD_Rank_
TH1I * forJetD_Rank_
Definition: GctErrorAnalyzer.cc:207
GctErrorAnalyzer::isBitCountError
bool isBitCountError
Definition: GctErrorAnalyzer.cc:268
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GctErrorAnalyzer::missingEtE_Phi_
TH1I * missingEtE_Phi_
Definition: GctErrorAnalyzer.cc:249
GctErrorAnalyzer::tauJetE_GlobalError_Rank_
TH1I * tauJetE_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:203
GctErrorAnalyzer::forJetE_GlobalError_EtEtaPhi_
TH2I * forJetE_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:215
RCT_REGION_QUANTA_P5
const unsigned int RCT_REGION_QUANTA_P5
Definition: GctErrorAnalyzerDefinitions.h:7
GctErrorAnalyzer::plotHFBitCounts
void plotHFBitCounts(const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsD, const edm::Handle< L1GctHFBitCountsCollection > &hfBitCountsE)
Definition: GctErrorAnalyzer.cc:1487
GctErrorAnalyzer::missingEtD_Of_
TH1I * missingEtD_Of_
Definition: GctErrorAnalyzer.cc:248
GctErrorAnalyzer::RCT_REGION_QUANTA
const unsigned int * RCT_REGION_QUANTA
Definition: GctErrorAnalyzer.cc:282
GctErrorAnalyzer::isMissingEError
bool isMissingEError
Definition: GctErrorAnalyzer.cc:271
GctErrorAnalyzer::cenJetD_GlobalError_Rank_
TH1I * cenJetD_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:192
GctErrorAnalyzer::hfRingSumE_2neg_
TH1I * hfRingSumE_2neg_
Definition: GctErrorAnalyzer.cc:226
GctErrorAnalyzer::eventNumber
unsigned int eventNumber
Definition: GctErrorAnalyzer.cc:280
GctErrorAnalyzer::isoEgD_GlobalError_EtEtaPhi_
TH2I * isoEgD_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:174
GctErrorAnalyzer::cenJetD_GlobalError_EtEtaPhi_
TH2I * cenJetD_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:194
GctErrorAnalyzer::missingHtD_HtYPosLeaf1
TH1I * missingHtD_HtYPosLeaf1
Definition: GctErrorAnalyzer.cc:258
std
Definition: JetResolutionObject.h:76
GctErrorAnalyzer::cenJet_errorFlag_
TH1I * cenJet_errorFlag_
Definition: GctErrorAnalyzer.cc:190
GctErrorAnalyzer::missingHtD_HtXNegLeaf2
TH1I * missingHtD_HtXNegLeaf2
Definition: GctErrorAnalyzer.cc:256
compareTotalEnergySums
Definition: compareTotalEnergySums.h:24
GctErrorAnalyzer::forJetE_Rank_
TH1I * forJetE_Rank_
Definition: GctErrorAnalyzer.cc:207
GctErrorAnalyzer::plotHFRingSums
void plotHFRingSums(const edm::Handle< L1GctHFRingEtSumsCollection > &data, const edm::Handle< L1GctHFRingEtSumsCollection > &emu)
Definition: GctErrorAnalyzer.cc:1465
GctErrorAnalyzer::cenJetE_EtEtaPhi_
TH2I * cenJetE_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:188
GctErrorAnalyzerMBxInfo::EmuTrigBx
int EmuTrigBx
Definition: GctErrorAnalyzerDefinitions.h:15
GctErrorAnalyzer::intJetE_Of_
TH1I * intJetE_Of_
Definition: GctErrorAnalyzer.cc:219
GctErrorAnalyzer::missingHtD_HtXPosLeaf3
TH1I * missingHtD_HtXPosLeaf3
Definition: GctErrorAnalyzer.cc:256
GctErrorAnalyzer::nonIsoEg_errorFlag_
TH1I * nonIsoEg_errorFlag_
Definition: GctErrorAnalyzer.cc:180
GctErrorAnalyzer::isCenJetError
bool isCenJetError
Definition: GctErrorAnalyzer.cc:264
GctErrorAnalyzer::hfRingSumD_1neg_
TH1I * hfRingSumD_1neg_
Definition: GctErrorAnalyzer.cc:225
GctErrorAnalyzer::doMissingHTDebug_
bool doMissingHTDebug_
Definition: GctErrorAnalyzer.cc:141
GctErrorAnalyzer::missingHtD_
TH1I * missingHtD_
Definition: GctErrorAnalyzer.cc:252
GctErrorAnalyzer::forJetE_GlobalError_Rank_
TH1I * forJetE_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:213
GctErrorAnalyzer::doCenJetsDebug_
bool doCenJetsDebug_
Definition: GctErrorAnalyzer.cc:130
TFileDirectory::make
T * make(const Args &...args) const
make new ROOT object
Definition: TFileDirectory.h:53
GctErrorAnalyzer::doEmuMBx_
bool doEmuMBx_
Definition: GctErrorAnalyzer.cc:148
GctErrorAnalyzer::hfBitCountD_2neg_
TH1I * hfBitCountD_2neg_
Definition: GctErrorAnalyzer.cc:229
GctErrorAnalyzer::forJetD_OccEtaPhi_
TH2I * forJetD_OccEtaPhi_
Definition: GctErrorAnalyzer.cc:209
GctErrorAnalyzer::doRCTMBx_
bool doRCTMBx_
Definition: GctErrorAnalyzer.cc:147
GctErrorAnalyzer::isoEgE_GlobalError_EtEtaPhi_
TH2I * isoEgE_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:175
GctErrorAnalyzer::totalEtE_Of_
TH1I * totalEtE_Of_
Definition: GctErrorAnalyzer.cc:234
GctErrorAnalyzer::RCT_FgEtaPhi_
TH2I * RCT_FgEtaPhi_
Definition: GctErrorAnalyzer.cc:165
GctErrorAnalyzer::missingHtD_Phi_
TH1I * missingHtD_Phi_
Definition: GctErrorAnalyzer.cc:254
GctErrorAnalyzer::doTotalEtDebug_
bool doTotalEtDebug_
Definition: GctErrorAnalyzer.cc:137
GctErrorAnalyzer::nonIsoEgE_GlobalError_Rank_
TH1I * nonIsoEgE_GlobalError_Rank_
Definition: GctErrorAnalyzer.cc:183
GctErrorAnalyzer::doMissingEnergySums_
bool doMissingEnergySums_
Definition: GctErrorAnalyzer.cc:139
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
GctErrorAnalyzer::errorHistCat
std::vector< TFileDirectory > errorHistCat
Definition: GctErrorAnalyzer.cc:277
GctErrorAnalyzer::nonIsoEgE_GlobalError_EtEtaPhi_
TH2I * nonIsoEgE_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:185
GctErrorAnalyzer::tauJetD_Rank_
TH1I * tauJetD_Rank_
Definition: GctErrorAnalyzer.cc:197
GctErrorAnalyzer::missingHtD_HtXPosLeaf2
TH1I * missingHtD_HtXPosLeaf2
Definition: GctErrorAnalyzer.cc:256
GctErrorAnalyzer::cenJetD_EtEtaPhi_
TH2I * cenJetD_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:188
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
GctErrorAnalyzer::forJet_errorFlag_
TH1I * forJet_errorFlag_
Definition: GctErrorAnalyzer.cc:210
GctErrorAnalyzer::totalHtD_
TH1I * totalHtD_
Definition: GctErrorAnalyzer.cc:240
GctErrorAnalyzer::hfRingSumD_2neg_
TH1I * hfRingSumD_2neg_
Definition: GctErrorAnalyzer.cc:225
GctErrorAnalyzer::plotHFErrors
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)
Definition: GctErrorAnalyzer.cc:1508
GctErrorAnalyzer::checkCollections
bool checkCollections(const T &collection, const unsigned int &constraint, const std::string &label)
Definition: GctErrorAnalyzer.cc:1314
GctErrorAnalyzer::doTauJetsDebug_
bool doTauJetsDebug_
Definition: GctErrorAnalyzer.cc:131
GctErrorAnalyzer::missingHtD_HtYNegLeaf2
TH1I * missingHtD_HtYNegLeaf2
Definition: GctErrorAnalyzer.cc:258
GctErrorAnalyzer::forJetD_GlobalError_EtEtaPhi_
TH2I * forJetD_GlobalError_EtEtaPhi_
Definition: GctErrorAnalyzer.cc:214
GctErrorAnalyzer::missingEtE_Of_
TH1I * missingEtE_Of_
Definition: GctErrorAnalyzer.cc:248
RCT_REGION_QUANTA_LAB
const unsigned int RCT_REGION_QUANTA_LAB
Definition: GctErrorAnalyzerDefinitions.h:8