CMS 3D CMS Logo

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

#include <ElectronMcMiniAODSignalValidator.h>

Inheritance diagram for ElectronMcSignalValidatorMiniAOD:
ElectronDqmAnalyzerBase DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

 ElectronMcSignalValidatorMiniAOD (const edm::ParameterSet &)
 
bool isAncestor (const reco::Candidate *ancestor, const reco::Candidate *particle)
 
 ~ElectronMcSignalValidatorMiniAOD () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 

Private Attributes

double deltaR2_
 
double deltaR_
 
double deta_max
 
double deta_min
 
int deta_nbin
 
int detamatch2D_nbin
 
double detamatch_max
 
double detamatch_min
 
int detamatch_nbin
 
double dphi_max
 
double dphi_min
 
int dphi_nbin
 
int dphimatch2D_nbin
 
double dphimatch_max
 
double dphimatch_min
 
int dphimatch_nbin
 
edm::EDGetTokenT< pat::ElectronCollectionelectronToken_
 
int eta2D_nbin
 
double eta_max
 
double eta_min
 
int eta_nbin
 
double fhits_max
 
int fhits_nbin
 
MonitorElementh1_ele_chargedHadronRelativeIso_mAOD
 
MonitorElementh1_ele_chargedHadronRelativeIso_mAOD_barrel
 
MonitorElementh1_ele_chargedHadronRelativeIso_mAOD_endcaps
 
MonitorElementh1_ele_chargedHadronRelativeIso_mAOD_recomp
 
MonitorElementh1_ele_dEtaSc_propVtx_mAOD
 
MonitorElementh1_ele_dEtaSc_propVtx_mAOD_barrel
 
MonitorElementh1_ele_dEtaSc_propVtx_mAOD_endcaps
 
MonitorElementh1_ele_dPhiCl_propOut_mAOD
 
MonitorElementh1_ele_dPhiCl_propOut_mAOD_barrel
 
MonitorElementh1_ele_dPhiCl_propOut_mAOD_endcaps
 
MonitorElementh1_ele_fbrem_mAOD
 
MonitorElementh1_ele_fbrem_mAOD_barrel
 
MonitorElementh1_ele_fbrem_mAOD_endcaps
 
MonitorElementh1_ele_HoE_mAOD
 
MonitorElementh1_ele_HoE_mAOD_barrel
 
MonitorElementh1_ele_HoE_mAOD_endcaps
 
MonitorElementh1_ele_mee_all
 
MonitorElementh1_ele_mee_os
 
MonitorElementh1_ele_neutralHadronRelativeIso_mAOD
 
MonitorElementh1_ele_neutralHadronRelativeIso_mAOD_barrel
 
MonitorElementh1_ele_neutralHadronRelativeIso_mAOD_endcaps
 
MonitorElementh1_ele_neutralHadronRelativeIso_mAOD_recomp
 
MonitorElementh1_ele_photonRelativeIso_mAOD
 
MonitorElementh1_ele_photonRelativeIso_mAOD_barrel
 
MonitorElementh1_ele_photonRelativeIso_mAOD_endcaps
 
MonitorElementh1_ele_photonRelativeIso_mAOD_recomp
 
MonitorElementh1_ele_vertexEta
 
MonitorElementh1_ele_vertexPt
 
MonitorElementh1_ele_vertexPt_nocut
 
MonitorElementh1_recEleNum
 
MonitorElementh1_scl_SigIEtaIEta_mAOD
 
MonitorElementh1_scl_SigIEtaIEta_mAOD_barrel
 
MonitorElementh1_scl_SigIEtaIEta_mAOD_endcaps
 
MonitorElementh2_ele_foundHitsVsEta
 
MonitorElementh2_ele_foundHitsVsEta_mAOD
 
MonitorElementh2_ele_PoPtrueVsEta
 
MonitorElementh2_ele_sigmaIetaIetaVsPt
 
double hoe_max
 
double hoe_min
 
int hoe_nbin
 
std::vector< int > matchingIDs_
 
std::vector< int > matchingMotherIDs_
 
double maxAbsEta_
 
double maxPt_
 
edm::EDGetTokenT< edm::View< reco::GenParticle > > mcTruthCollection_
 
double mee_max
 
double mee_min
 
int mee_nbin
 
std::string outputInternalPath_
 
edm::EDGetTokenT< edm::ValueMap< float > > pfSumChargedHadronPtTmp_
 
edm::EDGetTokenT< edm::ValueMap< float > > pfSumNeutralHadronEtTmp_
 
edm::EDGetTokenT< edm::ValueMap< float > > pfSumPhotonEtTmp_
 
int phi2D_nbin
 
double phi_max
 
double phi_min
 
int phi_nbin
 
double poptrue_max
 
double poptrue_min
 
int poptrue_nbin
 
int pt2D_nbin
 
float pt_
 
double pt_max
 
int pt_nbin
 
int pteff_nbin
 
float relisoChargedHadronPt_recomp
 
float relisoNeutralHadronPt_recomp
 
float relisoPhotonPt_recomp
 
bool set_EfficiencyFlag
 
bool set_StatOverflowFlag
 
float sumChargedHadronPt_recomp
 
float sumNeutralHadronPt_recomp
 
float sumPhotonPt_recomp
 
int xyz_nbin
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from ElectronDqmAnalyzerBase
MonitorElementbookH1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
 
MonitorElementbookH1withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
 
MonitorElementbookH2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
 
MonitorElementbookH2withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
 
MonitorElementbookP1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P")
 
MonitorElementcloneH1 (DQMStore::IBooker &iBooker, const std::string &name, const std::string &original, const std::string &title="")
 
MonitorElementcloneH1 (DQMStore::IBooker &iBooker, const std::string &name, MonitorElement *original, const std::string &title="")
 
 ElectronDqmAnalyzerBase (const edm::ParameterSet &conf)
 
void setBookEfficiencyFlag (const bool &)
 
void setBookIndex (short)
 
void setBookPrefix (const std::string &)
 
void setBookStatOverflowFlag (const bool &)
 
int verbosity ()
 
 ~ElectronDqmAnalyzerBase () override
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 19 of file ElectronMcMiniAODSignalValidator.h.

Constructor & Destructor Documentation

◆ ElectronMcSignalValidatorMiniAOD()

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

Definition at line 16 of file ElectronMcMiniAODSignalValidator.cc.

17  : ElectronDqmAnalyzerBase(iConfig) {
18  mcTruthCollection_ = consumes<edm::View<reco::GenParticle> >(
19  iConfig.getParameter<edm::InputTag>("mcTruthCollection")); // prunedGenParticles
21  consumes<pat::ElectronCollection>(iConfig.getParameter<edm::InputTag>("electrons")); // slimmedElectrons
22 
23  edm::ParameterSet histosSet = iConfig.getParameter<edm::ParameterSet>("histosCfg");
24  edm::ParameterSet isolationSet = iConfig.getParameter<edm::ParameterSet>("isolationCfg");
25 
26  //recomp
28  consumes<edm::ValueMap<float> >(isolationSet.getParameter<edm::InputTag>("pfSumChargedHadronPtTmp")); // iConfig
30  consumes<edm::ValueMap<float> >(isolationSet.getParameter<edm::InputTag>("pfSumNeutralHadronEtTmp")); // iConfig
32  consumes<edm::ValueMap<float> >(isolationSet.getParameter<edm::InputTag>("pfSumPhotonEtTmp")); // iConfig
33 
34  maxPt_ = iConfig.getParameter<double>("MaxPt");
35  maxAbsEta_ = iConfig.getParameter<double>("MaxAbsEta");
36  deltaR_ = iConfig.getParameter<double>("DeltaR");
38  matchingIDs_ = iConfig.getParameter<std::vector<int> >("MatchingID");
39  matchingMotherIDs_ = iConfig.getParameter<std::vector<int> >("MatchingMotherID");
40  outputInternalPath_ = iConfig.getParameter<std::string>("OutputFolderName");
41 
42  // histos bining and limits
43 
44  xyz_nbin = histosSet.getParameter<int>("Nbinxyz");
45 
46  pt_nbin = histosSet.getParameter<int>("Nbinpt");
47  pt2D_nbin = histosSet.getParameter<int>("Nbinpt2D");
48  pteff_nbin = histosSet.getParameter<int>("Nbinpteff");
49  pt_max = histosSet.getParameter<double>("Ptmax");
50 
51  fhits_nbin = histosSet.getParameter<int>("Nbinfhits");
52  fhits_max = histosSet.getParameter<double>("Fhitsmax");
53 
54  eta_nbin = histosSet.getParameter<int>("Nbineta");
55  eta2D_nbin = histosSet.getParameter<int>("Nbineta2D");
56  eta_min = histosSet.getParameter<double>("Etamin");
57  eta_max = histosSet.getParameter<double>("Etamax");
58 
59  detamatch_nbin = histosSet.getParameter<int>("Nbindetamatch");
60  detamatch2D_nbin = histosSet.getParameter<int>("Nbindetamatch2D");
61  detamatch_min = histosSet.getParameter<double>("Detamatchmin");
62  detamatch_max = histosSet.getParameter<double>("Detamatchmax");
63 
64  dphi_nbin = histosSet.getParameter<int>("Nbindphi");
65  dphi_min = histosSet.getParameter<double>("Dphimin");
66  dphi_max = histosSet.getParameter<double>("Dphimax");
67 
68  dphimatch_nbin = histosSet.getParameter<int>("Nbindphimatch");
69  dphimatch2D_nbin = histosSet.getParameter<int>("Nbindphimatch2D");
70  dphimatch_min = histosSet.getParameter<double>("Dphimatchmin");
71  dphimatch_max = histosSet.getParameter<double>("Dphimatchmax");
72 
73  hoe_nbin = histosSet.getParameter<int>("Nbinhoe");
74  hoe_min = histosSet.getParameter<double>("Hoemin");
75  hoe_max = histosSet.getParameter<double>("Hoemax");
76 
77  mee_nbin = histosSet.getParameter<int>("Nbinmee");
78  mee_min = histosSet.getParameter<double>("Meemin");
79  mee_max = histosSet.getParameter<double>("Meemax");
80 
81  poptrue_nbin = histosSet.getParameter<int>("Nbinpoptrue");
82  poptrue_min = histosSet.getParameter<double>("Poptruemin");
83  poptrue_max = histosSet.getParameter<double>("Poptruemax");
84 
85  set_EfficiencyFlag = histosSet.getParameter<bool>("EfficiencyFlag");
86  set_StatOverflowFlag = histosSet.getParameter<bool>("StatOverflowFlag");
87 
88  // so to please coverity...
89 
90  h1_recEleNum = nullptr;
91 
92  h1_ele_vertexPt = nullptr;
93  h1_ele_vertexEta = nullptr;
94  h1_ele_vertexPt_nocut = nullptr;
95 
96  h1_scl_SigIEtaIEta_mAOD = nullptr;
99 
100  h2_ele_foundHitsVsEta = nullptr;
101  h2_ele_foundHitsVsEta_mAOD = nullptr;
102 
103  h2_ele_PoPtrueVsEta = nullptr;
104  h2_ele_sigmaIetaIetaVsPt = nullptr;
105 
106  h1_ele_HoE_mAOD = nullptr;
107  h1_ele_HoE_mAOD_barrel = nullptr;
108  h1_ele_HoE_mAOD_endcaps = nullptr;
109  h1_ele_mee_all = nullptr;
110  h1_ele_mee_os = nullptr;
111 
112  h1_ele_fbrem_mAOD = nullptr;
113  h1_ele_fbrem_mAOD_barrel = nullptr;
114  h1_ele_fbrem_mAOD_endcaps = nullptr;
115 
116  h1_ele_dEtaSc_propVtx_mAOD = nullptr;
119  h1_ele_dPhiCl_propOut_mAOD = nullptr;
122 
132 
136 }

