CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronMcSignalValidator.h
Go to the documentation of this file.
1 
2 #ifndef Validation_RecoEgamma_ElectronMcSignalValidator_h
3 #define Validation_RecoEgamma_ElectronMcSignalValidator_h
4 
6 //#include "Validation/RecoEgamma/interface/ElectronValidator.h"
7 
9 class MagneticField;
10 
14 
18 
19 namespace reco {class BeamSpot;}
20 
22  {
23  public:
24 
26  virtual ~ElectronMcSignalValidator() ;
27  virtual void book() ;
28  virtual void analyze( const edm::Event& e, const edm::EventSetup & c ) ;
29 
30  private:
31 
38  bool readAOD_;
39  //std::string outputFile_ ;
40 
49 
52 
53  float mcEnergy[10], mcEta[10], mcPhi[10], mcPt[10], mcQ[10] ;
55  float seedMomentum[10], seedEta[10], seedPhi[10], seedPt[10], seedQ[10] ;
56 
57  double maxPt_;
58  double maxAbsEta_;
59  double deltaR_;
60  std::vector<int> matchingIDs_;
61  std::vector<int> matchingMotherIDs_;
62 
63  // histos limits and binning
64 
65  int xyz_nbin ;
66  int p_nbin ; int p2D_nbin ; double p_max ;
67  int pt_nbin ; int pt2D_nbin ; int pteff_nbin ; double pt_max ;
68  int fhits_nbin ; double fhits_max ;
69  int lhits_nbin ; double lhits_max ;
70  int eta_nbin ; int eta2D_nbin ; double eta_min ; double eta_max ;
71  int deta_nbin ; double deta_min ; double deta_max ;
73  int phi_nbin ; int phi2D_nbin ; double phi_min ; double phi_max ;
74  int dphi_nbin ; double dphi_min ; double dphi_max ;
76  int eop_nbin ; int eop2D_nbin ; double eop_max ; double eopmaxsht ;
77  int mee_nbin ; double mee_min ; double mee_max ;
78  int hoe_nbin ; double hoe_min ; double hoe_max ;
79  int poptrue_nbin ; double poptrue_min ; double poptrue_max ;
80  int error_nbin ; double enerror_max ;
81 
82  // histos
83 
87 
92 
100 
107 
114 
157 
160 
188 
214 
216 
247 
270 
305 
350 
405 
423 
429 
443 
450 
463 
471 
472  // pflow isolation
482  // -- pflow over pT
492 
493  // isolation
518 
527 
534 
547 
548  // conversions
557 
558  } ;
559 
560 #endif
561 
562 
563 
MonitorElement * h1_ele_dIso_hcalTowerSumEt_dr03
MonitorElement * h1_ele_ecalEnergyError_endcaps
MonitorElement * h1_scl_EoEtrue_endcaps_ringgap
MonitorElement * h1_ele_dPhiCl_propOut_eg_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_barrel
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_barrel
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_endcaps
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull04Tag_
edm::EDGetTokenT< reco::GsfElectronCollection > electronCollection_
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2
MonitorElement * h1_scl_EoEtrue_endcaps_new_eg
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk03Tag_
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * h1_ele_hcalDepth1OverEcalBc_barrel
MonitorElement * h1_ele_neutralHadronRelativeIso_endcaps
MonitorElement * h1_ele_neutralHadronRelativeIso_barrel
MonitorElement * h1_ele_dPhiEleCl_propOut_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2_endcaps
MonitorElement * h2_ele_dEtaEleClVsEta_propOut
edm::EDGetTokenT< reco::GenParticleCollection > mcTruthCollection_
MonitorElement * h1_ele_dEtaSc_propVtx_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_all_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_all_endcaps
MonitorElement * h1_ele_dIso_ecalReducedRecHitSumEt_dr03
MonitorElement * h1_ele_dIso_ecalFullRecHitSumEt_dr04
MonitorElement * h1_ele_chargedHadronRelativeIso
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps
MonitorElement * h1_ele_dEtaCl_propOut_eg_barrel
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal04Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced03Tag_
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1
MonitorElement * h2_ele_PtinVsPtoutShowering_mode
MonitorElement * h1_ele_PoPtrue_showering_barrel
MonitorElement * h1_ele_hcalDepth2OverEcalBc_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_endcaps
edm::ESHandle< MagneticField > theMagField
MonitorElement * h1_ele_chargedHadronIso_endcaps
MonitorElement * h2_ele_dPhiEleClVsPhi_propOut
MonitorElement * h1_ele_neutralHadronIso_endcaps
MonitorElement * h2_ele_PtinVsPtoutGolden_mean
MonitorElement * h2_ele_dEtaEleClVsPhi_propOut
MonitorElement * h1_ele_dPhiSc_propVtx_all_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1
edm::EDGetTokenT< reco::GsfElectronCoreCollection > electronCoreCollection_
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel
MonitorElement * h1_ele_dIso_hcalTowerSumEt_dr04
MonitorElement * h1_ele_PoPtrue_showering_endcaps
MonitorElement * h1_ele_hcalDepth2OverEcalBc_endcaps
MonitorElement * h1_ele_chargedHadronRelativeIso_endcaps
MonitorElement * h2_ele_PtinVsPtoutGolden_mode
MonitorElement * h1_ele_neutralHadronIso_barrel
edm::ESHandle< TrackerGeometry > pDD
MonitorElement * h1_ele_dEtaEleCl_propOut_endcaps
MonitorElement * h1_ele_dPhiSc_propVtx_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_eg_endcaps
MonitorElement * h1_ele_dPhiSc_propVtx_eg_barrel
MonitorElement * h2_ele_dPhiEleClVsEta_propOut
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps
MonitorElement * h1_scl_EoEtrueShowering_endcaps
MonitorElement * h1_ele_hcalDepth1OverEcalBc_endcaps
MonitorElement * h1_ele_chargedHadronIso_barrel
MonitorElement * h1_ele_dEtaSc_propVtx_all_barrel
MonitorElement * h1_ele_ecalEnergyError_barrel
MonitorElement * h1_ele_dPhiSc_propVtx_eg_endcaps
edm::EDGetTokenT< reco::GsfTrackCollection > electronTrackCollection_
MonitorElement * h1_ele_neutralHadronRelativeIso
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1
MonitorElement * h1_ele_combinedP4Error_barrel
MonitorElement * h1_ele_dIso_ecalReducedRecHitSumEt_dr04
MonitorElement * h1_ele_dPhiSc_propVtx_all_barrel
tuple conf
Definition: dbtoconf.py:185
MonitorElement * h1_ele_dEtaCl_propOut_eg_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1
MonitorElement * h1_scl_EoEtrueShowering_barrel
MonitorElement * h1_ele_dPhiEleCl_propOut_barrel
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk04Tag_
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel
MonitorElement * h1_scl_EoEtrue_barrel_new_etagap
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2
MonitorElement * h1_ele_dPhiEleCl_propOut_eg_barrel
MonitorElement * h1_ele_photonRelativeIso_endcaps
MonitorElement * h1_ele_dEtaCl_propOut_endcaps
ElectronMcSignalValidator(const edm::ParameterSet &conf)
MonitorElement * h2_ele_PinVsPoutShowering_mean
MonitorElement * h1_scl_SigIEtaIEta_eg_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel
MonitorElement * h1_ele_dPhiCl_propOut_all_barrel
MonitorElement * h1_ele_dEtaCl_propOut_all_barrel
MonitorElement * h1_ele_dEtaEleCl_propOut_eg_barrel
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull03Tag_
MonitorElement * h1_ele_dIso_ecalFullRecHitSumEt_dr03
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2_barrel
MonitorElement * h1_ele_dEtaEleCl_propOut_eg_endcaps
MonitorElement * h1_ele_combinedP4Error_endcaps
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_barrel
MonitorElement * h1_scl_EoEtrue_endcaps_new_deegap
MonitorElement * h2_ele_PinVsPoutShowering_mode
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2_endcaps
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_endcaps
MonitorElement * h1_ele_dEtaCl_propOut_all_endcaps
MonitorElement * h1_ele_chargedHadronRelativeIso_barrel
MonitorElement * h1_ele_photonRelativeIso_barrel
MonitorElement * h1_ele_dPhiEleCl_propOut_eg_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps
MonitorElement * h1_scl_EoEtrue_barrel_new_phigap
MonitorElement * h2_ele_PtinVsPtoutShowering_mean
MonitorElement * h1_scl_EoEtrue_endcaps_new_ringgap
MonitorElement * h1_scl_EoEtrue_endcaps_deegap
MonitorElement * h1_ele_dEtaEleCl_propOut_barrel
edm::EDGetTokenT< reco::ElectronSeedCollection > electronSeedCollection_
MonitorElement * h1_ele_dEtaSc_propVtx_eg_barrel
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced04Tag_
MonitorElement * h1_ele_dPhiCl_propOut_endcaps
MonitorElement * h1_ele_PoPtrue_golden_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_eg_endcaps
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal03Tag_
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2_barrel