CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
22 
23 
24 //
25 #include <map>
26 #include <vector>
27 #include <memory>
37 // forward declarations
38 namespace edm {class HepMCProduct;}
39 class TFile;
40 class TH1F;
41 class TH2F;
42 class TProfile;
43 class TTree;
44 class SimVertex;
45 class SimTrack;
46 
47 
48 
50 {
51 
52  public:
53 
54  //
55  explicit PhotonValidatorMiniAOD( const edm::ParameterSet& ) ;
56  virtual ~PhotonValidatorMiniAOD();
57 
58 
59  virtual void analyze( const edm::Event&, const edm::EventSetup& ) override;
60  // virtual void beginJob();
61  virtual void dqmBeginRun( edm::Run const & r, edm::EventSetup const & theEventSetup) override;
62  virtual void endRun (edm::Run const& r, edm::EventSetup const & es) override;
63  void bookHistograms( DQMStore::IBooker&, edm::Run const &, edm::EventSetup const &) override;
64 
65  private:
66 
70 
71 
73 
74  // edm::ESHandle<MagneticField> theMF_;
77 
80 
94 
99 
100  // Information from Particle Flow
101  // Isolation
105 
106 
107 
108 
110 {
111  public:
112  bool operator () (const pat::PhotonRef& lhs, const pat::PhotonRef & rhs)
113  {
114  return lhs->et() > rhs->et();
115  }
116 };
117 
118 
119 
120 };
121 
122 
123 
124 
125 
126 
127 
128 #endif
edm::EDGetTokenT< reco::GenParticleCollection > genpartToken_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * h_full5x5_sigmaIetaIeta_[3][3]
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * h_r1_[3][3]
MonitorElement * h_full5x5_r9_[3][3]
MonitorElement * h_phoSigmaEoE_[3][3]
MonitorElement * h_nHadIso_[3]
MonitorElement * h_ecalRecHitSumEtConeDR04_[3][3]
MonitorElement * h_sigmaIetaIeta_[3][3]
MonitorElement * h_chHadIso_[3]
MonitorElement * h_hcalTowerBcSumEtConeDR04_[3][3]
MonitorElement * h_newhOverE_[3][3]
MonitorElement * h_isoTrkSolidConeDR04_[3][3]
MonitorElement * h_phoIso_[3]
MonitorElement * h_nTrkSolidConeDR04_[3][3]
MonitorElement * h_hOverE_[3][3]
MonitorElement * h_scPhi_[2]
MonitorElement * h_phoERes_[3][3]
MonitorElement * h_phoE_[2][3]
MonitorElement * h_r9_[3][3]
virtual void dqmBeginRun(edm::Run const &r, edm::EventSetup const &theEventSetup) override
bool operator()(const pat::PhotonRef &lhs, const pat::PhotonRef &rhs)
edm::EDGetTokenT< edm::View< pat::Photon > > photonToken_
virtual void endRun(edm::Run const &r, edm::EventSetup const &es) override
MonitorElement * h_phoEt_[2][3]
MonitorElement * h_hcalTowerSumEtConeDR04_[3][3]
MonitorElement * h_r2_[3][3]
MonitorElement * h_scEta_[2]
PhotonValidatorMiniAOD(const edm::ParameterSet &)
Definition: Run.h:43