References deltaR2_, deltaR_, detamatch2D_nbin, detamatch_max, detamatch_min, detamatch_nbin, dphi_max, dphi_min, dphi_nbin, dphimatch2D_nbin, dphimatch_max, dphimatch_min, dphimatch_nbin, electronToken_, eta2D_nbin, eta_max, eta_min, eta_nbin, fhits_max, fhits_nbin, edm::ParameterSet::getParameter(), h1_ele_chargedHadronRelativeIso_mAOD, h1_ele_chargedHadronRelativeIso_mAOD_barrel, h1_ele_chargedHadronRelativeIso_mAOD_endcaps, h1_ele_chargedHadronRelativeIso_mAOD_recomp, h1_ele_dEtaSc_propVtx_mAOD, h1_ele_dEtaSc_propVtx_mAOD_barrel, h1_ele_dEtaSc_propVtx_mAOD_endcaps, h1_ele_dPhiCl_propOut_mAOD, h1_ele_dPhiCl_propOut_mAOD_barrel, h1_ele_dPhiCl_propOut_mAOD_endcaps, h1_ele_fbrem_mAOD, h1_ele_fbrem_mAOD_barrel, h1_ele_fbrem_mAOD_endcaps, h1_ele_HoE_mAOD, h1_ele_HoE_mAOD_barrel, h1_ele_HoE_mAOD_endcaps, h1_ele_mee_all, h1_ele_mee_os, h1_ele_neutralHadronRelativeIso_mAOD, h1_ele_neutralHadronRelativeIso_mAOD_barrel, h1_ele_neutralHadronRelativeIso_mAOD_endcaps, h1_ele_neutralHadronRelativeIso_mAOD_recomp, h1_ele_photonRelativeIso_mAOD, h1_ele_photonRelativeIso_mAOD_barrel, h1_ele_photonRelativeIso_mAOD_endcaps, h1_ele_photonRelativeIso_mAOD_recomp, h1_ele_vertexEta, h1_ele_vertexPt, h1_ele_vertexPt_nocut, h1_recEleNum, h1_scl_SigIEtaIEta_mAOD, h1_scl_SigIEtaIEta_mAOD_barrel, h1_scl_SigIEtaIEta_mAOD_endcaps, h2_ele_foundHitsVsEta, h2_ele_foundHitsVsEta_mAOD, h2_ele_PoPtrueVsEta, h2_ele_sigmaIetaIetaVsPt, hoe_max, hoe_min, hoe_nbin, matchingIDs_, matchingMotherIDs_, maxAbsEta_, maxPt_, mcTruthCollection_, mee_max, mee_min, mee_nbin, outputInternalPath_, pfSumChargedHadronPtTmp_, pfSumNeutralHadronEtTmp_, pfSumPhotonEtTmp_, poptrue_max, poptrue_min, poptrue_nbin, pt2D_nbin, pt_max, pt_nbin, pteff_nbin, set_EfficiencyFlag, set_StatOverflowFlag, AlCaHLTBitMon_QueryRunRegistry::string, and xyz_nbin.

◆ ~ElectronMcSignalValidatorMiniAOD()

ElectronMcSignalValidatorMiniAOD::~ElectronMcSignalValidatorMiniAOD ( )
override

Definition at line 138 of file ElectronMcMiniAODSignalValidator.cc.

138 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from ElectronDqmAnalyzerBase.

Definition at line 460 of file ElectronMcMiniAODSignalValidator.cc.

