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 15 of file ElectronMcMiniAODSignalValidator.cc.

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

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 137 of file ElectronMcMiniAODSignalValidator.cc.

137 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from ElectronDqmAnalyzerBase.

Definition at line 459 of file ElectronMcMiniAODSignalValidator.cc.

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

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 139 of file ElectronMcMiniAODSignalValidator.cc.

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

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:337
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:336
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:237
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:734
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:610
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:69
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:233
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:609
reco::GsfElectron::hcalOverEcal
float hcalOverEcal() const
Definition: GsfElectron.h:427
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:658
ElectronDqmAnalyzerBase::setBookPrefix
void setBookPrefix(const std::string &)
Definition: ElectronDqmAnalyzerBase.cc:30
reco::GsfElectron::scSigmaIEtaIEta
float scSigmaIEtaIEta() const
Definition: GsfElectron.h:472
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:608
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