CMS 3D CMS Logo

SMPDQM.h
Go to the documentation of this file.
1 #ifndef SMPDQM_H
2 #define SMPDQM_H
3 #include <memory>
4 
7 
8 // user include files
11 
14 
19 #include <vector>
20 #include <iostream>
21 #include <fstream>
22 #include <TH1.h>
23 #include <TH2.h>
24 #include "TFile.h"
33 
52 #include "TLorentzVector.h"
61 
64 
65 //
66 // class declaration
67 //
68 
69 // If the analyzer does not use TFileService, please remove
70 // the template argument to the base class so the class inherits
71 // from edm::one::EDAnalyzer<>
72 // This will improve performance in multithreaded jobs.
73 
74 //using reco::TrackCollection;
75 class DQMStore;
76 class SMPDQM : public DQMEDAnalyzer {
77 public:
78  SMPDQM(const edm::ParameterSet &);
79  ~SMPDQM() override;
80 
81 protected:
82  void analyze(const edm::Event &, const edm::EventSetup &) override;
83 
84 private:
85  void bookHistograms(DQMStore::IBooker &bei, edm::Run const &, edm::EventSetup const &) override;
86  void bookHistos(DQMStore *bei);
87 
92  std::vector<edm::EDGetTokenT<edm::View<reco::MET> > > mets_;
93  //edm::EDGetTokenT<reco::PFMETCollection> thePfMETCollectionToken_;
94  // ----------member data ---------------------------
95 
96  //NPV
98  //MET
101  //muons
112  //electrons
121  //jets
129  //lepMET
130 
139  //lepjet1
143 };
144 
145 //
146 // constants, enums and typedefs
147 //
148 
149 //
150 // static data member definitions
151 //
152 
153 //
154 // constructors and destructor
155 //
156 
157 #endif
158 //
159 // member functions
160 //
MonitorElement * phi_elecs
Definition: SMPDQM.h:117
MonitorElement * mjj
Definition: SMPDQM.h:127
MonitorElement * dphill
Definition: SMPDQM.h:135
edm::EDGetTokenT< edm::View< reco::Vertex > > pvs_
Definition: SMPDQM.h:90
SMPDQM(const edm::ParameterSet &)
Definition: SMPDQM.cc:11
MonitorElement * isPFmuon
Definition: SMPDQM.h:110
MonitorElement * phi_muons
Definition: SMPDQM.h:104
std::vector< edm::EDGetTokenT< edm::View< reco::MET > > > mets_
Definition: SMPDQM.h:92
MonitorElement * detall
Definition: SMPDQM.h:134
void bookHistograms(DQMStore::IBooker &bei, edm::Run const &, edm::EventSetup const &) override
Definition: SMPDQM.cc:28
MonitorElement * pt_elecs
Definition: SMPDQM.h:115
MonitorElement * HoverE_elecs
Definition: SMPDQM.h:114
MonitorElement * isStandalonemuon
Definition: SMPDQM.h:109
MonitorElement * PFJetRapidity
Definition: SMPDQM.h:126
MonitorElement * detajj
Definition: SMPDQM.h:128
MonitorElement * dphi_lepjet1
Definition: SMPDQM.h:140
MonitorElement * eta_muons
Definition: SMPDQM.h:103
MonitorElement * dphi_lep2jet1
Definition: SMPDQM.h:142
MonitorElement * PFJeteta
Definition: SMPDQM.h:123
MonitorElement * ptll
Definition: SMPDQM.h:138
MonitorElement * eta_elecs
Definition: SMPDQM.h:116
MonitorElement * muIso_CombRelIso03
Definition: SMPDQM.h:105
MonitorElement * etall
Definition: SMPDQM.h:137
edm::EDGetTokenT< reco::GsfElectronCollection > elecs_
Definition: SMPDQM.h:89
MonitorElement * NPV
Definition: SMPDQM.h:97
MonitorElement * MET
Definition: SMPDQM.h:99
MonitorElement * elIso_trk
Definition: SMPDQM.h:119
MonitorElement * pt_lepMET
Definition: SMPDQM.h:133
MonitorElement * elIso_cal
Definition: SMPDQM.h:118
MonitorElement * pt_muons
Definition: SMPDQM.h:102
MonitorElement * elIso_CombRelIso
Definition: SMPDQM.h:120
MonitorElement * isGlobalmuon
Definition: SMPDQM.h:107
MonitorElement * PFJetphi
Definition: SMPDQM.h:124
MonitorElement * dphi_lep1jet1
Definition: SMPDQM.h:141
Definition: SMPDQM.h:76
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SMPDQM.cc:79
~SMPDQM() override
Definition: SMPDQM.cc:23
void bookHistos(DQMStore *bei)
MonitorElement * mass_lepMET
Definition: SMPDQM.h:132
MonitorElement * Nelecs
Definition: SMPDQM.h:113
MonitorElement * mll
Definition: SMPDQM.h:136
MonitorElement * PFJetpt
Definition: SMPDQM.h:122
MonitorElement * PFJetMulti
Definition: SMPDQM.h:125
edm::EDGetTokenT< edm::View< reco::PFJet > > jets_
Definition: SMPDQM.h:91
MonitorElement * dphi_lepMET
Definition: SMPDQM.h:131
MonitorElement * isTrackermuon
Definition: SMPDQM.h:108
MonitorElement * muIso_TrackerBased03
Definition: SMPDQM.h:111
MonitorElement * METphi
Definition: SMPDQM.h:100
edm::EDGetTokenT< reco::MuonCollection > muons_
Definition: SMPDQM.h:88
Definition: Run.h:45
MonitorElement * Nmuons
Definition: SMPDQM.h:106