460  {
461  // get collections
463  iEvent.getByToken(electronToken_, electrons);
464 
467 
468  //recomp
472 
473  //recomp
477 
478  edm::LogInfo("ElectronMcSignalValidatorMiniAOD::analyze")
479  << "Treating event " << iEvent.id() << " with " << electrons.product()->size() << " electrons";
480  h1_recEleNum->Fill((*electrons).size());
481 
482  //===============================================
483  // all rec electrons
484  //===============================================
485 
486  pat::Electron gsfElectron;
487 
488  pat::ElectronCollection::const_iterator el1;
489  pat::ElectronCollection::const_iterator el2;
490  for (el1 = electrons->begin(); el1 != electrons->end(); el1++) {
491  for (el2 = el1 + 1; el2 != electrons->end(); el2++) {
492  math::XYZTLorentzVector p12 = el1->p4() + el2->p4();
493  float mee2 = p12.Dot(p12);
494  h1_ele_mee_all->Fill(sqrt(mee2));
495  if (el1->charge() * el2->charge() < 0.) {
496  h1_ele_mee_os->Fill(sqrt(mee2));
497  }
498  }
499  }
500 
501  //===============================================
502  // charge mis-ID
503  //===============================================
504 
505  int mcNum = 0, gamNum = 0, eleNum = 0;
506  // bool matchingID;//, matchingMotherID ;
507  bool matchingMotherID;
508 
509  //===============================================
510  // association mc-reco
511  //===============================================
512 
513  for (size_t i = 0; i < genParticles->size(); i++) {
514  /* // DEBUG LINES - KEEP IT !
515  std::cout << "\nevt ID = " << iEvent.id() ;
516  std::cout << ", mcIter position : " << i << std::endl;
517  std::cout << "pdgID : " << (*genParticles)[i].pdgId() << ", Pt : " << (*genParticles)[i].pt() ;
518  std::cout << ", eta : " << (*genParticles)[i].eta() << ", phi : " << (*genParticles)[i].phi() << std::endl;
519  // DEBUG LINES - KEEP IT ! */
520 
521  // number of mc particles
522  mcNum++;
523 
524  // counts photons
525  if ((*genParticles)[i].pdgId() == 22) {
526  gamNum++;
527  }
528 
529  // select requested mother matching gen particle
530  // always include single particle with no mother
531  const Candidate* mother = (*genParticles)[i].mother(0);
532  matchingMotherID = false;
533  for (unsigned int ii = 0; ii < matchingMotherIDs_.size(); ii++) {
534  /* // DEBUG LINES - KEEP IT !
535  std::cout << "Matching : matchingMotherID[" << ii << "] : "<< matchingMotherIDs_[ii] << ", evt ID = " << iEvent.id() << ", mother : " << mother ;
536  if (mother != 0) {
537  std::cout << "mother : " << mother << ", mother pdgID : " << mother->pdgId() << std::endl ;
538  std::cout << "mother pdgID : " << mother->pdgId() << ", Pt : " << mother->pt() << ", eta : " << mother->eta() << ", phi : " << mother->phi() << std::endl;
539  }
540  else {
541  std::cout << std::endl;
542  }
543  // DEBUG LINES - KEEP IT ! */
544 
545  if (mother == nullptr) {
546  matchingMotherID = true;
547  } else if (mother->pdgId() == matchingMotherIDs_[ii]) {
548  if (mother->numberOfDaughters() <= 2) {
549  matchingMotherID = true;
550  //std::cout << "evt ID = " << iEvent.id() ; // debug lines
551  //std::cout << " - nb of Daughters : " << mother->numberOfDaughters() << " - pdgId() : " << mother->pdgId() << std::endl; // debug lines
552  }
553  } // end of mother if test
554 
555  /* // DEBUG LINES - KEEP IT !
556  if (mother != 0) {
557  std::cout << "mother : " << mother << ", mother pdgID : " << mother->pdgId() << std::endl ;
558  std::cout << "mother pdgID : " << mother->pdgId() << ", Pt : " << mother->pt() << ", eta : " << mother->eta() << ", phi : " << mother->phi() << std::endl;
559  }
560  // DEBUG LINES - KEEP IT ! */
561  } // end of for loop
562  if (!matchingMotherID) {
563  continue;
564  }
565 
566  // electron preselection
567  if ((*genParticles)[i].pt() > maxPt_ || std::abs((*genParticles)[i].eta()) > maxAbsEta_) {
568  continue;
569  }
570  eleNum++;
571 
572  // find best matched electron
573  bool okGsfFound = false;
574  bool passMiniAODSelection = true;
575  double gsfOkRatio = 999999.;
576  pat::Electron bestGsfElectron;
577  for (const pat::Electron& el : *electrons) {
578  double dphi = el.phi() - (*genParticles)[i].phi();
579  if (std::abs(dphi) > CLHEP::pi) {
580  dphi = dphi < 0 ? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi;
581  }
582  double deltaR2 = (el.eta() - (*genParticles)[i].eta()) * (el.eta() - (*genParticles)[i].eta()) + dphi * dphi;
583  if (deltaR2 < deltaR2_) {
584  if ((((*genParticles)[i].pdgId() == 11) && (el.charge() < 0.)) ||
585  (((*genParticles)[i].pdgId() == -11) && (el.charge() > 0.))) {
586  double tmpGsfRatio = el.p() / (*genParticles)[i].p();
587  if (std::abs(tmpGsfRatio - 1) < std::abs(gsfOkRatio - 1)) {
588  gsfOkRatio = tmpGsfRatio;
589  bestGsfElectron = el;
590  PatElectronPtr elePtr(electrons, &el - &(*electrons)[0]);
591  pt_ = elePtr->pt();
592  sumChargedHadronPt_recomp = (*pfSumChargedHadronPtTmp)[elePtr];
594 
595  sumNeutralHadronPt_recomp = (*pfSumNeutralHadronEtTmp)[elePtr];
597 
598  sumPhotonPt_recomp = (*pfSumPhotonEtTmp)[elePtr];
600 
601  okGsfFound = true;
602 
603  // DEBUG LINES - KEEP IT !
604  // std::cout << "evt ID : " << iEvent.id() << " - Pt : " << bestGsfElectron.pt() << " - eta : " << bestGsfElectron.eta() << " - phi : " << bestGsfElectron.phi() << std::endl;
605  // DEBUG LINES - KEEP IT ! /**/
606  }
607  }
608  }
609  }
610 
611  if (!okGsfFound)
612  continue;
613 
614  //------------------------------------
615  // analysis when the mc track is found
616  //------------------------------------
617  passMiniAODSelection = bestGsfElectron.pt() >= 5.;
618 
619  // electron related distributions
620  h1_ele_vertexPt->Fill(bestGsfElectron.pt());
621  h1_ele_vertexEta->Fill(bestGsfElectron.eta());
622  if ((bestGsfElectron.scSigmaIEtaIEta() == 0.) && (bestGsfElectron.fbrem() == 0.))
623  h1_ele_vertexPt_nocut->Fill(bestGsfElectron.pt());
624 
625  // generated distributions for matched electrons
626  h2_ele_PoPtrueVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.p() / (*genParticles)[i].p());
627  if (passMiniAODSelection) { // Pt > 5.
628  h2_ele_sigmaIetaIetaVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.scSigmaIEtaIEta());
629  }
630 
631  // supercluster related distributions
632  if (passMiniAODSelection) { // Pt > 5.
633  h1_scl_SigIEtaIEta_mAOD->Fill(bestGsfElectron.scSigmaIEtaIEta());
636  if (bestGsfElectron.isEB()) {
640  }
641  if (bestGsfElectron.isEE()) {
645  }
646  }
647 
648  // track related distributions
649  h2_ele_foundHitsVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfValidHits());
650  if (passMiniAODSelection) { // Pt > 5.
651  h2_ele_foundHitsVsEta_mAOD->Fill(bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfValidHits());
652  }
653 
654  // match distributions
655  if (passMiniAODSelection) { // Pt > 5.
656  h1_ele_HoE_mAOD->Fill(bestGsfElectron.hcalOverEcal());
657  if (bestGsfElectron.isEB())
658  h1_ele_HoE_mAOD_barrel->Fill(bestGsfElectron.hcalOverEcal());
659  if (bestGsfElectron.isEE())
660  h1_ele_HoE_mAOD_endcaps->Fill(bestGsfElectron.hcalOverEcal());
661  }
662 
663  // fbrem
664 
665  // double fbrem_mode = bestGsfElectron.fbrem();
666  if (passMiniAODSelection) { // Pt > 5.
667  h1_ele_fbrem_mAOD->Fill(bestGsfElectron.fbrem());
668  if (bestGsfElectron.isEB())
669  h1_ele_fbrem_mAOD_barrel->Fill(bestGsfElectron.fbrem());
670  if (bestGsfElectron.isEE())
671  h1_ele_fbrem_mAOD_endcaps->Fill(bestGsfElectron.fbrem());
672 
673  // -- pflow over pT
674  double one_over_pt = 1. / bestGsfElectron.pt();
675 
677  one_over_pt);
679  one_over_pt);
680  h1_ele_photonRelativeIso_mAOD->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt * one_over_pt);
681 
682  if (bestGsfElectron.isEB()) {
684  one_over_pt);
686  one_over_pt);
688  }
689 
690  if (bestGsfElectron.isEE()) {
692  one_over_pt);
694  one_over_pt);
696  }
697 
698  // -- recomputed pflow over pT
702  }
703 
704  } // fin boucle size_t i
705 }

References funct::abs(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo(), HLTMuonOfflineAnalyzer_cfi::deltaR2, deltaR2_, pwdgSkimBPark_cfi::electrons, electronToken_, PVValHelper::eta, reco::LeafCandidate::eta(), reco::GsfElectron::fbrem(), dqm::impl::MonitorElement::Fill(), genParticles2HepMC_cfi::genParticles, pat::Electron::gsfTrack(), h1_ele_chargedHadronRelativeIso_mAOD, h1_ele_chargedHadronRelativeIso_mAOD_barrel, h1_ele_chargedHadronRelativeIso_mAOD_endcaps, h1_ele_chargedHadronRelativeIso_mAOD_recomp, h1_ele_dEtaSc_propVtx_mAOD, h1_ele_dEtaSc_propVtx_mAOD_barrel, h1_ele_dEtaSc_propVtx_mAOD_endcaps, h1_ele_dPhiCl_propOut_mAOD, h1_ele_dPhiCl_propOut_mAOD_barrel, h1_ele_dPhiCl_propOut_mAOD_endcaps, h1_ele_fbrem_mAOD, h1_ele_fbrem_mAOD_barrel, h1_ele_fbrem_mAOD_endcaps, h1_ele_HoE_mAOD, h1_ele_HoE_mAOD_barrel, h1_ele_HoE_mAOD_endcaps, h1_ele_mee_all, h1_ele_mee_os, h1_ele_neutralHadronRelativeIso_mAOD, h1_ele_neutralHadronRelativeIso_mAOD_barrel, h1_ele_neutralHadronRelativeIso_mAOD_endcaps, h1_ele_neutralHadronRelativeIso_mAOD_recomp, h1_ele_photonRelativeIso_mAOD, h1_ele_photonRelativeIso_mAOD_barrel, h1_ele_photonRelativeIso_mAOD_endcaps, h1_ele_photonRelativeIso_mAOD_recomp, h1_ele_vertexEta, h1_ele_vertexPt, h1_ele_vertexPt_nocut, h1_recEleNum, h1_scl_SigIEtaIEta_mAOD, h1_scl_SigIEtaIEta_mAOD_barrel, h1_scl_SigIEtaIEta_mAOD_endcaps, h2_ele_foundHitsVsEta, h2_ele_foundHitsVsEta_mAOD, h2_ele_PoPtrueVsEta, h2_ele_sigmaIetaIetaVsPt, reco::GsfElectron::hcalOverEcal(), mps_fire::i, iEvent, cuy::ii, reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), matchingMotherIDs_, maxAbsEta_, maxPt_, mcTruthCollection_, reco::Candidate::mother(), reco::Candidate::numberOfDaughters(), reco::LeafCandidate::p(), reco::GsfElectron::p4(), EgammaValidation_cff::pdgId, reco::Candidate::pdgId(), reco::GsfElectron::pfIsolationVariables(), ElectronMcSignalValidatorMiniAOD_cfi::pfSumChargedHadronPtTmp, pfSumChargedHadronPtTmp_, ElectronMcSignalValidatorMiniAOD_cfi::pfSumNeutralHadronEtTmp, pfSumNeutralHadronEtTmp_, ElectronMcSignalValidatorMiniAOD_cfi::pfSumPhotonEtTmp, pfSumPhotonEtTmp_, reco::LeafCandidate::phi(), pi, reco::LeafCandidate::pt(), pt_, relisoChargedHadronPt_recomp, relisoNeutralHadronPt_recomp, relisoPhotonPt_recomp, reco::GsfElectron::scSigmaIEtaIEta(), mathSSE::sqrt(), reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, sumChargedHadronPt_recomp, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, sumNeutralHadronPt_recomp, reco::GsfElectron::PflowIsolationVariables::sumPhotonEt, and sumPhotonPt_recomp.

