CMS 3D CMS Logo

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