CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTAlCaMonPi0.h
Go to the documentation of this file.
1 #ifndef HLTAlCaMonPi0_H
2 #define HLTAlCaMonPi0_H
3 
8 
11 
12 // Geometry
23 
24 typedef std::map<DetId, EcalRecHit> RecHitsMap;
25 // Less than operator for sorting EcalRecHits according to energy.
26 class ecalRecHitLess : public std::binary_function<EcalRecHit, EcalRecHit, bool>
27 {
28 public:
30  {
31  return (x.energy() > y.energy());
32  }
33 };
34 
35 
36 
37 
38 class DQMStore;
39 class MonitorElement;
40 
42 
43 public:
44 
47 
48 protected:
49 
50  void beginJob();
51 
52  void beginRun(const edm::Run& r, const edm::EventSetup& c);
53 
54  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
55 
56  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
57  const edm::EventSetup& context) ;
58 
59  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
60  const edm::EventSetup& c);
61 
62  void endRun(const edm::Run& r, const edm::EventSetup& c);
63 
64  void endJob();
65 
66  void convxtalid(int & , int &);
67  int diff_neta_s(int,int);
68  int diff_nphi_s(int,int);
69 
70 
71 
72 private:
73 
74 
78 
81 
84 
87 
90 
93 
96 
99 
102 
105 
108 
111 
114 
117 
120 
123 
126 
129 
132 
135 
138 
141 
144 
147 
150 
153 
156 
159 
162 
165 
168 
171 
174 
175 
178 
181 
184 
187 
188 
191 
194 
197 
200 
203 
206 
209 
212 
215 
218 
221 
224 
227 
230 
233 
236 
237 
238 
239 
243 
247 
250 
253 
254  double clusSeedThr_;
257 
259 
261  double selePtGamma_;
262  double selePtPi0_;
268  double selePi0Iso_;
270 
281 
284  double selePtEta_;
290  double seleEtaIso_;
291  double seleEtaBeltDR_;
293 
305 
306 
308  double ParameterX0_;
312  double ParameterW0_;
313 
314 
315 
316  std::vector<EBDetId> detIdEBRecHits;
317  std::vector<EcalRecHit> EBRecHits;
318 
319 
320  std::vector<EEDetId> detIdEERecHits;
321  std::vector<EcalRecHit> EERecHits;
322 
323 
324 
326  unsigned int prescaleFactor_;
327 
330 
333 
339 
342 };
343 
344 #endif
345 
DQMStore * dbe_
Definition: HLTAlCaMonPi0.h:75
double selePi0BeltDREndCap_
MonitorElement * hMinvPi0EE_
Pi0 invariant mass in EE.
MonitorElement * hMinvEtaEE_
Eta invariant mass in EE.
double ParameterT0_endcPresh_
double selePtGammaEndCap_
for pi0-&gt;gg endcap
MonitorElement * hEventEnergyEEpi0_
Distribution of total event energy EE (pi0)
MonitorElement * hPt1EtaEE_
Pt of the 1st most energetic Eta photon in EE.
double seleEtaIso_
void analyze(const edm::Event &e, const edm::EventSetup &c)
double ptMinForIsolation_
MonitorElement * hRechitEnergyEBpi0_
Energy Distribution of rechits EB (pi0)
MonitorElement * hiXDistrEEeta_
Distribution of rechits in ix EE (eta)
Definition: HLTAlCaMonPi0.h:89
MonitorElement * hEventEnergyEBeta_
Distribution of total event energy EB (eta)
std::vector< EEDetId > detIdEERecHits
double ParameterX0_
MonitorElement * hIsoPi0EB_
Pi0 Iso EB.
MonitorElement * hS4S92EtaEE_
S4S9 of the 2nd most energetic eta photon EE.
double seleMinvMinPi0EndCap_
MonitorElement * hMeanRecHitEnergyEEpi0_
Distribution of Mean energy per rechit EE (pi0)
double seleS9S25GammaEta_
MonitorElement * hPt1Pi0EE_
Pt of the 1st most energetic Pi0 photon in EE.
double selePtGamma_
double selePi0BeltDetaEndCap_
HLTAlCaMonPi0(const edm::ParameterSet &)
double seleS4S9Gamma_
MonitorElement * hNRecHitsEEpi0_
Distribution of number of RecHits EE (pi0)
MonitorElement * hNRecHitsEBpi0_
Distribution of number of RecHits EB (pi0)
MonitorElement * hIsoEtaEB_
Eta Iso EB.
MonitorElement * hPt2EtaEE_
Pt of the 2nd most energetic Eta photon in EE.
double clusSeedThrEndCap_
double seleS4S9GammaEndCap_
void endRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * hS4S92Pi0EE_
S4S9 of the 2nd most energetic pi0 photon EE.
double seleEtaBeltDREndCap_
double seleMinvMaxPi0EndCap_
MonitorElement * hS4S91Pi0EB_
S4S9 of the 1st most energetic pi0 photon.
MonitorElement * hRechitEnergyEEpi0_
Energy Distribution of rechits EE (pi0)
double ParameterT0_barl_
std::map< DetId, EcalRecHit > RecHitsMap
Definition: HLTAlCaMonPi0.h:24
MonitorElement * hPt1EtaEB_
Pt of the 1st most energetic Eta photon in EB.
double seleMinvMinPi0_
MonitorElement * hPt2Pi0EE_
Pt of the 2nd most energetic Pi0 photon in EE.
MonitorElement * hEventEnergyEBpi0_
Distribution of total event energy EB (pi0)
MonitorElement * hMinvEtaEB_
Eta invariant mass in EB.
double ptMinForIsolationEndCap_
MonitorElement * hPt1Pi0EB_
Pt of the 1st most energetic Pi0 photon in EB.
MonitorElement * hPtPi0EE_
Pi0 Pt in EE.
double seleEtaIsoEndCap_
MonitorElement * hiPhiDistrEBpi0_
Distribution of rechits in iPhi (pi0)
Definition: HLTAlCaMonPi0.h:80
int diff_neta_s(int, int)
double seleS4S9GammaEta_
bool saveToFile_
Write to file.
double ParameterW0_
float energy() const
Definition: CaloRecHit.h:19
edm::InputTag productMonitoredEBeta_
double selePtPi0EndCap_
double seleEtaBeltDetaEndCap_
MonitorElement * hS4S91Pi0EE_
S4S9 of the 1st most energetic pi0 photon EE.
std::vector< EcalRecHit > EERecHits
MonitorElement * hMeanRecHitEnergyEBeta_
Distribution of Mean energy per rechit EB (eta)
double seleMinvMaxEtaEndCap_
double selePtGammaEtaEndCap_
for eta-&gt;gg endcap
MonitorElement * hRechitEnergyEEeta_
Energy Distribution of rechits EE (eta)
MonitorElement * hS4S92EtaEB_
S4S9 of the 2nd most energetic eta photon.
bool ParameterLogWeighted_
double seleS4S9GammaEtaEndCap_
MonitorElement * hiPhiDistrEBeta_
Distribution of rechits in iPhi (eta)
Definition: HLTAlCaMonPi0.h:86
PositionCalc posCalculator_
Definition: HLTAlCaMonPi0.h:77
double clusSeedThr_
edm::InputTag productMonitoredEBpi0_
object to monitor
std::string folderName_
DQM folder name.
unsigned int prescaleFactor_
Monitor every prescaleFactor_ events.
double selePi0BeltDeta_
MonitorElement * hMeanRecHitEnergyEBpi0_
Distribution of Mean energy per rechit EB (pi0)
MonitorElement * hPt2Pi0EB_
Pt of the 2nd most energetic Pi0 photon in EB.
double selePi0BeltDR_
std::string fileName_
Output file name if required.
MonitorElement * hNRecHitsEBeta_
Distribution of number of RecHits EB (eta)
MonitorElement * hiXDistrEEpi0_
Distribution of rechits in ix EE (pi0)
Definition: HLTAlCaMonPi0.h:83
MonitorElement * hiYDistrEEpi0_
Distribution of rechits in iy EE (pi0)
Definition: HLTAlCaMonPi0.h:95
MonitorElement * hS4S91EtaEB_
S4S9 of the 1st most energetic eta photon.
void convxtalid(int &, int &)
MonitorElement * hPtPi0EB_
Pi0 Pt in EB.
double seleMinvMaxPi0_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
MonitorElement * hiYDistrEEeta_
Distribution of rechits in iy EE (eta)
double seleXtalMinEnergy_
double selePtEtaEndCap_
MonitorElement * hRechitEnergyEBeta_
Energy Distribution of rechits EB (eta)
MonitorElement * hPt2EtaEB_
Pt of the 2nd most energetic Eta photon in EB.
MonitorElement * hPtEtaEB_
Eta Pt in EB.
MonitorElement * hIsoPi0EE_
Pi0 Iso EE.
bool isMonEBpi0_
which subdet will be monitored
MonitorElement * hEventEnergyEEeta_
Distribution of total event energy EE (eta)
double selePi0Iso_
MonitorElement * hiEtaDistrEBpi0_
Distribution of rechits in iEta (pi0)
Definition: HLTAlCaMonPi0.h:92
MonitorElement * hMinvPi0EB_
Pi0 invariant mass in EB.
double ptMinForIsolationEtaEndCap_
double seleMinvMinEta_
double seleXtalMinEnergyEndCap_
int diff_nphi_s(int, int)
edm::InputTag productMonitoredEEeta_
double seleMinvMaxEta_
MonitorElement * hNRecHitsEEeta_
Distribution of number of RecHits EE (eta)
double ptMinForIsolationEta_
double seleEtaBeltDR_
double ParameterT0_endc_
Definition: DDAxes.h:10
std::vector< EBDetId > detIdEBRecHits
MonitorElement * hS4S92Pi0EB_
S4S9 of the 2nd most energetic pi0 photon.
double seleMinvMinEtaEndCap_
double selePtGammaEta_
for eta-&gt;gg barrel
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
double seleEtaBeltDeta_
MonitorElement * hIsoEtaEE_
Eta Iso EE.
edm::InputTag productMonitoredEEpi0_
object to monitor
bool operator()(EcalRecHit x, EcalRecHit y)
Definition: HLTAlCaMonPi0.h:29
double seleS9S25GammaEtaEndCap_
std::vector< EcalRecHit > EBRecHits
MonitorElement * hPtEtaEE_
Eta Pt in EE.
MonitorElement * hMeanRecHitEnergyEEeta_
Distribution of Mean energy per rechit EE (eta)
double selePi0IsoEndCap_
Definition: Run.h:36
MonitorElement * hiEtaDistrEBeta_
Distribution of rechits in iEta (eta)
Definition: HLTAlCaMonPi0.h:98
void beginRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * hS4S91EtaEE_
S4S9 of the 1st most energetic eta photon EE.