◆ bookHistograms()

void ElectronMcSignalValidatorMiniAOD::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Reimplemented from ElectronDqmAnalyzerBase.

Definition at line 140 of file ElectronMcMiniAODSignalValidator.cc.

142  {
144 
145  setBookIndex(-1);
146  setBookPrefix("h");
149 
150  // rec event collections sizes
151  h1_recEleNum = bookH1(iBooker, "recEleNum", "# rec electrons", 11, -0.5, 10.5, "N_{ele}");
152  // matched electrons
153  setBookPrefix("h_mc");
154  setBookPrefix("h_ele");
156  bookH1withSumw2(iBooker, "vertexPt", "ele transverse momentum", pt_nbin, 0., pt_max, "p_{T vertex} (GeV/c)");
157  h1_ele_vertexEta = bookH1withSumw2(iBooker, "vertexEta", "ele momentum eta", eta_nbin, eta_min, eta_max, "#eta");
159  bookH1withSumw2(iBooker, "vertexPt_nocut", "pT of prunned electrons", pt_nbin, 0., 20., "p_{T vertex} (GeV/c)");
161  "PoPtrueVsEta",
162  "ele momentum / gen momentum vs eta",
163  eta2D_nbin,
164  eta_min,
165  eta_max,
166  50,
167  poptrue_min,
168  poptrue_max);
169  // h2_ele_sigmaIetaIetaVsPt = bookH2(iBooker,"sigmaIetaIetaVsPt","SigmaIetaIeta vs pt",pt_nbin,0.,pt_max,100,0.,0.05);
171  bookH2(iBooker, "sigmaIetaIetaVsPt", "SigmaIetaIeta vs pt", 100, 0., pt_max, 100, 0., 0.05);
172 
173  // all electrons
174  setBookPrefix("h_ele");
176  "mee_all",
177  "ele pairs invariant mass, all reco electrons",
178  mee_nbin,
179  mee_min,
180  mee_max,
181  "m_{ee} (GeV/c^{2})",
182  "Events",
183  "ELE_LOGY E1 P");
184  h1_ele_mee_os = bookH1withSumw2(iBooker,
185  "mee_os",
186  "ele pairs invariant mass, opp. sign",
187  mee_nbin,
188  mee_min,
189  mee_max,
190  "m_{e^{+}e^{-}} (GeV/c^{2})",
191  "Events",
192  "ELE_LOGY E1 P");
193 
194  // matched electron, superclusters
195  setBookPrefix("h_scl");
197  "SigIEtaIEta_mAOD",
198  "ele supercluster sigma ieta ieta",
199  100,
200  0.,
201  0.05,
202  "#sigma_{i#eta i#eta}",
203  "Events",
204  "ELE_LOGY E1 P");
206  "SigIEtaIEta_mAOD_barrel",
207  "ele supercluster sigma ieta ieta, barrel",
208  100,
209  0.,
210  0.05,
211  "#sigma_{i#eta i#eta}",
212  "Events",
213  "ELE_LOGY E1 P");
215  "SigIEtaIEta_mAOD_endcaps",
216  "ele supercluster sigma ieta ieta, endcaps",
217  100,
218  0.,
219  0.05,
220  "#sigma_{i#eta i#eta}",
221  "Events",
222  "ELE_LOGY E1 P");
223 
224  // matched electron, gsf tracks
225  setBookPrefix("h_ele");
226  h2_ele_foundHitsVsEta = bookH2(iBooker,
227  "foundHitsVsEta",
228  "ele track # found hits vs eta",
229  eta2D_nbin,
230  eta_min,
231  eta_max,
232  fhits_nbin,
233  0.,
234  fhits_max);
236  "foundHitsVsEta_mAOD",
237  "ele track # found hits vs eta",
238  eta2D_nbin,
239  eta_min,
240  eta_max,
241  fhits_nbin,
242  0.,
243  fhits_max);
244 
245  // matched electrons, matching
246  setBookPrefix("h_ele");
248  "HoE_mAOD",
249  "ele hadronic energy / em energy",
250  hoe_nbin,
251  hoe_min,
252  hoe_max,
253  "H/E",
254  "Events",
255  "ELE_LOGY E1 P");
257  "HoE_mAOD_barrel",
258  "ele hadronic energy / em energy, barrel",
259  hoe_nbin,
260  hoe_min,
261  hoe_max,
262  "H/E",
263  "Events",
264  "ELE_LOGY E1 P");
266  "HoE_mAOD_endcaps",
267  "ele hadronic energy / em energy, endcaps",
268  hoe_nbin,
269  hoe_min,
270  hoe_max,
271  "H/E",
272  "Events",
273  "ELE_LOGY E1 P");
275  "dEtaSc_propVtx_mAOD",
276  "ele #eta_{sc} - #eta_{tr}, prop from vertex",
280  "#eta_{sc} - #eta_{tr}",
281  "Events",
282  "ELE_LOGY E1 P");
284  "dEtaSc_propVtx_mAOD_barrel",
285  "ele #eta_{sc} - #eta_{tr}, prop from vertex, barrel",
289  "#eta_{sc} - #eta_{tr}",
290  "Events",
291  "ELE_LOGY E1 P");
293  "dEtaSc_propVtx_mAOD_endcaps",
294  "ele #eta_{sc} - #eta_{tr}, prop from vertex, endcaps",
298  "#eta_{sc} - #eta_{tr}",
299  "Events",
300  "ELE_LOGY E1 P");
302  "dPhiCl_propOut_mAOD",
303  "ele #phi_{cl} - #phi_{tr}, prop from outermost",
307  "#phi_{seedcl} - #phi_{tr} (rad)",
308  "Events",
309  "ELE_LOGY E1 P");
311  "dPhiCl_propOut_mAOD_barrel",
312  "ele #phi_{cl} - #phi_{tr}, prop from outermost, barrel",
316  "#phi_{seedcl} - #phi_{tr} (rad)",
317  "Events",
318  "ELE_LOGY E1 P");
320  "dPhiCl_propOut_mAOD_endcaps",
321  "ele #phi_{cl} - #phi_{tr}, prop from outermost, endcaps",
325  "#phi_{seedcl} - #phi_{tr} (rad)",
326  "Events",
327  "ELE_LOGY E1 P");
328 
329  // fbrem
331  iBooker, "fbrem_mAOD", "ele brem fraction, mode of GSF components", 100, 0., 1., "P_{in} - P_{out} / P_{in}");
333  "fbrem_mAOD_barrel",
334  "ele brem fraction for barrel, mode of GSF components",
335  100,
336  0.,
337  1.,
338  "P_{in} - P_{out} / P_{in}");
340  "fbrem_mAOD_endcaps",
341  "ele brem franction for endcaps, mode of GSF components",
342  100,
343  0.,
344  1.,
345  "P_{in} - P_{out} / P_{in}");
346 
347  // -- pflow over pT
349  "chargedHadronRelativeIso_mAOD",
350  "chargedHadronRelativeIso",
351  100,
352  0.0,
353  2.,
354  "chargedHadronRelativeIso",
355  "Events",
356  "ELE_LOGY E1 P");
358  "chargedHadronRelativeIso_mAOD_barrel",
359  "chargedHadronRelativeIso for barrel",
360  100,
361  0.0,
362  2.,
363  "chargedHadronRelativeIso_barrel",
364  "Events",
365  "ELE_LOGY E1 P");
367  "chargedHadronRelativeIso_mAOD_endcaps",
368  "chargedHadronRelativeIso for endcaps",
369  100,
370  0.0,
371  2.,
372  "chargedHadronRelativeIso_endcaps",
373  "Events",
374  "ELE_LOGY E1 P");
376  "neutralHadronRelativeIso_mAOD",
377  "neutralHadronRelativeIso",
378  100,
379  0.0,
380  2.,
381  "neutralHadronRelativeIso",
382  "Events",
383  "ELE_LOGY E1 P");
385  "neutralHadronRelativeIso_mAOD_barrel",
386  "neutralHadronRelativeIso for barrel",
387  100,
388  0.0,
389  2.,
390  "neutralHadronRelativeIso_barrel",
391  "Events",
392  "ELE_LOGY E1 P");
394  "neutralHadronRelativeIso_mAOD_endcaps",
395  "neutralHadronRelativeIso for endcaps",
396  100,
397  0.0,
398  2.,
399  "neutralHadronRelativeIso_endcaps",
400  "Events",
401  "ELE_LOGY E1 P");
403  "photonRelativeIso_mAOD",
404  "photonRelativeIso",
405  100,
406  0.0,
407  2.,
408  "photonRelativeIso",
409  "Events",
410  "ELE_LOGY E1 P");
412  "photonRelativeIso_mAOD_barrel",
413  "photonRelativeIso for barrel",
414  100,
415  0.0,
416  2.,
417  "photonRelativeIso_barrel",
418  "Events",
419  "ELE_LOGY E1 P");
421  "photonRelativeIso_mAOD_endcaps",
422  "photonRelativeIso for endcaps",
423  100,
424  0.0,
425  2.,
426  "photonRelativeIso_endcaps",
427  "Events",
428  "ELE_LOGY E1 P");
429 
430  // -- recomputed pflow over pT
432  "chargedHadronRelativeIso_mAOD_recomp",
433  "recomputed chargedHadronRelativeIso",
434  100,
435  0.0,
436  2.,
437  "chargedHadronRelativeIso",
438  "Events",
439  "ELE_LOGY E1 P");
441  "neutralHadronRelativeIso_mAOD_recomp",
442  "recomputed neutralHadronRelativeIso",
443  100,
444  0.0,
445  2.,
446  "neutralHadronRelativeIso",
447  "Events",
448  "ELE_LOGY E1 P");
450  "photonRelativeIso_mAOD_recomp",
451  "recomputed photonRelativeIso",
452  100,
453  0.0,
454  2.,
455  "photonRelativeIso",
456  "Events",
457  "ELE_LOGY E1 P");
458 }

