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
PiZeroAnalyzer::makePizero
void makePizero(const edm::EventSetup &es, const edm::Handle< EcalRecHitCollection > eb, const edm::Handle< EcalRecHitCollection > ee)
Definition: PiZeroAnalyzer.cc:112
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
PositionCalc.h
PiZeroAnalyzer::nEvt_
int nEvt_
Definition: PiZeroAnalyzer.h:90
SimVertex
Definition: SimVertex.h:5
MessageLogger.h
TrackerGeometry.h
PiZeroAnalyzer::selePi0BeltDR_
double selePi0BeltDR_
Definition: PiZeroAnalyzer.h:122
ESHandle.h
PiZeroAnalyzer::seleMinvMinPi0_
double seleMinvMinPi0_
Definition: PiZeroAnalyzer.h:126
PiZeroAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: PiZeroAnalyzer.cc:58
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
PiZeroAnalyzer::hPtPi0EB_
MonitorElement * hPtPi0EB_
Definition: PiZeroAnalyzer.h:134
EBDetId.h
EEDetId.h
EcalBarrelTopology.h
PiZeroAnalyzer::seleS4S9GammaTwo_
double seleS4S9GammaTwo_
Definition: PiZeroAnalyzer.h:121
DQMStore.h
PiZeroAnalyzer::~PiZeroAnalyzer
~PiZeroAnalyzer() override
Definition: PiZeroAnalyzer.cc:56
PiZeroAnalyzer::prescaleFactor_
unsigned int prescaleFactor_
Definition: PiZeroAnalyzer.h:88
edm::Handle
Definition: AssociativeIterator.h:50
EcalRecHitCollections.h
PiZeroAnalyzer::currentFolder_
std::stringstream currentFolder_
Definition: PiZeroAnalyzer.h:128
PiZeroAnalyzer::hPt2Pi0EB_
MonitorElement * hPt2Pi0EB_
Definition: PiZeroAnalyzer.h:132
PiZeroAnalyzer::clusEtaSize_
int clusEtaSize_
Definition: PiZeroAnalyzer.h:107
PiZeroAnalyzer::seleXtalMinEnergy_
double seleXtalMinEnergy_
Definition: PiZeroAnalyzer.h:110
PiZeroAnalyzer::selePi0Iso_
double selePi0Iso_
Definition: PiZeroAnalyzer.h:124
MakerMacros.h
PiZeroAnalyzer::selePtPi0_
double selePtPi0_
Definition: PiZeroAnalyzer.h:119
PiZeroAnalyzer::hIsoPi0EB_
MonitorElement * hIsoPi0EB_
Definition: PiZeroAnalyzer.h:133
Service.h
PiZeroAnalyzer::cutStep_
double cutStep_
Definition: PiZeroAnalyzer.h:102
PiZeroAnalyzer
EgammaCoreTools.
Definition: PiZeroAnalyzer.h:75
PiZeroAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: PiZeroAnalyzer.cc:81
PiZeroAnalyzer::selePi0BeltDeta_
double selePi0BeltDeta_
Definition: PiZeroAnalyzer.h:123
PiZeroAnalyzer::ParameterX0_
double ParameterX0_
Definition: PiZeroAnalyzer.h:113
EcalRecHit.h
PiZeroAnalyzer::clusSeedThr_
double clusSeedThr_
parameters needed for pizero finding
Definition: PiZeroAnalyzer.h:106
DQMEDAnalyzer.h
TFileService.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
PiZeroAnalyzer::PiZeroAnalyzer
PiZeroAnalyzer(const edm::ParameterSet &)
Definition: PiZeroAnalyzer.cc:20
PiZeroAnalyzer::hMinvPi0EB_
MonitorElement * hMinvPi0EB_
Definition: PiZeroAnalyzer.h:130
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition: ParameterSet.h:47
PiZeroAnalyzer::seleS4S9GammaOne_
double seleS4S9GammaOne_
Definition: PiZeroAnalyzer.h:120
Event.h
EcalEndcapTopology.h
EcalClusterTools.h
PiZeroAnalyzer::posCalcParameters_
edm::ParameterSet posCalcParameters_
Definition: PiZeroAnalyzer.h:92
PiZeroAnalyzer::caloTopologyToken_
const edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
Definition: PiZeroAnalyzer.h:98
IdealGeometryRecord.h
edm::EventSetup
Definition: EventSetup.h:58
PiZeroAnalyzer::minPhoEtCut_
double minPhoEtCut_
Definition: PiZeroAnalyzer.h:100
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PiZeroAnalyzer::hPt1Pi0EB_
MonitorElement * hPt1Pi0EB_
Definition: PiZeroAnalyzer.h:131
CaloTopology.h
PiZeroAnalyzer::numberOfSteps_
int numberOfSteps_
Definition: PiZeroAnalyzer.h:103
PiZeroAnalyzer::seleMinvMaxPi0_
double seleMinvMaxPi0_
Definition: PiZeroAnalyzer.h:125
PiZeroAnalyzer::barrelEcalHits_token_
edm::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > barrelEcalHits_token_
Definition: PiZeroAnalyzer.h:94
CaloSubdetectorTopology.h
CaloTopologyRecord.h
CaloCellGeometry.h
RecoEcalCandidate.h
PiZeroAnalyzer::ParameterW0_
double ParameterW0_
Definition: PiZeroAnalyzer.h:115
SimTrack
Definition: SimTrack.h:9
Frameworkfwd.h
SuperCluster.h
CaloGeometry.h
PiZeroAnalyzer::ParameterLogWeighted_
bool ParameterLogWeighted_
Definition: PiZeroAnalyzer.h:112
PiZeroAnalyzer::selePtGammaOne_
double selePtGammaOne_
Definition: PiZeroAnalyzer.h:117
EventSetup.h
PiZeroAnalyzer::ParameterT0_barl_
double ParameterT0_barl_
Definition: PiZeroAnalyzer.h:114
Exception.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
RecoEcalCandidateFwd.h
PiZeroAnalyzer::caloGeometryToken_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
Definition: PiZeroAnalyzer.h:97
PiZeroAnalyzer::clusPhiSize_
int clusPhiSize_
Definition: PiZeroAnalyzer.h:108
ParameterSet.h
edm::Event
Definition: Event.h:73
PiZeroAnalyzer::fName_
std::string fName_
Definition: PiZeroAnalyzer.h:87
PiZeroAnalyzer::selePtGammaTwo_
double selePtGammaTwo_
Definition: PiZeroAnalyzer.h:118
PiZeroAnalyzer::endcapEcalHits_token_
edm::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > endcapEcalHits_token_
Definition: PiZeroAnalyzer.h:95