test
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 
72 // forward declarations
73 class TFile;
74 class TH1F;
75 class TH2F;
76 class TProfile;
77 class TTree;
78 class SimVertex;
79 class SimTrack;
80 
81 
83 {
84 
85  public:
86 
87  //
88  explicit PiZeroAnalyzer( const edm::ParameterSet& ) ;
89  virtual ~PiZeroAnalyzer();
90 
91 
92  virtual void analyze( const edm::Event&, const edm::EventSetup& ) ;
93  virtual void beginJob() ;
94  virtual void endJob() ;
95 
96  private:
97  //
98 
100 
104 
105  int nEvt_;
106  int nEntry_;
107 
108  unsigned int prescaleFactor_;
109 
110 
112 
113  // edm::InputTag barrelEcalHits_;
114  //edm::InputTag endcapEcalHits_;
117  double minPhoEtCut_;
118 
119  double cutStep_;
121 
122 
123 
125 
126 
127 
129  double clusSeedThr_;
132 
134 
136  double ParameterX0_;
138  double ParameterW0_;
139 
142  double selePtPi0_;
147  double selePi0Iso_;
150 
151 
152 
153  std::stringstream currentFolder_;
154 
155 
161 
162 
163 
164 
165 
166 };
167 
168 
169 class ecalRecHitLess : public std::binary_function<EcalRecHit, EcalRecHit, bool>
170 {
171 public:
173  {
174  return (x.energy() > y.energy());
175  }
176 };
177 
178 
179 #endif
180 
181 
182 
183 
double clusSeedThr_
parameters needed for pizero finding
double selePi0BeltDeta_
edm::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > barrelEcalHits_token_
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::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > endcapEcalHits_token_
MonitorElement * hPtPi0EB_
MonitorElement * hMinvPi0EB_
double seleS4S9GammaOne_
double seleS4S9GammaTwo_
DQMStore * dbe_
double ParameterT0_barl_
std::stringstream currentFolder_
double seleMinvMaxPi0_
float energy() const
Definition: EcalRecHit.h:68
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_
Definition: DDAxes.h:10
double seleXtalMinEnergy_
virtual void beginJob()
edm::ParameterSet parameters_
bool operator()(EcalRecHit x, EcalRecHit y)
double seleMinvMinPi0_