CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSimHitsValidation.h
Go to the documentation of this file.
1 #ifndef HcalSimHitsValidation_H
2 #define HcalSimHitsValidation_H
3 
14 
16 
19 
23 
29 
32 
33 #include <vector>
34 #include <utility>
35 #include <ostream>
36 #include <string>
37 #include <algorithm>
38 #include <cmath>
40 
41 
43 
44 public:
47  virtual void analyze(edm::Event const& ev, edm::EventSetup const& c);
48  virtual void beginJob() ;
49  virtual void endJob() ;
50 
51 private:
52 
53  double dR(double eta1, double phi1, double eta2, double phi2);
54  double phi12(double phi1, double en1, double phi2, double en2);
55  double dPhiWsign(double phi1,double phi2);
56 
58 
60 
61  // Hits counters
66 
67  // In ALL other cases : 2D ieta-iphi maps
68  // without and with cuts (a la "Scheme B") on energy
69  // - only in the cone around particle for single-part samples (mc = "yes")
70  // - for all calls in milti-particle samples (mc = "no")
71 
80 
89 
90  // for single monoenergetic particles - cone collection profile vs ieta.
94 
95  // energy of rechits
100 
102 
103  // counter
104  int nevtot;
105 
106 };
107 
108 #endif
MonitorElement * meEnConeEtaProfile
MonitorElement * meSimHitsEnergyHE
double dR(double eta1, double phi1, double eta2, double phi2)
double phi12(double phi1, double en1, double phi2, double en2)
MonitorElement * meSimHitsEnergyHO
MonitorElement * emean_vs_ieta_HE1
MonitorElement * meEnConeEtaProfile_E
MonitorElement * occupancy_vs_ieta_HB2
MonitorElement * occupancy_vs_ieta_HE2
MonitorElement * meSimHitsEnergyHF
MonitorElement * emean_vs_ieta_HO
MonitorElement * occupancy_vs_ieta_HE3
double dPhiWsign(double phi1, double phi2)
MonitorElement * emean_vs_ieta_HE2
tuple conf
Definition: dbtoconf.py:185
HcalSimHitsValidation(edm::ParameterSet const &conf)
MonitorElement * emean_vs_ieta_HE3
MonitorElement * emean_vs_ieta_HF1
MonitorElement * occupancy_vs_ieta_HB1
MonitorElement * emean_vs_ieta_HF2
MonitorElement * meEnConeEtaProfile_EH
MonitorElement * emean_vs_ieta_HB1
MonitorElement * occupancy_vs_ieta_HF2
MonitorElement * occupancy_vs_ieta_HO
edm::ESHandle< CaloGeometry > geometry
MonitorElement * meSimHitsEnergyHB
virtual void analyze(edm::Event const &ev, edm::EventSetup const &c)
MonitorElement * emean_vs_ieta_HB2
MonitorElement * occupancy_vs_ieta_HF1
MonitorElement * occupancy_vs_ieta_HE1