References ElectronDqmAnalyzerBase::bookH1(), ElectronDqmAnalyzerBase::bookH1withSumw2(), ElectronDqmAnalyzerBase::bookH2(), ElectronDqmAnalyzerBase::bookH2withSumw2(), detamatch_max, detamatch_min, detamatch_nbin, dphimatch_max, dphimatch_min, dphimatch_nbin, eta2D_nbin, eta_max, eta_min, eta_nbin, fhits_max, fhits_nbin, h1_ele_chargedHadronRelativeIso_mAOD, h1_ele_chargedHadronRelativeIso_mAOD_barrel, h1_ele_chargedHadronRelativeIso_mAOD_endcaps, h1_ele_chargedHadronRelativeIso_mAOD_recomp, h1_ele_dEtaSc_propVtx_mAOD, h1_ele_dEtaSc_propVtx_mAOD_barrel, h1_ele_dEtaSc_propVtx_mAOD_endcaps, h1_ele_dPhiCl_propOut_mAOD, h1_ele_dPhiCl_propOut_mAOD_barrel, h1_ele_dPhiCl_propOut_mAOD_endcaps, h1_ele_fbrem_mAOD, h1_ele_fbrem_mAOD_barrel, h1_ele_fbrem_mAOD_endcaps, h1_ele_HoE_mAOD, h1_ele_HoE_mAOD_barrel, h1_ele_HoE_mAOD_endcaps, h1_ele_mee_all, h1_ele_mee_os, h1_ele_neutralHadronRelativeIso_mAOD, h1_ele_neutralHadronRelativeIso_mAOD_barrel, h1_ele_neutralHadronRelativeIso_mAOD_endcaps, h1_ele_neutralHadronRelativeIso_mAOD_recomp, h1_ele_photonRelativeIso_mAOD, h1_ele_photonRelativeIso_mAOD_barrel, h1_ele_photonRelativeIso_mAOD_endcaps, h1_ele_photonRelativeIso_mAOD_recomp, h1_ele_vertexEta, h1_ele_vertexPt, h1_ele_vertexPt_nocut, h1_recEleNum, h1_scl_SigIEtaIEta_mAOD, h1_scl_SigIEtaIEta_mAOD_barrel, h1_scl_SigIEtaIEta_mAOD_endcaps, h2_ele_foundHitsVsEta, h2_ele_foundHitsVsEta_mAOD, h2_ele_PoPtrueVsEta, h2_ele_sigmaIetaIetaVsPt, hoe_max, hoe_min, hoe_nbin, mee_max, mee_min, mee_nbin, outputInternalPath_, poptrue_max, poptrue_min, pt_max, pt_nbin, set_EfficiencyFlag, set_StatOverflowFlag, ElectronDqmAnalyzerBase::setBookEfficiencyFlag(), ElectronDqmAnalyzerBase::setBookIndex(), ElectronDqmAnalyzerBase::setBookPrefix(), ElectronDqmAnalyzerBase::setBookStatOverflowFlag(), and dqm::implementation::NavigatorBase::setCurrentFolder().

◆ isAncestor()

bool ElectronMcSignalValidatorMiniAOD::isAncestor ( const reco::Candidate ancestor,
const reco::Candidate particle 
)

Member Data Documentation

◆ deltaR2_

double ElectronMcSignalValidatorMiniAOD::deltaR2_
private

Definition at line 40 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ deltaR_

double ElectronMcSignalValidatorMiniAOD::deltaR_
private

Definition at line 40 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ deta_max

double ElectronMcSignalValidatorMiniAOD::deta_max
private

Definition at line 67 of file ElectronMcMiniAODSignalValidator.h.

◆ deta_min

double ElectronMcSignalValidatorMiniAOD::deta_min
private

Definition at line 66 of file ElectronMcMiniAODSignalValidator.h.

◆ deta_nbin

int ElectronMcSignalValidatorMiniAOD::deta_nbin
private

Definition at line 65 of file ElectronMcMiniAODSignalValidator.h.

◆ detamatch2D_nbin

int ElectronMcSignalValidatorMiniAOD::detamatch2D_nbin
private

Definition at line 69 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ detamatch_max

double ElectronMcSignalValidatorMiniAOD::detamatch_max
private

◆ detamatch_min

double ElectronMcSignalValidatorMiniAOD::detamatch_min
private

◆ detamatch_nbin

int ElectronMcSignalValidatorMiniAOD::detamatch_nbin
private

◆ dphi_max

double ElectronMcSignalValidatorMiniAOD::dphi_max
private

Definition at line 78 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ dphi_min

double ElectronMcSignalValidatorMiniAOD::dphi_min
private

Definition at line 77 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ dphi_nbin

int ElectronMcSignalValidatorMiniAOD::dphi_nbin
private

Definition at line 76 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ dphimatch2D_nbin

int ElectronMcSignalValidatorMiniAOD::dphimatch2D_nbin
private

Definition at line 80 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ dphimatch_max

double ElectronMcSignalValidatorMiniAOD::dphimatch_max
private

◆ dphimatch_min

double ElectronMcSignalValidatorMiniAOD::dphimatch_min
private

◆ dphimatch_nbin

int ElectronMcSignalValidatorMiniAOD::dphimatch_nbin
private

◆ electronToken_

edm::EDGetTokenT<pat::ElectronCollection> ElectronMcSignalValidatorMiniAOD::electronToken_
private

Definition at line 31 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ eta2D_nbin

int ElectronMcSignalValidatorMiniAOD::eta2D_nbin
private

◆ eta_max

double ElectronMcSignalValidatorMiniAOD::eta_max
private

◆ eta_min

double ElectronMcSignalValidatorMiniAOD::eta_min
private

◆ eta_nbin

int ElectronMcSignalValidatorMiniAOD::eta_nbin
private

◆ fhits_max

double ElectronMcSignalValidatorMiniAOD::fhits_max
private

◆ fhits_nbin

int ElectronMcSignalValidatorMiniAOD::fhits_nbin
private

◆ h1_ele_chargedHadronRelativeIso_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD
private

◆ h1_ele_chargedHadronRelativeIso_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD_barrel
private

◆ h1_ele_chargedHadronRelativeIso_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD_endcaps
private

◆ h1_ele_chargedHadronRelativeIso_mAOD_recomp

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD_recomp
private

◆ h1_ele_dEtaSc_propVtx_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_dEtaSc_propVtx_mAOD
private

◆ h1_ele_dEtaSc_propVtx_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_dEtaSc_propVtx_mAOD_barrel
private

◆ h1_ele_dEtaSc_propVtx_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_dEtaSc_propVtx_mAOD_endcaps
private

◆ h1_ele_dPhiCl_propOut_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_dPhiCl_propOut_mAOD
private

◆ h1_ele_dPhiCl_propOut_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_dPhiCl_propOut_mAOD_barrel
private

◆ h1_ele_dPhiCl_propOut_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_dPhiCl_propOut_mAOD_endcaps
private

◆ h1_ele_fbrem_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_fbrem_mAOD
private

◆ h1_ele_fbrem_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_fbrem_mAOD_barrel
private

◆ h1_ele_fbrem_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_fbrem_mAOD_endcaps
private

◆ h1_ele_HoE_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_HoE_mAOD
private

◆ h1_ele_HoE_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_HoE_mAOD_barrel
private

