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:
29  bool operator()(const EcalRecHit& x, const EcalRecHit& y)
30  {
31  return (x.energy() > y.energy());
32  }
33 };
34 
35 class DQMStore;
36 class MonitorElement;
37 
39 
40 public:
41 
44 
45 protected:
46 
47  void beginJob();
48 
49  void beginRun(const edm::Run& r, const edm::EventSetup& c);
50 
51  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
52 
53  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
54  const edm::EventSetup& context) ;
55 
56  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
57  const edm::EventSetup& c);
58 
59  void endRun(const edm::Run& r, const edm::EventSetup& c);
60 
61  void endJob();
62 
63  void convxtalid(int & , int &);
64  int diff_neta_s(int,int);
65  int diff_nphi_s(int,int);
66 
67 
68 
69 private:
70 
71 
75 
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 
172 
175 
178 
181 
184 
185 
188 
191 
194 
197 
200 
203 
206 
209 
212 
215 
218 
221 
224 
227 
230 
233 
234 
235 
236 
240 
244 
247 
248  double clusSeedThr_;
251 
253 
255  double selePtGamma_;
256  double selePtPi0_;
262  double selePi0Iso_;
264 
275 
278  double selePtEta_;
284  double seleEtaIso_;
285  double seleEtaBeltDR_;
287 
299 
300 
301 
302 
303 
304  std::vector<EBDetId> detIdEBRecHits;
305  std::vector<EcalRecHit> EBRecHits;
306 
307 
308  std::vector<EEDetId> detIdEERecHits;
309  std::vector<EcalRecHit> EERecHits;
310 
311 
312 
314  unsigned int prescaleFactor_;
315 
318 
321 
327 
330 
331  //define Token(-s)
336 };
337 
338 #endif
339 
DQMStore * dbe_
Definition: HLTAlCaMonPi0.h:72
double selePi0BeltDREndCap_
MonitorElement * hMinvPi0EE_
Pi0 invariant mass in EE.
MonitorElement * hMinvEtaEE_
Eta invariant mass in EE.
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_
bool operator()(const EcalRecHit &x, const EcalRecHit &y)
Definition: HLTAlCaMonPi0.h:29
MonitorElement * hRechitEnergyEBpi0_
Energy Distribution of rechits EB (pi0)
MonitorElement * hiXDistrEEeta_
Distribution of rechits in ix EE (eta)
Definition: HLTAlCaMonPi0.h:86
MonitorElement * hEventEnergyEBeta_
Distribution of total event energy EB (eta)
std::vector< EEDetId > detIdEERecHits
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_
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEEpi0Token_
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)
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEEetaToken_
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:77
int diff_neta_s(int, int)
double seleS4S9GammaEta_
bool saveToFile_
Write to file.
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.
double seleS4S9GammaEtaEndCap_
MonitorElement * hiPhiDistrEBeta_
Distribution of rechits in iPhi (eta)
Definition: HLTAlCaMonPi0.h:83
float energy() const
Definition: EcalRecHit.h:68
PositionCalc posCalculator_
Definition: HLTAlCaMonPi0.h:74
double clusSeedThr_
edm::InputTag productMonitoredEBpi0_
object to monitor
std::string folderName_
DQM folder name.
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEBpi0Token_
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:80
MonitorElement * hiYDistrEEpi0_
Distribution of rechits in iy EE (pi0)
Definition: HLTAlCaMonPi0.h:92
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)
Definition: HLTAlCaMonPi0.h:98
double seleXtalMinEnergy_
double selePtEtaEndCap_
MonitorElement * hRechitEnergyEBeta_
Energy Distribution of rechits EB (eta)
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEBetaToken_
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:89
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_
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
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:41
MonitorElement * hiEtaDistrEBeta_
Distribution of rechits in iEta (eta)
Definition: HLTAlCaMonPi0.h:95
void beginRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * hS4S91EtaEE_
S4S9 of the 1st most energetic eta photon EE.