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 
48  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const & );
49 
50  virtual void analyze(edm::Event const& ev, edm::EventSetup const& c);
51  virtual void endJob() ;
52 
53 private:
54 
55  double dR(double eta1, double phi1, double eta2, double phi2);
56  double phi12(double phi1, double en1, double phi2, double en2);
57  double dPhiWsign(double phi1,double phi2);
58 
60 
65 
66 
67  // Hits counters
72 
73  // In ALL other cases : 2D ieta-iphi maps
74  // without and with cuts (a la "Scheme B") on energy
75  // - only in the cone around particle for single-part samples (mc = "yes")
76  // - for all calls in milti-particle samples (mc = "no")
77 
86 
95 
96  // for single monoenergetic particles - cone collection profile vs ieta.
100 
101  // energy of rechits
106 
108 
109  // counter
110  int nevtot;
111 
112 };
113 
114 #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
bool ev
MonitorElement * emean_vs_ieta_HE1
edm::EDGetTokenT< edm::PCaloHitContainer > tok_ecalEB_
MonitorElement * meEnConeEtaProfile_E
MonitorElement * occupancy_vs_ieta_HB2
MonitorElement * occupancy_vs_ieta_HE2
edm::EDGetTokenT< edm::PCaloHitContainer > tok_ecalEE_
MonitorElement * meSimHitsEnergyHF
MonitorElement * emean_vs_ieta_HO
MonitorElement * occupancy_vs_ieta_HE3
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hcal_
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
edm::EDGetTokenT< edm::HepMCProduct > tok_evt_
virtual void analyze(edm::Event const &ev, edm::EventSetup const &c)
MonitorElement * emean_vs_ieta_HB2
MonitorElement * occupancy_vs_ieta_HF1
Definition: Run.h:41
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
MonitorElement * occupancy_vs_ieta_HE1