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  double minPhoEtCut_;
97 
98  double cutStep_;
100 
102  double clusSeedThr_;
105 
107 
109  double ParameterX0_;
111  double ParameterW0_;
112 
115  double selePtPi0_;
120  double selePi0Iso_;
123 
124  std::stringstream currentFolder_;
125 
131 };
132 
133 #endif
PiZeroAnalyzer::makePizero
void makePizero(const edm::EventSetup &es, const edm::Handle< EcalRecHitCollection > eb, const edm::Handle< EcalRecHitCollection > ee)
Definition: PiZeroAnalyzer.cc:111
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:118
ESHandle.h
PiZeroAnalyzer::seleMinvMinPi0_
double seleMinvMinPi0_
Definition: PiZeroAnalyzer.h:122
PiZeroAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: PiZeroAnalyzer.cc:57
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
PiZeroAnalyzer::hPtPi0EB_
MonitorElement * hPtPi0EB_
Definition: PiZeroAnalyzer.h:130
EBDetId.h
EEDetId.h
EcalBarrelTopology.h
PiZeroAnalyzer::seleS4S9GammaTwo_
double seleS4S9GammaTwo_
Definition: PiZeroAnalyzer.h:117
DQMStore.h
PiZeroAnalyzer::~PiZeroAnalyzer
~PiZeroAnalyzer() override
Definition: PiZeroAnalyzer.cc:55
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:124
PiZeroAnalyzer::hPt2Pi0EB_
MonitorElement * hPt2Pi0EB_
Definition: PiZeroAnalyzer.h:128
PiZeroAnalyzer::clusEtaSize_
int clusEtaSize_
Definition: PiZeroAnalyzer.h:103
PiZeroAnalyzer::seleXtalMinEnergy_
double seleXtalMinEnergy_
Definition: PiZeroAnalyzer.h:106
PiZeroAnalyzer::selePi0Iso_
double selePi0Iso_
Definition: PiZeroAnalyzer.h:120
MakerMacros.h
PiZeroAnalyzer::selePtPi0_
double selePtPi0_
Definition: PiZeroAnalyzer.h:115
PiZeroAnalyzer::hIsoPi0EB_
MonitorElement * hIsoPi0EB_
Definition: PiZeroAnalyzer.h:129
Service.h
PiZeroAnalyzer::cutStep_
double cutStep_
Definition: PiZeroAnalyzer.h:98
PiZeroAnalyzer
EgammaCoreTools.
Definition: PiZeroAnalyzer.h:75
PiZeroAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: PiZeroAnalyzer.cc:80
PiZeroAnalyzer::selePi0BeltDeta_
double selePi0BeltDeta_
Definition: PiZeroAnalyzer.h:119
PiZeroAnalyzer::ParameterX0_
double ParameterX0_
Definition: PiZeroAnalyzer.h:109
PiZeroAnalyzer::clusSeedThr_
double clusSeedThr_
parameters needed for pizero finding
Definition: PiZeroAnalyzer.h:102
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TFileService.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
PiZeroAnalyzer::PiZeroAnalyzer
PiZeroAnalyzer(const edm::ParameterSet &)
Definition: PiZeroAnalyzer.cc:20
PiZeroAnalyzer::hMinvPi0EB_
MonitorElement * hMinvPi0EB_
Definition: PiZeroAnalyzer.h:126
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition: ParameterSet.h:36
PiZeroAnalyzer::seleS4S9GammaOne_
double seleS4S9GammaOne_
Definition: PiZeroAnalyzer.h:116
Event.h
EcalEndcapTopology.h
EcalClusterTools.h
PiZeroAnalyzer::posCalcParameters_
edm::ParameterSet posCalcParameters_
Definition: PiZeroAnalyzer.h:92
CaloTopologyRecord.h
IdealGeometryRecord.h
edm::EventSetup
Definition: EventSetup.h:57
PiZeroAnalyzer::minPhoEtCut_
double minPhoEtCut_
Definition: PiZeroAnalyzer.h:96
EcalRecHit.h
PiZeroAnalyzer::hPt1Pi0EB_
MonitorElement * hPt1Pi0EB_
Definition: PiZeroAnalyzer.h:127
CaloTopology.h
PiZeroAnalyzer::numberOfSteps_
int numberOfSteps_
Definition: PiZeroAnalyzer.h:99
PiZeroAnalyzer::seleMinvMaxPi0_
double seleMinvMaxPi0_
Definition: PiZeroAnalyzer.h:121
PiZeroAnalyzer::barrelEcalHits_token_
edm::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > barrelEcalHits_token_
Definition: PiZeroAnalyzer.h:94
CaloSubdetectorTopology.h
CaloCellGeometry.h
RecoEcalCandidate.h
PiZeroAnalyzer::ParameterW0_
double ParameterW0_
Definition: PiZeroAnalyzer.h:111
SimTrack
Definition: SimTrack.h:6
Frameworkfwd.h
SuperCluster.h
CaloGeometry.h
PiZeroAnalyzer::ParameterLogWeighted_
bool ParameterLogWeighted_
Definition: PiZeroAnalyzer.h:108
PiZeroAnalyzer::selePtGammaOne_
double selePtGammaOne_
Definition: PiZeroAnalyzer.h:113
EventSetup.h
PiZeroAnalyzer::ParameterT0_barl_
double ParameterT0_barl_
Definition: PiZeroAnalyzer.h:110
Exception.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
RecoEcalCandidateFwd.h
PiZeroAnalyzer::clusPhiSize_
int clusPhiSize_
Definition: PiZeroAnalyzer.h:104
ParameterSet.h
edm::Event
Definition: Event.h:73
PiZeroAnalyzer::fName_
std::string fName_
Definition: PiZeroAnalyzer.h:87
PiZeroAnalyzer::selePtGammaTwo_
double selePtGammaTwo_
Definition: PiZeroAnalyzer.h:114
PiZeroAnalyzer::endcapEcalHits_token_
edm::EDGetTokenT< edm::SortedCollection< EcalRecHit, edm::StrictWeakOrdering< EcalRecHit > > > endcapEcalHits_token_
Definition: PiZeroAnalyzer.h:95