CMS 3D CMS Logo

PhotonValidatorMiniAOD.h
Go to the documentation of this file.
1 #ifndef PhotonValidatorMiniAOD_H
2 #define PhotonValidatorMiniAOD_H
9 //#include "DataFormats/EgammaCandidates/interface/PhotonFwd.h"
16 //
17 //DQM services
21 
22 //
23 #include <map>
24 #include <vector>
25 #include <memory>
34 // forward declarations
35 namespace edm {
36  class HepMCProduct;
37 }
38 class TFile;
39 class TH1F;
40 class TH2F;
41 class TProfile;
42 class TTree;
43 class SimVertex;
44 class SimTrack;
45 
47 public:
48  //
50  ~PhotonValidatorMiniAOD() override;
51 
52  void analyze(const edm::Event&, const edm::EventSetup&) override;
53  // virtual void beginJob();
54  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
55 
56 private:
60 
62 
63  // edm::ESHandle<MagneticField> theMF_;
66 
69 
83 
88 
89  // Information from Particle Flow
90  // Isolation
94 
95  class sortPhotons {
96  public:
97  bool operator()(const pat::PhotonRef& lhs, const pat::PhotonRef& rhs) { return lhs->et() > rhs->et(); }
98  };
99 };
100 
101 #endif
PhotonValidatorMiniAOD::h_newhOverE_
MonitorElement * h_newhOverE_[3][3]
Definition: PhotonValidatorMiniAOD.h:77
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
GenJetCollection.h
PhotonValidatorMiniAOD::h_phoIso_
MonitorElement * h_phoIso_[3]
Definition: PhotonValidatorMiniAOD.h:93
PhotonValidatorMiniAOD::h_scPhi_
MonitorElement * h_scPhi_[2]
Definition: PhotonValidatorMiniAOD.h:68
PhotonValidatorMiniAOD::h_nTrkSolidConeDR04_
MonitorElement * h_nTrkSolidConeDR04_[3][3]
Definition: PhotonValidatorMiniAOD.h:82
SimVertex
Definition: SimVertex.h:5
PhotonValidatorMiniAOD::h_phoERes_
MonitorElement * h_phoERes_[3][3]
Definition: PhotonValidatorMiniAOD.h:86
ESHandle.h
PhotonValidatorMiniAOD::~PhotonValidatorMiniAOD
~PhotonValidatorMiniAOD() override
Definition: PhotonValidatorMiniAOD.cc:44
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
PhotonValidatorMiniAOD::h_hOverE_
MonitorElement * h_hOverE_[3][3]
Definition: PhotonValidatorMiniAOD.h:76
Photon.h
PhotonValidatorMiniAOD::h_phoE_
MonitorElement * h_phoE_[2][3]
Definition: PhotonValidatorMiniAOD.h:84
PhotonValidatorMiniAOD::h_r9_
MonitorElement * h_r9_[3][3]
Definition: PhotonValidatorMiniAOD.h:70
DQMStore.h
EDAnalyzer.h
PhotonValidatorMiniAOD::h_phoEt_
MonitorElement * h_phoEt_[2][3]
Definition: PhotonValidatorMiniAOD.h:85
PhotonValidatorMiniAOD::h_hcalTowerSumEtConeDR04_
MonitorElement * h_hcalTowerSumEtConeDR04_[3][3]
Definition: PhotonValidatorMiniAOD.h:79
PhotonValidatorMiniAOD::fName_
std::string fName_
Definition: PhotonValidatorMiniAOD.h:61
EcalRecHitCollections.h
edm::Ref< PhotonCollection >
PhotonValidatorMiniAOD::photonToken_
edm::EDGetTokenT< edm::View< pat::Photon > > photonToken_
Definition: PhotonValidatorMiniAOD.h:58
PhotonValidatorMiniAOD::sortPhotons
Definition: PhotonValidatorMiniAOD.h:95
Service.h
PhotonValidatorMiniAOD::h_r2_
MonitorElement * h_r2_[3][3]
Definition: PhotonValidatorMiniAOD.h:75
GenParticleFwd.h
PhotonValidatorMiniAOD
Definition: PhotonValidatorMiniAOD.h:46
PhotonValidatorMiniAOD::genpartToken_
edm::EDGetTokenT< reco::GenParticleCollection > genpartToken_
Definition: PhotonValidatorMiniAOD.h:59
PhotonValidatorMiniAOD::PhotonValidatorMiniAOD
PhotonValidatorMiniAOD(const edm::ParameterSet &)
Definition: PhotonValidatorMiniAOD.cc:33
PhotonValidatorMiniAOD::outputFileName_
std::string outputFileName_
Definition: PhotonValidatorMiniAOD.h:57
PhotonValidatorMiniAOD::h_scEta_
MonitorElement * h_scEta_[2]
Definition: PhotonValidatorMiniAOD.h:67
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
PhotonValidatorMiniAOD::verbosity_
int verbosity_
Definition: PhotonValidatorMiniAOD.h:65
PhotonValidatorMiniAOD::h_full5x5_sigmaIetaIeta_
MonitorElement * h_full5x5_sigmaIetaIeta_[3][3]
Definition: PhotonValidatorMiniAOD.h:73
PhotonValidatorMiniAOD::sortPhotons::operator()
bool operator()(const pat::PhotonRef &lhs, const pat::PhotonRef &rhs)
Definition: PhotonValidatorMiniAOD.h:97
PhotonValidatorMiniAOD::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: PhotonValidatorMiniAOD.cc:46
edm::EventSetup
Definition: EventSetup.h:57
PhotonValidatorMiniAOD::h_full5x5_r9_
MonitorElement * h_full5x5_r9_[3][3]
Definition: PhotonValidatorMiniAOD.h:71
ValueMap.h
PhotonValidatorMiniAOD::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: PhotonValidatorMiniAOD.cc:196
VertexFwd.h
PhotonValidatorMiniAOD::h_phoSigmaEoE_
MonitorElement * h_phoSigmaEoE_[3][3]
Definition: PhotonValidatorMiniAOD.h:87
PhotonValidatorMiniAOD::h_nHadIso_
MonitorElement * h_nHadIso_[3]
Definition: PhotonValidatorMiniAOD.h:92
PhotonValidatorMiniAOD::h_r1_
MonitorElement * h_r1_[3][3]
Definition: PhotonValidatorMiniAOD.h:74
SimTrack
Definition: SimTrack.h:6
PhotonValidatorMiniAOD::h_ecalRecHitSumEtConeDR04_
MonitorElement * h_ecalRecHitSumEtConeDR04_[3][3]
Definition: PhotonValidatorMiniAOD.h:78
EventSetup.h
PhotonValidatorMiniAOD::parameters_
edm::ParameterSet parameters_
Definition: PhotonValidatorMiniAOD.h:64
dqm::implementation::IBooker
Definition: DQMStore.h:43
HepMCProduct
PhotonValidatorMiniAOD::h_hcalTowerBcSumEtConeDR04_
MonitorElement * h_hcalTowerBcSumEtConeDR04_[3][3]
Definition: PhotonValidatorMiniAOD.h:80
ParameterSet.h
PhotonValidatorMiniAOD::h_isoTrkSolidConeDR04_
MonitorElement * h_isoTrkSolidConeDR04_[3][3]
Definition: PhotonValidatorMiniAOD.h:81
edm::Event
Definition: Event.h:73
PhotonValidatorMiniAOD::h_sigmaIetaIeta_
MonitorElement * h_sigmaIetaIeta_[3][3]
Definition: PhotonValidatorMiniAOD.h:72
PFCandidateFwd.h
PhotonValidatorMiniAOD::h_chHadIso_
MonitorElement * h_chHadIso_[3]
Definition: PhotonValidatorMiniAOD.h:91