CMS 3D CMS Logo

PFClusterValidation.h
Go to the documentation of this file.
1 #ifndef PFClusterValidation_h
2 #define PFClusterValidation_h
3 
14 
18 
21 
22 // including PFCluster
27 
29 
31 
39 
40 // end include PFCluster
41 #include <vector>
42 #include <utility>
43 #include <iostream>
44 #include <string>
45 #include <algorithm>
46 #include <cmath>
49 
51 public:
53  ~PFClusterValidation() override;
54  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
55  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
56 
57 private:
58  double dR(double eta1, double phi1, double eta2, double phi2);
61  //std::string mc_;
62  bool mc_;
63 
65 
71 
72  int imc;
73 
74  // this acts throught the entire class
75  // no reinitialization required
76  const double partR = 0.3; // dr cutoff
77  double eta_MC, phi_MC, energy_MC = 9999.;
78 
79  //************Modules
80 
84 
89 
93 
97 
101 
105 
109 
112 
123 
125 };
126 
127 #endif
double dR(double eta1, double phi1, double eta2, double phi2)
void analyze(edm::Event const &e, edm::EventSetup const &c) override
PFClusterValidation(edm::ParameterSet const &conf)
MonitorElement * Ratio_Esummed_HO_0
MonitorElement * Ratio_Esummed_ECAL_HCAL_HO_2
MonitorElement * Ratio_Esummed_ECAL_HCAL_1
MonitorElement * Ratio_Esummed_ECAL_2
MonitorElement * Ratio_Esummed_HCAL_1
MonitorElement * Ratio_Esummed_ECAL_HCAL_HO_4
MonitorElement * Ratio_Esummed_ECAL_HCAL_4
MonitorElement * emean_vs_eta_EHFO
MonitorElement * Ratio_Esummed_ECAL_HCAL_HO_0
RhoEtaPhiVectorD RhoEtaPhiVector
spatial vector with cylindrical internal representation using pseudorapidity
Definition: Vector3D.h:33
MonitorElement * Ratio_Esummed_HCAL_0
MonitorElement * Ratio_Esummed_HF_6
MonitorElement * Ratio_Esummed_ECAL_4
MonitorElement * Ratio_Esummed_ECAL_HCAL_0
MonitorElement * emean_vs_eta_HO
MonitorElement * emean_vs_eta_HF
edm::EDGetTokenT< reco::PFClusterCollection > PFClusterHOTok_
edm::EDGetTokenT< reco::PFClusterCollection > PFClusterHCALTok_
MonitorElement * Ratio_Esummed_HF_5
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Ratio_Esummed_HCAL_2
math::RhoEtaPhiVector Vector
MonitorElement * Ratio_Esummed_HO_1
MonitorElement * Ratio_Esummed_ECAL_HCAL_2
edm::EDGetTokenT< edm::HepMCProduct > tok_evt_
MonitorElement * Ratio_Esummed_HO_2
MonitorElement * Ratio_Esummed_ECAL_HCAL_HO_3
MonitorElement * Ratio_Esummed_ECAL_1
MonitorElement * emean_vs_eta_EH
edm::EDGetTokenT< reco::PFClusterCollection > PFClusterHFTok_
MonitorElement * Ratio_Esummed_HCAL_4
edm::EDGetTokenT< reco::PFClusterCollection > PFClusterECALTok_
MonitorElement * Ratio_Esummed_HO_3
MonitorElement * Ratio_Esummed_HCAL_3
MonitorElement * Ratio_Esummed_HO_4
double sumEnergy(edm::Handle< reco::PFClusterCollection > pfCluster1)
MonitorElement * emean_vs_eta_H
MonitorElement * Ratio_Esummed_ECAL_HCAL_3
MonitorElement * Egen_MC
MonitorElement * Ratio_Esummed_ECAL_HCAL_HO_1
MonitorElement * emean_vs_eta_E
MonitorElement * emean_vs_eta_EHF
Definition: Run.h:45
MonitorElement * Ratio_Esummed_ECAL_0
MonitorElement * Ratio_Esummed_ECAL_3