◆ h1_ele_HoE_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_HoE_mAOD_endcaps
private

◆ h1_ele_mee_all

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_mee_all
private

◆ h1_ele_mee_os

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_mee_os
private

◆ h1_ele_neutralHadronRelativeIso_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD
private

◆ h1_ele_neutralHadronRelativeIso_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD_barrel
private

◆ h1_ele_neutralHadronRelativeIso_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD_endcaps
private

◆ h1_ele_neutralHadronRelativeIso_mAOD_recomp

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD_recomp
private

◆ h1_ele_photonRelativeIso_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD
private

◆ h1_ele_photonRelativeIso_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD_barrel
private

◆ h1_ele_photonRelativeIso_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD_endcaps
private

◆ h1_ele_photonRelativeIso_mAOD_recomp

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD_recomp
private

◆ h1_ele_vertexEta

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_vertexEta
private

◆ h1_ele_vertexPt

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_vertexPt
private

◆ h1_ele_vertexPt_nocut

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_ele_vertexPt_nocut
private

◆ h1_recEleNum

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_recEleNum
private

◆ h1_scl_SigIEtaIEta_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_scl_SigIEtaIEta_mAOD
private

◆ h1_scl_SigIEtaIEta_mAOD_barrel

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_scl_SigIEtaIEta_mAOD_barrel
private

◆ h1_scl_SigIEtaIEta_mAOD_endcaps

MonitorElement* ElectronMcSignalValidatorMiniAOD::h1_scl_SigIEtaIEta_mAOD_endcaps
private

◆ h2_ele_foundHitsVsEta

MonitorElement* ElectronMcSignalValidatorMiniAOD::h2_ele_foundHitsVsEta
private

◆ h2_ele_foundHitsVsEta_mAOD

MonitorElement* ElectronMcSignalValidatorMiniAOD::h2_ele_foundHitsVsEta_mAOD
private

◆ h2_ele_PoPtrueVsEta

MonitorElement* ElectronMcSignalValidatorMiniAOD::h2_ele_PoPtrueVsEta
private

◆ h2_ele_sigmaIetaIetaVsPt

MonitorElement* ElectronMcSignalValidatorMiniAOD::h2_ele_sigmaIetaIetaVsPt
private

◆ hoe_max

double ElectronMcSignalValidatorMiniAOD::hoe_max
private

◆ hoe_min

double ElectronMcSignalValidatorMiniAOD::hoe_min
private

◆ hoe_nbin

int ElectronMcSignalValidatorMiniAOD::hoe_nbin
private

◆ matchingIDs_

std::vector<int> ElectronMcSignalValidatorMiniAOD::matchingIDs_
private

Definition at line 41 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ matchingMotherIDs_

std::vector<int> ElectronMcSignalValidatorMiniAOD::matchingMotherIDs_
private

Definition at line 42 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ maxAbsEta_

double ElectronMcSignalValidatorMiniAOD::maxAbsEta_
private

Definition at line 39 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ maxPt_

double ElectronMcSignalValidatorMiniAOD::maxPt_
private

Definition at line 38 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ mcTruthCollection_

edm::EDGetTokenT<edm::View<reco::GenParticle> > ElectronMcSignalValidatorMiniAOD::mcTruthCollection_
private

Definition at line 30 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ mee_max

double ElectronMcSignalValidatorMiniAOD::mee_max
private

◆ mee_min

double ElectronMcSignalValidatorMiniAOD::mee_min
private

◆ mee_nbin

int ElectronMcSignalValidatorMiniAOD::mee_nbin
private

◆ outputInternalPath_

std::string ElectronMcSignalValidatorMiniAOD::outputInternalPath_
private

◆ pfSumChargedHadronPtTmp_

edm::EDGetTokenT<edm::ValueMap<float> > ElectronMcSignalValidatorMiniAOD::pfSumChargedHadronPtTmp_
private

Definition at line 33 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ pfSumNeutralHadronEtTmp_

edm::EDGetTokenT<edm::ValueMap<float> > ElectronMcSignalValidatorMiniAOD::pfSumNeutralHadronEtTmp_
private

Definition at line 34 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ pfSumPhotonEtTmp_

edm::EDGetTokenT<edm::ValueMap<float> > ElectronMcSignalValidatorMiniAOD::pfSumPhotonEtTmp_
private

Definition at line 35 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidatorMiniAOD().

◆ phi2D_nbin

int ElectronMcSignalValidatorMiniAOD::phi2D_nbin
private

Definition at line 73 of file ElectronMcMiniAODSignalValidator.h.

◆ phi_max

double ElectronMcSignalValidatorMiniAOD::phi_max
private

Definition at line 75 of file ElectronMcMiniAODSignalValidator.h.

◆ phi_min

double ElectronMcSignalValidatorMiniAOD::phi_min
private

Definition at line 74 of file ElectronMcMiniAODSignalValidator.h.

◆ phi_nbin

int ElectronMcSignalValidatorMiniAOD::phi_nbin
private

Definition at line 72 of file ElectronMcMiniAODSignalValidator.h.

◆ poptrue_max

double ElectronMcSignalValidatorMiniAOD::poptrue_max
private

◆ poptrue_min

double ElectronMcSignalValidatorMiniAOD::poptrue_min
private

◆ poptrue_nbin

int ElectronMcSignalValidatorMiniAOD::poptrue_nbin
private

Definition at line 89 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ pt2D_nbin

int ElectronMcSignalValidatorMiniAOD::pt2D_nbin
private

Definition at line 56 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ pt_

float ElectronMcSignalValidatorMiniAOD::pt_
private

Definition at line 36 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze().

◆ pt_max

double ElectronMcSignalValidatorMiniAOD::pt_max
private

◆ pt_nbin

int ElectronMcSignalValidatorMiniAOD::pt_nbin
private

◆ pteff_nbin

int ElectronMcSignalValidatorMiniAOD::pteff_nbin
private

Definition at line 57 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

◆ relisoChargedHadronPt_recomp

float ElectronMcSignalValidatorMiniAOD::relisoChargedHadronPt_recomp
private

Definition at line 48 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze().

◆ relisoNeutralHadronPt_recomp

float ElectronMcSignalValidatorMiniAOD::relisoNeutralHadronPt_recomp
private

Definition at line 49 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze().

◆ relisoPhotonPt_recomp

float ElectronMcSignalValidatorMiniAOD::relisoPhotonPt_recomp
private

Definition at line 50 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze().

◆ set_EfficiencyFlag

bool ElectronMcSignalValidatorMiniAOD::set_EfficiencyFlag
private

◆ set_StatOverflowFlag

bool ElectronMcSignalValidatorMiniAOD::set_StatOverflowFlag
private

◆ sumChargedHadronPt_recomp

float ElectronMcSignalValidatorMiniAOD::sumChargedHadronPt_recomp
private

Definition at line 45 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze().

◆ sumNeutralHadronPt_recomp

float ElectronMcSignalValidatorMiniAOD::sumNeutralHadronPt_recomp
private

Definition at line 46 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze().

◆ sumPhotonPt_recomp

float ElectronMcSignalValidatorMiniAOD::sumPhotonPt_recomp
private

Definition at line 47 of file ElectronMcMiniAODSignalValidator.h.

Referenced by analyze().

◆ xyz_nbin

int ElectronMcSignalValidatorMiniAOD::xyz_nbin
private

Definition at line 54 of file ElectronMcMiniAODSignalValidator.h.

Referenced by ElectronMcSignalValidatorMiniAOD().

