CMS 3D CMS Logo

EgammaSuperClusters.h
Go to the documentation of this file.
1 #ifndef Validation_EcalClusters_EgammaSuperClusters_h
2 #define Validation_EcalClusters_EgammaSuperClusters_h
3 
11 //
12 //
13 
15 
19 
20 #include "HistSpec.h"
22 
23 #include <string>
24 
26 public:
27  explicit EgammaSuperClusters(const edm::ParameterSet &);
28  ~EgammaSuperClusters() override;
29 
30  void analyze(const edm::Event &, const edm::EventSetup &) override;
31  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
32 
33 private:
34  // mc truth
36 
37  // barrel clusters
40 
41  // endcap clusters
45 
46  // collections of hits
49 
63 
120 
121  void closestMCParticle(HepMC::GenEvent const *, reco::SuperCluster const &, double &, double &) const;
122 
123  float ecalEta(float, float, float) const;
124 };
125 
126 #endif
EgammaSuperClusters::hist_EE_RawSC_ET_
MonitorElement * hist_EE_RawSC_ET_
Definition: EgammaSuperClusters.h:75
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
EgammaSuperClusters::hist_EB_RawSC_deltaR_
MonitorElement * hist_EB_RawSC_deltaR_
Definition: EgammaSuperClusters.h:104
EgammaSuperClusters::barrelRawSuperClusterCollectionToken_
edm::EDGetTokenT< reco::SuperClusterCollection > barrelRawSuperClusterCollectionToken_
Definition: EgammaSuperClusters.h:38
EgammaSuperClusters::hist_EB_CorSC_etaWidth_
MonitorElement * hist_EB_CorSC_etaWidth_
Definition: EgammaSuperClusters.h:114
EgammaSuperClusters::hist_EB_CorSC_phiWidth_
MonitorElement * hist_EB_CorSC_phiWidth_
Definition: EgammaSuperClusters.h:112
EgammaSuperClusters::hist_EB_RawSC_NumBC_
MonitorElement * hist_EB_RawSC_NumBC_
Definition: EgammaSuperClusters.h:69
EgammaSuperClusters::endcapPreSuperClusterCollectionToken_
edm::EDGetTokenT< reco::SuperClusterCollection > endcapPreSuperClusterCollectionToken_
Definition: EgammaSuperClusters.h:43
EgammaSuperClusters::hist_EE_CorSC_phiWidth_
MonitorElement * hist_EE_CorSC_phiWidth_
Definition: EgammaSuperClusters.h:111
EgammaSuperClusters::hsEoverTruth_
HistSpec hsEoverTruth_
Definition: EgammaSuperClusters.h:57
reco::SuperCluster
Definition: SuperCluster.h:18
EgammaSuperClusters::hist_EE_CorSC_NumBC_
MonitorElement * hist_EE_CorSC_NumBC_
Definition: EgammaSuperClusters.h:72
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::HepMCProduct >
EgammaSuperClusters::hist_EB_CorSC_NumBC_
MonitorElement * hist_EB_CorSC_NumBC_
Definition: EgammaSuperClusters.h:71
EgammaSuperClusters::hist_EE_CorSC_deltaR_
MonitorElement * hist_EE_CorSC_deltaR_
Definition: EgammaSuperClusters.h:107
EgammaSuperClusters::hsSize_
HistSpec hsSize_
Definition: EgammaSuperClusters.h:50
EgammaSuperClusters::hist_EB_RawSC_Phi_
MonitorElement * hist_EB_RawSC_Phi_
Definition: EgammaSuperClusters.h:84
EgammaSuperClusters::MCTruthCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > MCTruthCollectionToken_
Definition: EgammaSuperClusters.h:35
EgammaSuperClusters::endcapRawSuperClusterCollectionToken_
edm::EDGetTokenT< reco::SuperClusterCollection > endcapRawSuperClusterCollectionToken_
Definition: EgammaSuperClusters.h:42
EgammaSuperClusters::barrelCorSuperClusterCollectionToken_
edm::EDGetTokenT< reco::SuperClusterCollection > barrelCorSuperClusterCollectionToken_
Definition: EgammaSuperClusters.h:39
EgammaSuperClusters::hist_EE_PreSC_Phi_
MonitorElement * hist_EE_PreSC_Phi_
Definition: EgammaSuperClusters.h:88
EgammaSuperClusters::hsS1toS9_
HistSpec hsS1toS9_
Definition: EgammaSuperClusters.h:55
DQMStore.h
EgammaSuperClusters::hsetaWidth_
HistSpec hsetaWidth_
Definition: EgammaSuperClusters.h:60
EgammaSuperClusters::hist_EE_PreSC_S1toS9_
MonitorElement * hist_EE_PreSC_S1toS9_
Definition: EgammaSuperClusters.h:93
EgammaSuperClusters::hist_EE_PreSC_Size_
MonitorElement * hist_EE_PreSC_Size_
Definition: EgammaSuperClusters.h:68
EgammaSuperClusters::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: EgammaSuperClusters.cc:106
EgammaSuperClusters::hist_EE_CorSC_ET_vs_Phi_
MonitorElement * hist_EE_CorSC_ET_vs_Phi_
Definition: EgammaSuperClusters.h:118
EcalRecHitCollections.h
EgammaSuperClusters::hist_EB_RawSC_Eta_
MonitorElement * hist_EB_RawSC_Eta_
Definition: EgammaSuperClusters.h:79
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
EgammaSuperClusters::hist_EE_RawSC_S1toS9_
MonitorElement * hist_EE_RawSC_S1toS9_
Definition: EgammaSuperClusters.h:90
HistSpec.h
EgammaSuperClusters::hist_EE_CorSC_EoverTruth_
MonitorElement * hist_EE_CorSC_EoverTruth_
Definition: EgammaSuperClusters.h:102
EgammaSuperClusters::hist_EE_PreSC_ET_
MonitorElement * hist_EE_PreSC_ET_
Definition: EgammaSuperClusters.h:78
EgammaSuperClusters::~EgammaSuperClusters
~EgammaSuperClusters() override
Definition: EgammaSuperClusters.cc:104
EgammaSuperClusters::hist_EB_CorSC_ET_vs_Eta_
MonitorElement * hist_EB_CorSC_ET_vs_Eta_
Definition: EgammaSuperClusters.h:115
EgammaSuperClusters::hist_EE_CorSC_Phi_
MonitorElement * hist_EE_CorSC_Phi_
Definition: EgammaSuperClusters.h:87
EgammaSuperClusters::hist_EB_CorSC_EoverTruth_
MonitorElement * hist_EB_CorSC_EoverTruth_
Definition: EgammaSuperClusters.h:101
EgammaSuperClusters
Definition: EgammaSuperClusters.h:25
EgammaSuperClusters::hist_EB_RawSC_S1toS9_
MonitorElement * hist_EB_RawSC_S1toS9_
Definition: EgammaSuperClusters.h:89
EgammaSuperClusters::hist_EE_RawSC_EoverTruth_
MonitorElement * hist_EE_RawSC_EoverTruth_
Definition: EgammaSuperClusters.h:100
EgammaSuperClusters::ecalEta
float ecalEta(float, float, float) const
Definition: EgammaSuperClusters.cc:648
EgammaSuperClusters::hist_EE_PreSC_Eta_
MonitorElement * hist_EE_PreSC_Eta_
Definition: EgammaSuperClusters.h:83
EgammaSuperClusters::hist_EB_RawSC_ET_
MonitorElement * hist_EB_RawSC_ET_
Definition: EgammaSuperClusters.h:74
EgammaSuperClusters::hist_EE_CorSC_ET_
MonitorElement * hist_EE_CorSC_ET_
Definition: EgammaSuperClusters.h:77
EgammaSuperClusters::EgammaSuperClusters
EgammaSuperClusters(const edm::ParameterSet &)
Definition: EgammaSuperClusters.cc:18
DQMEDAnalyzer.h
EgammaSuperClusters::hist_EE_CorSC_preshowerE_
MonitorElement * hist_EE_CorSC_preshowerE_
Definition: EgammaSuperClusters.h:110
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
EgammaSuperClusters::hsphiWidth_
HistSpec hsphiWidth_
Definition: EgammaSuperClusters.h:59
edm::ParameterSet
Definition: ParameterSet.h:36
EgammaSuperClusters::hist_EE_CorSC_Size_
MonitorElement * hist_EE_CorSC_Size_
Definition: EgammaSuperClusters.h:67
EgammaSuperClusters::endcapRecHitCollectionToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapRecHitCollectionToken_
Definition: EgammaSuperClusters.h:48
EgammaSuperClusters::closestMCParticle
void closestMCParticle(HepMC::GenEvent const *, reco::SuperCluster const &, double &, double &) const
Definition: EgammaSuperClusters.cc:609
EgammaSuperClusters::hist_EE_RawSC_deltaR_
MonitorElement * hist_EE_RawSC_deltaR_
Definition: EgammaSuperClusters.h:105
EgammaSuperClusters::hsNumBC_
HistSpec hsNumBC_
Definition: EgammaSuperClusters.h:51
EgammaSuperClusters::hist_EB_CorSC_Phi_
MonitorElement * hist_EB_CorSC_Phi_
Definition: EgammaSuperClusters.h:86
EgammaSuperClusters::hsdeltaR_
HistSpec hsdeltaR_
Definition: EgammaSuperClusters.h:58
EgammaSuperClusters::hist_EE_PreSC_EoverTruth_
MonitorElement * hist_EE_PreSC_EoverTruth_
Definition: EgammaSuperClusters.h:103
EgammaSuperClusters::hist_EE_RawSC_S25toE_
MonitorElement * hist_EE_RawSC_S25toE_
Definition: EgammaSuperClusters.h:95
edm::EventSetup
Definition: EventSetup.h:57
EgammaSuperClusters::hist_EB_CorSC_deltaR_
MonitorElement * hist_EB_CorSC_deltaR_
Definition: EgammaSuperClusters.h:106
EgammaSuperClusters::hist_EE_PreSC_S25toE_
MonitorElement * hist_EE_PreSC_S25toE_
Definition: EgammaSuperClusters.h:98
EgammaSuperClusters::hist_EE_RawSC_Eta_
MonitorElement * hist_EE_RawSC_Eta_
Definition: EgammaSuperClusters.h:80
EgammaSuperClusters::hspreshowerE_
HistSpec hspreshowerE_
Definition: EgammaSuperClusters.h:61
EgammaSuperClusters::hist_EB_CorSC_Eta_
MonitorElement * hist_EB_CorSC_Eta_
Definition: EgammaSuperClusters.h:81
EgammaSuperClusters::hsR_
HistSpec hsR_
Definition: EgammaSuperClusters.h:62
EgammaSuperClusters::hist_EE_CorSC_S1toS9_
MonitorElement * hist_EE_CorSC_S1toS9_
Definition: EgammaSuperClusters.h:92
EgammaSuperClusters::hist_EE_PreSC_deltaR_
MonitorElement * hist_EE_PreSC_deltaR_
Definition: EgammaSuperClusters.h:108
EgammaSuperClusters::hist_EB_CorSC_S25toE_
MonitorElement * hist_EB_CorSC_S25toE_
Definition: EgammaSuperClusters.h:96
EgammaSuperClusters::hist_EE_PreSC_preshowerE_
MonitorElement * hist_EE_PreSC_preshowerE_
Definition: EgammaSuperClusters.h:109
HistSpec
Definition: HistSpec.h:6
SuperClusterFwd.h
EgammaSuperClusters::hist_EE_CorSC_S25toE_
MonitorElement * hist_EE_CorSC_S25toE_
Definition: EgammaSuperClusters.h:97
EgammaSuperClusters::barrelRecHitCollectionToken_
edm::EDGetTokenT< EcalRecHitCollection > barrelRecHitCollectionToken_
Definition: EgammaSuperClusters.h:47
EgammaSuperClusters::hist_EE_CorSC_etaWidth_
MonitorElement * hist_EE_CorSC_etaWidth_
Definition: EgammaSuperClusters.h:113
EgammaSuperClusters::hsET_
HistSpec hsET_
Definition: EgammaSuperClusters.h:52
EgammaSuperClusters::hist_EB_CorSC_ET_
MonitorElement * hist_EB_CorSC_ET_
Definition: EgammaSuperClusters.h:76
EgammaSuperClusters::hist_EB_RawSC_EoverTruth_
MonitorElement * hist_EB_RawSC_EoverTruth_
Definition: EgammaSuperClusters.h:99
EgammaSuperClusters::hist_EE_CorSC_ET_vs_Eta_
MonitorElement * hist_EE_CorSC_ET_vs_Eta_
Definition: EgammaSuperClusters.h:117
EgammaSuperClusters::hist_EE_CorSC_Eta_
MonitorElement * hist_EE_CorSC_Eta_
Definition: EgammaSuperClusters.h:82
EgammaSuperClusters::hsPhi_
HistSpec hsPhi_
Definition: EgammaSuperClusters.h:54
dqm::implementation::IBooker
Definition: DQMStore.h:43
EgammaSuperClusters::hist_EE_RawSC_Phi_
MonitorElement * hist_EE_RawSC_Phi_
Definition: EgammaSuperClusters.h:85
EgammaSuperClusters::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EgammaSuperClusters.cc:372
EgammaSuperClusters::hist_EB_RawSC_S25toE_
MonitorElement * hist_EB_RawSC_S25toE_
Definition: EgammaSuperClusters.h:94
EgammaSuperClusters::endcapCorSuperClusterCollectionToken_
edm::EDGetTokenT< reco::SuperClusterCollection > endcapCorSuperClusterCollectionToken_
Definition: EgammaSuperClusters.h:44
EgammaSuperClusters::hist_EE_RawSC_NumBC_
MonitorElement * hist_EE_RawSC_NumBC_
Definition: EgammaSuperClusters.h:70
EgammaSuperClusters::hist_EB_RawSC_Size_
MonitorElement * hist_EB_RawSC_Size_
Definition: EgammaSuperClusters.h:64
EgammaSuperClusters::hist_EB_CorSC_ET_vs_Phi_
MonitorElement * hist_EB_CorSC_ET_vs_Phi_
Definition: EgammaSuperClusters.h:116
HepMCProduct.h
edm::Event
Definition: Event.h:73
EgammaSuperClusters::hist_EE_CorSC_ET_vs_R_
MonitorElement * hist_EE_CorSC_ET_vs_R_
Definition: EgammaSuperClusters.h:119
EgammaSuperClusters::hsS25toE_
HistSpec hsS25toE_
Definition: EgammaSuperClusters.h:56
EgammaSuperClusters::hist_EE_RawSC_Size_
MonitorElement * hist_EE_RawSC_Size_
Definition: EgammaSuperClusters.h:65
EgammaSuperClusters::hsEta_
HistSpec hsEta_
Definition: EgammaSuperClusters.h:53
EgammaSuperClusters::hist_EB_CorSC_S1toS9_
MonitorElement * hist_EB_CorSC_S1toS9_
Definition: EgammaSuperClusters.h:91
EgammaSuperClusters::hist_EB_CorSC_Size_
MonitorElement * hist_EB_CorSC_Size_
Definition: EgammaSuperClusters.h:66
EgammaSuperClusters::hist_EE_PreSC_NumBC_
MonitorElement * hist_EE_PreSC_NumBC_
Definition: EgammaSuperClusters.h:73