CMS 3D CMS Logo

ElectronMcMiniAODSignalValidator.h
Go to the documentation of this file.
1 #ifndef Validation_RecoEgamma_ElectronMcSignalValidatorMiniAOD_h
2 #define Validation_RecoEgamma_ElectronMcSignalValidatorMiniAOD_h
3 
5 
6 // system include files
7 //#include <memory>
8 
9 // user include files
11 
13 
14 // user include files
15 
16 //
17 // class declaration
18 //
20  public:
23  bool isAncestor(const reco::Candidate * ancestor, const reco::Candidate * particle);
24 
25  private:
26  void bookHistograms( DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override ;
27  void analyze(const edm::Event&, const edm::EventSetup&) override;
28 
29  // ----------member data ---------------------------
32 
36  float pt_;
37 
38  double maxPt_;
39  double maxAbsEta_;
40  double deltaR_, deltaR2_;
41  std::vector<int> matchingIDs_;
42  std::vector<int> matchingMotherIDs_;
44 
51 
52  // histos limits and binning
53 
54  int xyz_nbin ;
55  int pt_nbin ; int pt2D_nbin ; int pteff_nbin ; double pt_max ;
56  int fhits_nbin ; double fhits_max ;
57  int eta_nbin ; int eta2D_nbin ; double eta_min ; double eta_max ;
58  int deta_nbin ; double deta_min ; double deta_max ;
60  int phi_nbin ; int phi2D_nbin ; double phi_min ; double phi_max ;
61  int dphi_nbin ; double dphi_min ; double dphi_max ;
63  int mee_nbin ; double mee_min ; double mee_max ;
64  int hoe_nbin ; double hoe_min ; double hoe_max ;
65  int poptrue_nbin ; double poptrue_min ; double poptrue_max ;
67 
68  // histos
69 
71 
75 
79 
82 
85 
91 
98 
102 
103  // -- pflow over pT
113 
117 };
118 
119 #endif
edm::EDGetTokenT< edm::ValueMap< float > > pfSumPhotonEtTmp_
bool isAncestor(const reco::Candidate *ancestor, const reco::Candidate *particle)
edm::EDGetTokenT< edm::ValueMap< float > > pfSumNeutralHadronEtTmp_
ElectronMcSignalValidatorMiniAOD(const edm::ParameterSet &)
edm::EDGetTokenT< edm::View< reco::GenParticle > > mcTruthCollection_
void analyze(const edm::Event &, const edm::EventSetup &) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< pat::ElectronCollection > electronToken_
edm::EDGetTokenT< edm::ValueMap< float > > pfSumChargedHadronPtTmp_
Definition: Run.h:43