CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PiZeroAnalyzer.h
Go to the documentation of this file.
1 #ifndef PiZeroAnalyzer_H
2 #define PiZeroAnalyzer_H
3 
6 //
11 
12 // DataFormats
23 // Geometry
33 //
34 #include "TFile.h"
35 #include "TH1.h"
36 #include "TH2.h"
37 #include "TTree.h"
38 #include "TVector3.h"
39 #include "TProfile.h"
40 //
41 
51 //
52 //DQM services
56 
57 //
58 #include <map>
59 #include <vector>
60 
73 // forward declarations
74 class TFile;
75 class TH1F;
76 class TH2F;
77 class TProfile;
78 class TTree;
79 class SimVertex;
80 class SimTrack;
81 
82 
84 {
85 
86  public:
87 
88  //
89  explicit PiZeroAnalyzer( const edm::ParameterSet& ) ;
90  virtual ~PiZeroAnalyzer();
91 
92 
93  virtual void analyze( const edm::Event&, const edm::EventSetup& ) ;
94  virtual void beginJob() ;
95  virtual void endJob() ;
96 
97  private:
98  //
99 
101 
102  std::string fName_;
105 
106  int nEvt_;
107  int nEntry_;
108 
109  unsigned int prescaleFactor_;
110 
111 
113 
116 
117 
118 
119  double minPhoEtCut_;
120 
121  double cutStep_;
123 
124 
125 
127 
128 
129 
131  double clusSeedThr_;
134 
136 
138  double ParameterX0_;
140  double ParameterW0_;
141 
144  double selePtPi0_;
149  double selePi0Iso_;
152 
153 
154 
155  std::stringstream currentFolder_;
156 
157 
163 
164 
165 
166 
167 
168 };
169 
170 
171 class ecalRecHitLess : public std::binary_function<EcalRecHit, EcalRecHit, bool>
172 {
173 public:
175  {
176  return (x.energy() > y.energy());
177  }
178 };
179 
180 
181 #endif
182 
183 
184 
185 
double clusSeedThr_
parameters needed for pizero finding
edm::InputTag endcapEcalHits_
double selePi0BeltDeta_
bool ParameterLogWeighted_
MonitorElement * hIsoPi0EB_
PiZeroAnalyzer(const edm::ParameterSet &)
void makePizero(const edm::EventSetup &es, const edm::Handle< EcalRecHitCollection > eb, const edm::Handle< EcalRecHitCollection > ee)
edm::InputTag barrelEcalHits_
MonitorElement * hPtPi0EB_
MonitorElement * hMinvPi0EB_
double seleS4S9GammaOne_
double seleS4S9GammaTwo_
DQMStore * dbe_
double ParameterT0_barl_
std::stringstream currentFolder_
double seleMinvMaxPi0_
float energy() const
Definition: CaloRecHit.h:19
double selePtGammaOne_
double selePtGammaTwo_
EgammaCoreTools.
virtual void endJob()
unsigned int prescaleFactor_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::string fName_
MonitorElement * hPt2Pi0EB_
virtual ~PiZeroAnalyzer()
MonitorElement * hPt1Pi0EB_
double seleXtalMinEnergy_
x
Definition: VDTMath.h:216
virtual void beginJob()
edm::ParameterSet parameters_
bool operator()(EcalRecHit x, EcalRecHit y)
double seleMinvMinPi0_