ElectronMcSignalValidatorMiniAOD::deltaR2_
double deltaR2_
Definition: ElectronMcMiniAODSignalValidator.h:40
ElectronMcSignalValidatorMiniAOD::pfSumNeutralHadronEtTmp_
edm::EDGetTokenT< edm::ValueMap< float > > pfSumNeutralHadronEtTmp_
Definition: ElectronMcMiniAODSignalValidator.h:34
reco::GsfElectron::isEE
bool isEE() const
Definition: GsfElectron.h:336
ElectronMcSignalValidatorMiniAOD::outputInternalPath_
std::string outputInternalPath_
Definition: ElectronMcMiniAODSignalValidator.h:43
ElectronDqmAnalyzerBase::setBookEfficiencyFlag
void setBookEfficiencyFlag(const bool &)
Definition: ElectronDqmAnalyzerBase.cc:34
mps_fire.i
i
Definition: mps_fire.py:428
ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD_endcaps
MonitorElement * h1_ele_photonRelativeIso_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:139
reco::GsfElectron::isEB
bool isEB() const
Definition: GsfElectron.h:335
ElectronDqmAnalyzerBase::bookH2withSumw2
MonitorElement * bookH2withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
Definition: ElectronDqmAnalyzerBase.cc:140
genParticles2HepMC_cfi.genParticles
genParticles
Definition: genParticles2HepMC_cfi.py:4
ElectronMcSignalValidatorMiniAOD::pt_
float pt_
Definition: ElectronMcMiniAODSignalValidator.h:36
ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD
MonitorElement * h1_ele_photonRelativeIso_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:137
ElectronMcSignalValidatorMiniAOD::relisoPhotonPt_recomp
float relisoPhotonPt_recomp
Definition: ElectronMcMiniAODSignalValidator.h:50
ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD_recomp
MonitorElement * h1_ele_photonRelativeIso_mAOD_recomp
Definition: ElectronMcMiniAODSignalValidator.h:143
ElectronMcSignalValidatorMiniAOD::eta_nbin
int eta_nbin
Definition: ElectronMcMiniAODSignalValidator.h:61
ElectronMcSignalValidatorMiniAOD::matchingMotherIDs_
std::vector< int > matchingMotherIDs_
Definition: ElectronMcMiniAODSignalValidator.h:42
ElectronDqmAnalyzerBase::ElectronDqmAnalyzerBase
ElectronDqmAnalyzerBase(const edm::ParameterSet &conf)
Definition: ElectronDqmAnalyzerBase.cc:18
ElectronMcSignalValidatorMiniAOD::h1_ele_dPhiCl_propOut_mAOD
MonitorElement * h1_ele_dPhiCl_propOut_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:122
ElectronMcSignalValidatorMiniAOD::detamatch_min
double detamatch_min
Definition: ElectronMcMiniAODSignalValidator.h:70
ElectronMcSignalValidatorMiniAOD::h1_recEleNum
MonitorElement * h1_recEleNum
Definition: ElectronMcMiniAODSignalValidator.h:97
ElectronMcSignalValidatorMiniAOD::pt_nbin
int pt_nbin
Definition: ElectronMcMiniAODSignalValidator.h:55
ElectronMcSignalValidatorMiniAOD::h1_ele_vertexPt
MonitorElement * h1_ele_vertexPt
Definition: ElectronMcMiniAODSignalValidator.h:99
ElectronMcSignalValidatorMiniAOD::sumNeutralHadronPt_recomp
float sumNeutralHadronPt_recomp
Definition: ElectronMcMiniAODSignalValidator.h:46
pat::Electron::gsfTrack
reco::GsfTrackRef gsfTrack() const override
override the reco::GsfElectron::gsfTrack method, to access the internal storage of the supercluster
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
ElectronMcSignalValidatorMiniAOD::h1_ele_fbrem_mAOD_endcaps
MonitorElement * h1_ele_fbrem_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:128
ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD
MonitorElement * h1_ele_chargedHadronRelativeIso_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:131
ElectronMcSignalValidatorMiniAOD::h1_scl_SigIEtaIEta_mAOD
MonitorElement * h1_scl_SigIEtaIEta_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:103
ElectronMcSignalValidatorMiniAOD::h1_ele_HoE_mAOD
MonitorElement * h1_ele_HoE_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:113
ElectronMcSignalValidatorMiniAOD::set_StatOverflowFlag
bool set_StatOverflowFlag
Definition: ElectronMcMiniAODSignalValidator.h:93
ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD_recomp
MonitorElement * h1_ele_chargedHadronRelativeIso_mAOD_recomp
Definition: ElectronMcMiniAODSignalValidator.h:141
ElectronMcSignalValidatorMiniAOD::detamatch_max
double detamatch_max
Definition: ElectronMcMiniAODSignalValidator.h:71
ElectronMcSignalValidatorMiniAOD::mee_nbin
int mee_nbin
Definition: ElectronMcMiniAODSignalValidator.h:83
ElectronMcSignalValidatorMiniAOD::poptrue_max
double poptrue_max
Definition: ElectronMcMiniAODSignalValidator.h:91
reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo
float deltaPhiSeedClusterTrackAtCalo() const
Definition: GsfElectron.h:236
ElectronDqmAnalyzerBase::bookH1withSumw2
MonitorElement * bookH1withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
Definition: ElectronDqmAnalyzerBase.cc:83
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
ElectronMcSignalValidatorMiniAOD::h1_ele_mee_all
MonitorElement * h1_ele_mee_all
Definition: ElectronMcMiniAODSignalValidator.h:116
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
ElectronMcSignalValidatorMiniAOD::pfSumChargedHadronPtTmp_
edm::EDGetTokenT< edm::ValueMap< float > > pfSumChargedHadronPtTmp_
Definition: ElectronMcMiniAODSignalValidator.h:33
reco::Candidate::mother
virtual const Candidate * mother(size_type i=0) const =0
return pointer to mother
ElectronMcSignalValidatorMiniAOD::sumChargedHadronPt_recomp
float sumChargedHadronPt_recomp
Definition: ElectronMcMiniAODSignalValidator.h:45
edm::Handle
Definition: AssociativeIterator.h:50
reco::GsfElectron::fbrem
float fbrem() const
Definition: GsfElectron.h:732
ElectronMcSignalValidatorMiniAOD::electronToken_
edm::EDGetTokenT< pat::ElectronCollection > electronToken_
Definition: ElectronMcMiniAODSignalValidator.h:31
ElectronMcSignalValidatorMiniAOD::dphi_nbin
int dphi_nbin
Definition: ElectronMcMiniAODSignalValidator.h:76
reco::GsfElectron::PflowIsolationVariables::sumPhotonEt
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
Definition: GsfElectron.h:609
ElectronMcSignalValidatorMiniAOD::maxPt_
double maxPt_
Definition: ElectronMcMiniAODSignalValidator.h:38
ElectronMcSignalValidatorMiniAOD_cfi.pfSumPhotonEtTmp
pfSumPhotonEtTmp
Definition: ElectronMcSignalValidatorMiniAOD_cfi.py:24
ElectronMcSignalValidatorMiniAOD::xyz_nbin
int xyz_nbin
Definition: ElectronMcMiniAODSignalValidator.h:54
ElectronMcSignalValidatorMiniAOD::deltaR_
double deltaR_
Definition: ElectronMcMiniAODSignalValidator.h:40
PVValHelper::eta
Definition: PVValidationHelpers.h:70
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD_barrel
MonitorElement * h1_ele_chargedHadronRelativeIso_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:132
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
ElectronMcSignalValidatorMiniAOD::h1_ele_dPhiCl_propOut_mAOD_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:124
ElectronMcSignalValidatorMiniAOD::h1_ele_dPhiCl_propOut_mAOD_barrel
MonitorElement * h1_ele_dPhiCl_propOut_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:123
ElectronDqmAnalyzerBase::setBookIndex
void setBookIndex(short)
Definition: ElectronDqmAnalyzerBase.cc:32
ElectronDqmAnalyzerBase::bookH2
MonitorElement * bookH2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
Definition: ElectronDqmAnalyzerBase.cc:111
ElectronMcSignalValidatorMiniAOD::relisoChargedHadronPt_recomp
float relisoChargedHadronPt_recomp
Definition: ElectronMcMiniAODSignalValidator.h:48
ElectronMcSignalValidatorMiniAOD::set_EfficiencyFlag
bool set_EfficiencyFlag
Definition: ElectronMcMiniAODSignalValidator.h:92
reco::Candidate::numberOfDaughters
virtual size_type numberOfDaughters() const =0
number of daughters
ElectronMcSignalValidatorMiniAOD::poptrue_nbin
int poptrue_nbin
Definition: ElectronMcMiniAODSignalValidator.h:89
ElectronMcSignalValidatorMiniAOD::fhits_nbin
int fhits_nbin
Definition: ElectronMcMiniAODSignalValidator.h:59
ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD
MonitorElement * h1_ele_neutralHadronRelativeIso_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:134
ElectronMcSignalValidatorMiniAOD::detamatch_nbin
int detamatch_nbin
Definition: ElectronMcMiniAODSignalValidator.h:68
ElectronMcSignalValidatorMiniAOD::h2_ele_PoPtrueVsEta
MonitorElement * h2_ele_PoPtrueVsEta
Definition: ElectronMcMiniAODSignalValidator.h:110
ElectronMcSignalValidatorMiniAOD::poptrue_min
double poptrue_min
Definition: ElectronMcMiniAODSignalValidator.h:90
ElectronMcSignalValidatorMiniAOD::hoe_min
double hoe_min
Definition: ElectronMcMiniAODSignalValidator.h:87
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ElectronMcSignalValidatorMiniAOD_cfi.pfSumChargedHadronPtTmp
pfSumChargedHadronPtTmp
Definition: ElectronMcSignalValidatorMiniAOD_cfi.py:22
ElectronMcSignalValidatorMiniAOD::dphimatch_min
double dphimatch_min
Definition: ElectronMcMiniAODSignalValidator.h:81
ElectronMcSignalValidatorMiniAOD::h1_ele_mee_os
MonitorElement * h1_ele_mee_os
Definition: ElectronMcMiniAODSignalValidator.h:117
ElectronMcSignalValidatorMiniAOD::hoe_max
double hoe_max
Definition: ElectronMcMiniAODSignalValidator.h:88
ElectronMcSignalValidatorMiniAOD::dphimatch_nbin
int dphimatch_nbin
Definition: ElectronMcMiniAODSignalValidator.h:79
edm::ParameterSet
Definition: ParameterSet.h:47
ElectronMcSignalValidatorMiniAOD::pt_max
double pt_max
Definition: ElectronMcMiniAODSignalValidator.h:58
reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx
float deltaEtaSuperClusterTrackAtVtx() const
Definition: GsfElectron.h:232
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
ElectronMcSignalValidatorMiniAOD::h1_ele_dEtaSc_propVtx_mAOD_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:121
ElectronMcSignalValidatorMiniAOD::h2_ele_foundHitsVsEta_mAOD
MonitorElement * h2_ele_foundHitsVsEta_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:108
ElectronMcSignalValidatorMiniAOD::h2_ele_foundHitsVsEta
MonitorElement * h2_ele_foundHitsVsEta
Definition: ElectronMcMiniAODSignalValidator.h:107
ElectronMcSignalValidatorMiniAOD::h1_ele_dEtaSc_propVtx_mAOD_barrel
MonitorElement * h1_ele_dEtaSc_propVtx_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:120
ElectronMcSignalValidatorMiniAOD::h1_ele_vertexEta
MonitorElement * h1_ele_vertexEta
Definition: ElectronMcMiniAODSignalValidator.h:100
ElectronMcSignalValidatorMiniAOD::eta_min
double eta_min
Definition: ElectronMcMiniAODSignalValidator.h:63
iEvent
int iEvent
Definition: GenABIO.cc:224
ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD_recomp
MonitorElement * h1_ele_neutralHadronRelativeIso_mAOD_recomp
Definition: ElectronMcMiniAODSignalValidator.h:142
ElectronDqmAnalyzerBase::bookH1
MonitorElement * bookH1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
Definition: ElectronDqmAnalyzerBase.cc:57
ElectronMcSignalValidatorMiniAOD::maxAbsEta_
double maxAbsEta_
Definition: ElectronMcMiniAODSignalValidator.h:39
ElectronMcSignalValidatorMiniAOD_cfi.pfSumNeutralHadronEtTmp
pfSumNeutralHadronEtTmp
Definition: ElectronMcSignalValidatorMiniAOD_cfi.py:23
ElectronMcSignalValidatorMiniAOD::eta2D_nbin
int eta2D_nbin
Definition: ElectronMcMiniAODSignalValidator.h:62
ElectronMcSignalValidatorMiniAOD::mee_min
double mee_min
Definition: ElectronMcMiniAODSignalValidator.h:84
EgammaValidation_cff.pdgId
pdgId
Definition: EgammaValidation_cff.py:118
ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD_endcaps
MonitorElement * h1_ele_neutralHadronRelativeIso_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:136
ElectronDqmAnalyzerBase::setBookStatOverflowFlag
void setBookStatOverflowFlag(const bool &)
Definition: ElectronDqmAnalyzerBase.cc:36
ElectronMcSignalValidatorMiniAOD::mcTruthCollection_
edm::EDGetTokenT< edm::View< reco::GenParticle > > mcTruthCollection_
Definition: ElectronMcMiniAODSignalValidator.h:30
ElectronMcSignalValidatorMiniAOD::h1_ele_photonRelativeIso_mAOD_barrel
MonitorElement * h1_ele_photonRelativeIso_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:138
reco::Candidate::pdgId
virtual int pdgId() const =0
PDG identifier.
reco::GsfElectron::p4
const LorentzVector & p4(P4Kind kind) const
Definition: GsfElectron.cc:211
reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
Definition: GsfElectron.h:608
reco::GsfElectron::hcalOverEcal
float hcalOverEcal() const
Definition: GsfElectron.h:426
edm::Ptr< pat::Electron >
reco::Candidate
Definition: Candidate.h:27
ElectronMcSignalValidatorMiniAOD::h1_ele_chargedHadronRelativeIso_mAOD_endcaps
MonitorElement * h1_ele_chargedHadronRelativeIso_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:133
ElectronMcSignalValidatorMiniAOD::sumPhotonPt_recomp
float sumPhotonPt_recomp
Definition: ElectronMcMiniAODSignalValidator.h:47
ElectronMcSignalValidatorMiniAOD::h1_ele_fbrem_mAOD
MonitorElement * h1_ele_fbrem_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:126
ElectronMcSignalValidatorMiniAOD::h1_scl_SigIEtaIEta_mAOD_endcaps
MonitorElement * h1_scl_SigIEtaIEta_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:105
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
ElectronMcSignalValidatorMiniAOD::dphimatch2D_nbin
int dphimatch2D_nbin
Definition: ElectronMcMiniAODSignalValidator.h:80
pwdgSkimBPark_cfi.electrons
electrons
Definition: pwdgSkimBPark_cfi.py:6
ElectronMcSignalValidatorMiniAOD::h1_ele_HoE_mAOD_barrel
MonitorElement * h1_ele_HoE_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:114
HLTMuonOfflineAnalyzer_cfi.deltaR2
deltaR2
Definition: HLTMuonOfflineAnalyzer_cfi.py:105
ElectronMcSignalValidatorMiniAOD::h1_ele_HoE_mAOD_endcaps
MonitorElement * h1_ele_HoE_mAOD_endcaps
Definition: ElectronMcMiniAODSignalValidator.h:115
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
ElectronMcSignalValidatorMiniAOD::relisoNeutralHadronPt_recomp
float relisoNeutralHadronPt_recomp
Definition: ElectronMcMiniAODSignalValidator.h:49
ElectronMcSignalValidatorMiniAOD::dphimatch_max
double dphimatch_max
Definition: ElectronMcMiniAODSignalValidator.h:82
ElectronMcSignalValidatorMiniAOD::detamatch2D_nbin
int detamatch2D_nbin
Definition: ElectronMcMiniAODSignalValidator.h:69
ElectronMcSignalValidatorMiniAOD::fhits_max
double fhits_max
Definition: ElectronMcMiniAODSignalValidator.h:60
ElectronMcSignalValidatorMiniAOD::mee_max
double mee_max
Definition: ElectronMcMiniAODSignalValidator.h:85
reco::LeafCandidate::p
double p() const final
magnitude of momentum vector
Definition: LeafCandidate.h:123
ElectronMcSignalValidatorMiniAOD::pteff_nbin
int pteff_nbin
Definition: ElectronMcMiniAODSignalValidator.h:57
ElectronMcSignalValidatorMiniAOD::hoe_nbin
int hoe_nbin
Definition: ElectronMcMiniAODSignalValidator.h:86
ElectronMcSignalValidatorMiniAOD::h1_ele_fbrem_mAOD_barrel
MonitorElement * h1_ele_fbrem_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:127
ElectronMcSignalValidatorMiniAOD::pfSumPhotonEtTmp_
edm::EDGetTokenT< edm::ValueMap< float > > pfSumPhotonEtTmp_
Definition: ElectronMcMiniAODSignalValidator.h:35
ElectronMcSignalValidatorMiniAOD::eta_max
double eta_max
Definition: ElectronMcMiniAODSignalValidator.h:64
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
ElectronMcSignalValidatorMiniAOD::h1_scl_SigIEtaIEta_mAOD_barrel
MonitorElement * h1_scl_SigIEtaIEta_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:104
ElectronMcSignalValidatorMiniAOD::pt2D_nbin
int pt2D_nbin
Definition: ElectronMcMiniAODSignalValidator.h:56
ElectronMcSignalValidatorMiniAOD::dphi_min
double dphi_min
Definition: ElectronMcMiniAODSignalValidator.h:77
pi
const Double_t pi
Definition: trackSplitPlot.h:36
pat::Electron
Analysis-level electron class.
Definition: Electron.h:51
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
reco::GsfElectron::pfIsolationVariables
const PflowIsolationVariables & pfIsolationVariables() const
Definition: GsfElectron.h:657
ElectronDqmAnalyzerBase::setBookPrefix
void setBookPrefix(const std::string &)
Definition: ElectronDqmAnalyzerBase.cc:30
reco::GsfElectron::scSigmaIEtaIEta
float scSigmaIEtaIEta() const
Definition: GsfElectron.h:471
ElectronMcSignalValidatorMiniAOD::matchingIDs_
std::vector< int > matchingIDs_
Definition: ElectronMcMiniAODSignalValidator.h:41
cuy.ii
ii
Definition: cuy.py:590
edm::InputTag
Definition: InputTag.h:15
ElectronMcSignalValidatorMiniAOD::h1_ele_vertexPt_nocut
MonitorElement * h1_ele_vertexPt_nocut
Definition: ElectronMcMiniAODSignalValidator.h:101
ElectronMcSignalValidatorMiniAOD::h2_ele_sigmaIetaIetaVsPt
MonitorElement * h2_ele_sigmaIetaIetaVsPt
Definition: ElectronMcMiniAODSignalValidator.h:111
ElectronMcSignalValidatorMiniAOD::h1_ele_dEtaSc_propVtx_mAOD
MonitorElement * h1_ele_dEtaSc_propVtx_mAOD
Definition: ElectronMcMiniAODSignalValidator.h:119
reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
Definition: GsfElectron.h:607
ElectronMcSignalValidatorMiniAOD::h1_ele_neutralHadronRelativeIso_mAOD_barrel
MonitorElement * h1_ele_neutralHadronRelativeIso_mAOD_barrel
Definition: ElectronMcMiniAODSignalValidator.h:135
ElectronMcSignalValidatorMiniAOD::dphi_max
double dphi_max
Definition: ElectronMcMiniAODSignalValidator.h:78