CMS 3D CMS Logo

PiZeroAnalyzer.h
Go to the documentation of this file.
1 #ifndef PiZeroAnalyzer_H
2 #define PiZeroAnalyzer_H
3 
6 
11 
12 // DataFormats
22 // Geometry
32 
33 #include "TFile.h"
34 #include "TH1.h"
35 #include "TH2.h"
36 #include "TTree.h"
37 #include "TVector3.h"
38 #include "TProfile.h"
39 
48 
49 //DQM services
52 
53 #include <map>
54 #include <vector>
55 
66 // forward declarations
67 class TFile;
68 class TH1F;
69 class TH2F;
70 class TProfile;
71 class TTree;
72 class SimVertex;
73 class SimTrack;
74 
75 class PiZeroAnalyzer : public DQMEDAnalyzer {
76 public:
77  explicit PiZeroAnalyzer(const edm::ParameterSet&);
78  ~PiZeroAnalyzer() override;
79  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
80  void analyze(const edm::Event&, const edm::EventSetup&) override;
81 
82 private:
83  void makePizero(const edm::EventSetup& es,
86 
88  unsigned int prescaleFactor_;
89 
90  int nEvt_;
91 
93 
96 
99 
100  double minPhoEtCut_;
101 
102  double cutStep_;
104 
106  double clusSeedThr_;
109 
111 
113  double ParameterX0_;
115  double ParameterW0_;
116 
119  double selePtPi0_;
124  double selePi0Iso_;
127 
128  std::stringstream currentFolder_;
129 
135 };
136 
137 #endif
double clusSeedThr_
parameters needed for pizero finding
double selePi0BeltDeta_
bool ParameterLogWeighted_
MonitorElement * hIsoPi0EB_
edm::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > barrelEcalHits_token_
PiZeroAnalyzer(const edm::ParameterSet &)
void makePizero(const edm::EventSetup &es, const edm::Handle< EcalRecHitCollection > eb, const edm::Handle< EcalRecHitCollection > ee)
MonitorElement * hPtPi0EB_
MonitorElement * hMinvPi0EB_
double seleS4S9GammaOne_
double seleS4S9GammaTwo_
edm::ParameterSet posCalcParameters_
double ParameterT0_barl_
std::stringstream currentFolder_
const edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
double seleMinvMaxPi0_
edm::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > endcapEcalHits_token_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
double selePtGammaOne_
double selePtGammaTwo_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
EgammaCoreTools.
void analyze(const edm::Event &, const edm::EventSetup &) override
unsigned int prescaleFactor_
std::string fName_
~PiZeroAnalyzer() override
MonitorElement * hPt2Pi0EB_
MonitorElement * hPt1Pi0EB_
double seleXtalMinEnergy_
double seleMinvMinPi0_
Definition: Run.h:45