CMS 3D CMS Logo

SimplePhotonAnalyzer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_Examples_SimplePhotonAnalyzer_h
2 #define RecoEcal_Examples_SimplePhotonAnalyzer_h
3 
9 //
10 //
11 
12 // system include files
13 #include <memory>
14 
17 
18 // user include files
26 
28 
29 #include <string>
30 #include "TH1.h"
31 #include "TProfile.h"
32 class TFile;
33 
35 public:
38 
39  explicit SimplePhotonAnalyzer(const edm::ParameterSet&);
40  ~SimplePhotonAnalyzer() override;
41 
42  void analyze(const edm::Event&, const edm::EventSetup&) override;
43  void beginJob() override;
44  void endJob() override;
45 
46 private:
47  float etaTransformation(float a, float b);
48 
57 
59 
61  float sample_;
62 
64 
83 
88 };
89 #endif
SimplePhotonAnalyzer::sample_
float sample_
Definition: SimplePhotonAnalyzer.h:61
SimplePhotonAnalyzer::h1_deltaEta_
MonitorElement * h1_deltaEta_
Definition: SimplePhotonAnalyzer.h:86
EDAnalyzer.h
ESHandle.h
SimplePhotonAnalyzer::h1_pho_Phi_
MonitorElement * h1_pho_Phi_
Definition: SimplePhotonAnalyzer.h:70
SimplePhotonAnalyzer::h1_pho_Et_
MonitorElement * h1_pho_Et_
Definition: SimplePhotonAnalyzer.h:68
SimplePhotonAnalyzer::beginJob
void beginJob() override
Definition: SimplePhotonAnalyzer.cc:57
SimplePhotonAnalyzer
Definition: SimplePhotonAnalyzer.h:34
SimplePhotonAnalyzer::h1_pho_trkIsoEndcap_
MonitorElement * h1_pho_trkIsoEndcap_
Definition: SimplePhotonAnalyzer.h:82
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
SimplePhotonAnalyzer::h1_pho_hcalIsoEndcap_
MonitorElement * h1_pho_hcalIsoEndcap_
Definition: SimplePhotonAnalyzer.h:80
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
SimplePhotonAnalyzer::pfEgammaCandidates_
edm::InputTag pfEgammaCandidates_
Definition: SimplePhotonAnalyzer.h:54
SimplePhotonAnalyzer::h1_recEoverTrueEBarrel_
MonitorElement * h1_recEoverTrueEBarrel_
Definition: SimplePhotonAnalyzer.h:84
SimplePhotonAnalyzer::endcapEcalHits_
edm::InputTag endcapEcalHits_
Definition: SimplePhotonAnalyzer.h:56
SimplePhotonAnalyzer::h1_pho_R9Barrel_
MonitorElement * h1_pho_R9Barrel_
Definition: SimplePhotonAnalyzer.h:71
SimplePhotonAnalyzer::h1_pho_ecalIsoBarrel_
MonitorElement * h1_pho_ecalIsoBarrel_
Definition: SimplePhotonAnalyzer.h:77
SimplePhotonAnalyzer::endJob
void endJob() override
Definition: SimplePhotonAnalyzer.cc:335
SimplePhotonAnalyzer::h1_pho_ecalIsoEndcap_
MonitorElement * h1_pho_ecalIsoEndcap_
Definition: SimplePhotonAnalyzer.h:78
SimplePhotonAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SimplePhotonAnalyzer.cc:137
MakerMacros.h
SimplePhotonAnalyzer::vertexProducer_
std::string vertexProducer_
Definition: SimplePhotonAnalyzer.h:60
SimplePhotonAnalyzer::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SimplePhotonAnalyzer.h:37
dqm::legacy::DQMStore
Definition: DQMStore.h:727
Service.h
edm::ESHandle< CaloTopology >
SimplePhotonAnalyzer::mcProducer_
std::string mcProducer_
Definition: SimplePhotonAnalyzer.h:49
b
double b
Definition: hdecay.h:118
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SimplePhotonAnalyzer::etaTransformation
float etaTransformation(float a, float b)
Definition: SimplePhotonAnalyzer.cc:297
SimplePhotonAnalyzer::h1_pho_hOverEBarrel_
MonitorElement * h1_pho_hOverEBarrel_
Definition: SimplePhotonAnalyzer.h:75
SimplePhotonAnalyzer::h1_pho_sigmaIetaIetaBarrel_
MonitorElement * h1_pho_sigmaIetaIetaBarrel_
Definition: SimplePhotonAnalyzer.h:73
edm::ParameterSet
Definition: ParameterSet.h:36
a
double a
Definition: hdecay.h:119
Event.h
SimplePhotonAnalyzer::h1_pho_trkIsoBarrel_
MonitorElement * h1_pho_trkIsoBarrel_
Definition: SimplePhotonAnalyzer.h:81
SimplePhotonAnalyzer::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SimplePhotonAnalyzer.h:36
SimplePhotonAnalyzer::h1_scEta_
MonitorElement * h1_scEta_
Definition: SimplePhotonAnalyzer.h:65
SimplePhotonAnalyzer::h1_deltaPhi_
MonitorElement * h1_deltaPhi_
Definition: SimplePhotonAnalyzer.h:87
SimplePhotonAnalyzer::SimplePhotonAnalyzer
SimplePhotonAnalyzer(const edm::ParameterSet &)
Definition: SimplePhotonAnalyzer.cc:33
edm::EventSetup
Definition: EventSetup.h:57
SimplePhotonAnalyzer::h1_pho_E_
MonitorElement * h1_pho_E_
Definition: SimplePhotonAnalyzer.h:67
SimplePhotonAnalyzer::photonCollectionProducer_
std::string photonCollectionProducer_
Definition: SimplePhotonAnalyzer.h:51
SimplePhotonAnalyzer::h1_pho_sigmaIetaIetaEndcap_
MonitorElement * h1_pho_sigmaIetaIetaEndcap_
Definition: SimplePhotonAnalyzer.h:74
SimplePhotonAnalyzer::valueMapPFCandPhoton_
std::string valueMapPFCandPhoton_
Definition: SimplePhotonAnalyzer.h:53
CaloTopology.h
SimplePhotonAnalyzer::~SimplePhotonAnalyzer
~SimplePhotonAnalyzer() override
Definition: SimplePhotonAnalyzer.cc:52
SimplePhotonAnalyzer::h1_recEoverTrueEEndcap_
MonitorElement * h1_recEoverTrueEEndcap_
Definition: SimplePhotonAnalyzer.h:85
Frameworkfwd.h
SimplePhotonAnalyzer::dbe_
DQMStore * dbe_
Definition: SimplePhotonAnalyzer.h:63
CaloGeometry.h
SimplePhotonAnalyzer::h1_pho_hcalIsoBarrel_
MonitorElement * h1_pho_hcalIsoBarrel_
Definition: SimplePhotonAnalyzer.h:79
SimplePhotonAnalyzer::h1_pho_Eta_
MonitorElement * h1_pho_Eta_
Definition: SimplePhotonAnalyzer.h:69
SimplePhotonAnalyzer::h1_pho_R9Endcap_
MonitorElement * h1_pho_R9Endcap_
Definition: SimplePhotonAnalyzer.h:72
SimplePhotonAnalyzer::theCaloTopo_
edm::ESHandle< CaloTopology > theCaloTopo_
Definition: SimplePhotonAnalyzer.h:58
ParameterSet.h
SimplePhotonAnalyzer::h1_pho_hOverEEndcap_
MonitorElement * h1_pho_hOverEEndcap_
Definition: SimplePhotonAnalyzer.h:76
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
SimplePhotonAnalyzer::mcCollection_
std::string mcCollection_
Definition: SimplePhotonAnalyzer.h:50
SimplePhotonAnalyzer::h1_deltaEtaSC_
MonitorElement * h1_deltaEtaSC_
Definition: SimplePhotonAnalyzer.h:66
SimplePhotonAnalyzer::photonCollection_
std::string photonCollection_
Definition: SimplePhotonAnalyzer.h:52
SimplePhotonAnalyzer::barrelEcalHits_
edm::InputTag barrelEcalHits_
Definition: SimplePhotonAnalyzer.h:55