CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ExoticaDQM.h
Go to the documentation of this file.
1 #ifndef ExoticaDQM_H
2 #define ExoticaDQM_H
3 
15 
16 // Trigger stuff
20 
28 
33 
35 
36 // ParticleFlow
38 
39 // Vertex
42 
43 // EGamma
48 
49 // Muon
54 
55 // Tau
59 
60 // Jets
64 
65 // Photon
68 
69 // MET
77 
78 //
81 
83 
84 #include <iostream>
85 #include <fstream>
86 #include <string>
87 #include <vector>
88 #include <map>
89 
90 
91 class ExoticaDQM: public DQMEDAnalyzer {
92 
93 public:
94 
95  ExoticaDQM(const edm::ParameterSet& ps);
96  virtual ~ExoticaDQM();
97 
98 protected:
99 
100  virtual void analyze(edm::Event const& e, edm::EventSetup const& eSetup);
101 
102  //Resonances
103  virtual void analyzeDiJets(edm::Event const& e);
104  virtual void analyzeDiMuons(edm::Event const& e);
105  virtual void analyzeDiElectrons(edm::Event const& e);
106  virtual void analyzeDiPhotons(edm::Event const& e);
107 
108  //Mono Searches
109  virtual void analyzeMonoJets(edm::Event const& e);
110  virtual void analyzeMonoMuons(edm::Event const& e);
111  virtual void analyzeMonoElectrons(edm::Event const& e);
112  virtual void analyzeMonoPhotons(edm::Event const& e);
113 
114 private:
115 
116  void bookHistograms(DQMStore::IBooker& bei, edm::Run const&,
117  edm::EventSetup const&) override;
118 
121 
123 
124  //Trigger
125  std::vector<std::string> HltPaths_;
128 
129  //Vertex
132 
133  // Electrons
136 
137  // Muons
140 
141  // Photons
144 
145  // Jets
149  // Nominal Jets
153 
154  //All Other Jets
155  std::vector<edm::EDGetTokenT<reco::PFJetCollection> > DiJetPFJetToken_;
156  std::vector<edm::InputTag> DiJetPFJetCollection_;
159 
160  // MET
163  //
166 
167  // ECAL RECHITS
170 
172 
174  // Parameters
176  // Cuts - MultiJets
177  // inputs
178 
180 
181  //Varibles Used
182  // PFJets
183  double PFJetPx[2];
184  double PFJetPy[2];
185  double PFJetPt[2];
186  double PFJetEta[2];
187  double PFJetPhi[2];
188  double PFJetRapidity[2];
189  double PFJetMass[2];
190  double PFJetNHEF[2];
191  double PFJetCHEF[2];
192  double PFJetNEMF[2];
193  double PFJetCEMF[2];
194 
195  // Muons
196  //
197  double MuonPx[2];
198  double MuonPy[2];
199  double MuonPt[2];
200  double MuonEta[2];
201  double MuonPhi[2];
202  double MuonCharge[2];
203 
204  // Electrons
205  //
206  double ElectronPx[2];
207  double ElectronPy[2];
208  double ElectronPt[2];
209  double ElectronEta[2];
210  double ElectronPhi[2];
211  double ElectronCharge[2];
212 
213  // Photon
214  //
215  double PhotonEnergy[2];
216  double PhotonPt[2];
217  double PhotonEt[2];
218  double PhotonEta[2];
219  double PhotonEtaSc[2];
220  double PhotonPhi[2];
221  double PhotonHoverE[2];
224  double PhotonE1x5E5x5[2];
225  double PhotonE2x5E5x5[2];
226 
228  // Histograms
230  // Histograms - Dijet
231  std::vector<MonitorElement*> dijet_PFJet_pt;
232  std::vector<MonitorElement*> dijet_PFJet_eta;
233  std::vector<MonitorElement*> dijet_PFJet_phi;
234  std::vector<MonitorElement*> dijet_PFJet_rapidity;
235  std::vector<MonitorElement*> dijet_PFJet_mass;
236  std::vector<MonitorElement*> dijet_deltaPhiPFJet1PFJet2;
237  std::vector<MonitorElement*> dijet_deltaEtaPFJet1PFJet2;
238  std::vector<MonitorElement*> dijet_deltaRPFJet1PFJet2;
239  std::vector<MonitorElement*> dijet_invMassPFJet1PFJet2;
240  std::vector<MonitorElement*> dijet_PFchef;
241  std::vector<MonitorElement*> dijet_PFnhef;
242  std::vector<MonitorElement*> dijet_PFcemf;
243  std::vector<MonitorElement*> dijet_PFnemf;
244  std::vector<MonitorElement*> dijet_PFJetMulti;
245  //
249 
251  // Histograms - DiMuon
252  //
262  //
266 
268  // Histograms - DiElectron
269  //
279  //
283 
285  // Histograms - DiPhoton
286  //
308  //
312 
314  // Histograms - MonoJet
315  //
328  //
332 
334  // Histograms - MonoMuon
335  //
346  //
350 
352  // Histograms - MonoElectron
353  //
364  //
368 
370  // Histograms - DiPhoton
371  //
388  //
392 
393  // Histograms - MultiJets Trigger
394  //
395 
396 };
397 
398 
399 #endif
400 
401 /* Local Variables: */
402 /* show-trailing-whitespace: t */
403 /* truncate-lines: t */
404 /* End: */
MonitorElement * dielectron_Electron_phi
Definition: ExoticaDQM.h:272
virtual void analyzeMonoElectrons(edm::Event const &e)
Definition: ExoticaDQM.cc:775
double monomuon_Muon_pt_cut_
Definition: ExoticaDQM.h:347
double dimuon_Muon1_pt_cut_
Definition: ExoticaDQM.h:263
edm::Handle< reco::PhotonCollection > PhotonCollection_
Definition: ExoticaDQM.h:143
virtual void analyzeDiJets(edm::Event const &e)
Definition: ExoticaDQM.cc:580
edm::EDGetTokenT< reco::CaloMETCollection > CaloMETToken_
Definition: ExoticaDQM.h:161
MonitorElement * monojet_deltaPhiPFJetPFMet
Definition: ExoticaDQM.h:322
int dijet_countPFJet_
Definition: ExoticaDQM.h:248
MonitorElement * monojet_PFJet_eta
Definition: ExoticaDQM.h:317
MonitorElement * dielectron_deltaPhiElectron1Electron2
Definition: ExoticaDQM.h:275
double PhotonE2x5E5x5[2]
Definition: ExoticaDQM.h:225
MonitorElement * diphoton_Photon_e2x5e5x5_eb
Definition: ExoticaDQM.h:301
MonitorElement * diphoton_Photon_et
Definition: ExoticaDQM.h:289
double PhotonPt[2]
Definition: ExoticaDQM.h:216
MonitorElement * monomuon_Muon_eta
Definition: ExoticaDQM.h:337
virtual void analyzeMonoMuons(edm::Event const &e)
Definition: ExoticaDQM.cc:759
MonitorElement * monophoton_Photon_phi
Definition: ExoticaDQM.h:377
double PFJetPt[2]
Definition: ExoticaDQM.h:185
std::vector< MonitorElement * > dijet_PFJet_eta
Definition: ExoticaDQM.h:232
double PhotonEtaSc[2]
Definition: ExoticaDQM.h:219
ExoticaDQM(const edm::ParameterSet &ps)
Definition: ExoticaDQM.cc:92
double dielectron_Electron1_pt_cut_
Definition: ExoticaDQM.h:280
double MuonPx[2]
Definition: ExoticaDQM.h:197
MonitorElement * monojet_PFchef
Definition: ExoticaDQM.h:323
virtual void analyzeMonoJets(edm::Event const &e)
Definition: ExoticaDQM.cc:741
double dielectron_Electron2_pt_cut_
Definition: ExoticaDQM.h:281
double PhotonHoverE[2]
Definition: ExoticaDQM.h:221
MonitorElement * monoelectron_PFMet_phi
Definition: ExoticaDQM.h:360
MonitorElement * diphoton_Photon_sigmaietaieta_ee
Definition: ExoticaDQM.h:296
MonitorElement * monophoton_PFMet_phi
Definition: ExoticaDQM.h:385
double ElectronPy[2]
Definition: ExoticaDQM.h:207
double PFJetCHEF[2]
Definition: ExoticaDQM.h:191
MonitorElement * dimuon_deltaRMuon1Muon2
Definition: ExoticaDQM.h:259
double ElectronCharge[2]
Definition: ExoticaDQM.h:211
double MuonPy[2]
Definition: ExoticaDQM.h:198
edm::Handle< reco::CaloJetCollection > caloJetCollection_
Definition: ExoticaDQM.h:147
reco::PFJetCollection pfjets
Definition: ExoticaDQM.h:152
MonitorElement * monophoton_Photon_hovere
Definition: ExoticaDQM.h:378
MonitorElement * monophoton_Photon_energy
Definition: ExoticaDQM.h:373
std::vector< MonitorElement * > dijet_invMassPFJet1PFJet2
Definition: ExoticaDQM.h:239
virtual void analyzeDiMuons(edm::Event const &e)
Definition: ExoticaDQM.cc:658
double dijet_PFJet2_pt_cut_
Definition: ExoticaDQM.h:247
MonitorElement * monojet_PFMet_phi
Definition: ExoticaDQM.h:320
MonitorElement * dimuon_deltaEtaMuon1Muon2
Definition: ExoticaDQM.h:257
MonitorElement * diphoton_Photon_energy
Definition: ExoticaDQM.h:288
void bookHistograms(DQMStore::IBooker &bei, edm::Run const &, edm::EventSetup const &) override
Definition: ExoticaDQM.cc:176
int diphoton_countPhoton_
Definition: ExoticaDQM.h:311
MonitorElement * diphoton_PhotonMulti
Definition: ExoticaDQM.h:307
double PFJetNEMF[2]
Definition: ExoticaDQM.h:192
edm::Handle< reco::PFJetCollection > DiJetpfJetCollection_
Definition: ExoticaDQM.h:157
int monoelectron_countElectron_
Definition: ExoticaDQM.h:367
MonitorElement * diphoton_Photon_hovere_ee
Definition: ExoticaDQM.h:294
double PhotonEt[2]
Definition: ExoticaDQM.h:217
MonitorElement * monojet_PFJet_pt
Definition: ExoticaDQM.h:316
MonitorElement * diphoton_Photon_e1x5e5x5_ee
Definition: ExoticaDQM.h:300
MonitorElement * dielectron_Electron_eta
Definition: ExoticaDQM.h:271
edm::EDGetTokenT< reco::PhotonCollection > PhotonToken_
Definition: ExoticaDQM.h:142
edm::Handle< reco::MuonCollection > MuonCollection_
Definition: ExoticaDQM.h:139
edm::EDGetTokenT< edm::TriggerResults > TriggerToken_
Definition: ExoticaDQM.h:126
edm::Handle< reco::PFJetCollection > pfJetCollection_
Definition: ExoticaDQM.h:151
double MuonPt[2]
Definition: ExoticaDQM.h:199
double diphoton_Photon1_pt_cut_
Definition: ExoticaDQM.h:309
MonitorElement * monophoton_Photon_sigmaietaieta
Definition: ExoticaDQM.h:379
double PFJetNHEF[2]
Definition: ExoticaDQM.h:190
MonitorElement * monojet_PFnhef
Definition: ExoticaDQM.h:324
reco::helper::JetIDHelper * jetID
Definition: ExoticaDQM.h:179
double monojet_PFJet_met_cut_
Definition: ExoticaDQM.h:330
std::vector< edm::EDGetTokenT< reco::PFJetCollection > > DiJetPFJetToken_
Definition: ExoticaDQM.h:155
double diphoton_Photon2_pt_cut_
Definition: ExoticaDQM.h:310
double monophoton_Photon_pt_cut_
Definition: ExoticaDQM.h:389
MonitorElement * monomuon_MuonMulti
Definition: ExoticaDQM.h:345
std::vector< MonitorElement * > dijet_PFnhef
Definition: ExoticaDQM.h:241
std::vector< MonitorElement * > dijet_PFJetMulti
Definition: ExoticaDQM.h:244
std::vector< MonitorElement * > dijet_deltaEtaPFJet1PFJet2
Definition: ExoticaDQM.h:237
MonitorElement * monoelectron_Electron_phi
Definition: ExoticaDQM.h:356
MonitorElement * dielectron_ElectronMulti
Definition: ExoticaDQM.h:278
MonitorElement * diphoton_Photon_trksumptsolidconedr03_ee
Definition: ExoticaDQM.h:298
MonitorElement * monoelectron_ElectronPtOverPFMet
Definition: ExoticaDQM.h:359
double PFJetPx[2]
Definition: ExoticaDQM.h:183
MonitorElement * monomuon_PFMet_phi
Definition: ExoticaDQM.h:341
MonitorElement * dielectron_Charge
Definition: ExoticaDQM.h:273
MonitorElement * monojet_PFJetMulti
Definition: ExoticaDQM.h:327
std::vector< MonitorElement * > dijet_PFJet_rapidity
Definition: ExoticaDQM.h:234
MonitorElement * dimuon_invMassMuon1Muon2
Definition: ExoticaDQM.h:260
MonitorElement * monomuon_deltaPhiMuonPFMet
Definition: ExoticaDQM.h:343
MonitorElement * diphoton_Photon_e2x5e5x5_ee
Definition: ExoticaDQM.h:302
double dijet_PFJet1_pt_cut_
Definition: ExoticaDQM.h:246
virtual void analyzeDiPhotons(edm::Event const &e)
Definition: ExoticaDQM.cc:692
int dimuon_countMuon_
Definition: ExoticaDQM.h:265
edm::Handle< reco::VertexCollection > VertexCollection_
Definition: ExoticaDQM.h:131
MonitorElement * diphoton_Photon_trksumptsolidconedr03_eb
Definition: ExoticaDQM.h:297
MonitorElement * monophoton_Photon_e1x5e5x5
Definition: ExoticaDQM.h:381
MonitorElement * monoelectron_deltaPhiElectronPFMet
Definition: ExoticaDQM.h:361
MonitorElement * diphoton_deltaEtaPhoton1Photon2
Definition: ExoticaDQM.h:303
edm::EDGetTokenT< reco::JetCorrector > correctorToken_
Definition: ExoticaDQM.h:171
int dielectron_countElectron_
Definition: ExoticaDQM.h:282
edm::EDGetTokenT< reco::GsfElectronCollection > ElectronToken_
Definition: ExoticaDQM.h:134
std::vector< MonitorElement * > dijet_deltaRPFJet1PFJet2
Definition: ExoticaDQM.h:238
MonitorElement * monojet_PFMet
Definition: ExoticaDQM.h:319
MonitorElement * monoelectron_PFMet
Definition: ExoticaDQM.h:358
int nEvents_
Definition: ExoticaDQM.h:120
double ElectronEta[2]
Definition: ExoticaDQM.h:209
double monoelectron_Electron_pt_cut_
Definition: ExoticaDQM.h:365
int monomuon_countMuon_
Definition: ExoticaDQM.h:349
edm::EDGetTokenT< reco::MuonCollection > MuonToken_
Definition: ExoticaDQM.h:138
double dimuon_Muon2_pt_cut_
Definition: ExoticaDQM.h:264
MonitorElement * monomuon_TransverseMass
Definition: ExoticaDQM.h:344
edm::Handle< reco::GsfElectronCollection > ElectronCollection_
Definition: ExoticaDQM.h:135
double ElectronPt[2]
Definition: ExoticaDQM.h:208
double MuonCharge[2]
Definition: ExoticaDQM.h:202
edm::Handle< edm::TriggerResults > TriggerResults_
Definition: ExoticaDQM.h:127
MonitorElement * monojet_PFJet_phi
Definition: ExoticaDQM.h:318
double monomuon_Muon_met_cut_
Definition: ExoticaDQM.h:348
double PFJetRapidity[2]
Definition: ExoticaDQM.h:188
MonitorElement * monojet_PFcemf
Definition: ExoticaDQM.h:325
MonitorElement * dimuon_Muon_pt
Definition: ExoticaDQM.h:253
MonitorElement * monophoton_PFMet
Definition: ExoticaDQM.h:383
virtual void analyzeMonoPhotons(edm::Event const &e)
Definition: ExoticaDQM.cc:791
double PhotonPhi[2]
Definition: ExoticaDQM.h:220
virtual void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:311
MonitorElement * monophoton_deltaPhiPhotonPFMet
Definition: ExoticaDQM.h:386
double monojet_PFJet_pt_cut_
Definition: ExoticaDQM.h:329
MonitorElement * diphoton_Photon_eta
Definition: ExoticaDQM.h:290
std::vector< MonitorElement * > dijet_PFJet_pt
Definition: ExoticaDQM.h:231
MonitorElement * monophoton_Photon_pt
Definition: ExoticaDQM.h:372
double ElectronPhi[2]
Definition: ExoticaDQM.h:210
MonitorElement * diphoton_Photon_pt
Definition: ExoticaDQM.h:287
int monophoton_countPhoton_
Definition: ExoticaDQM.h:391
MonitorElement * monomuon_PFMet
Definition: ExoticaDQM.h:340
reco::PFJetCollection DiJetpfjets
Definition: ExoticaDQM.h:158
edm::EDGetTokenT< reco::VertexCollection > VertexToken_
Definition: ExoticaDQM.h:130
MonitorElement * diphoton_Photon_sigmaietaieta_eb
Definition: ExoticaDQM.h:295
virtual ~ExoticaDQM()
Definition: ExoticaDQM.cc:168
MonitorElement * monoelectron_Electron_eta
Definition: ExoticaDQM.h:355
MonitorElement * monophoton_Photon_trksumptsolidconedr03
Definition: ExoticaDQM.h:380
MonitorElement * monophoton_Photon_e2x5e5x5
Definition: ExoticaDQM.h:382
MonitorElement * monophoton_PhotonMulti
Definition: ExoticaDQM.h:387
edm::EDGetTokenT< reco::CaloJetCollection > CaloJetToken_
Definition: ExoticaDQM.h:146
MonitorElement * monomuon_Charge
Definition: ExoticaDQM.h:339
reco::CaloJetCollection calojets
Definition: ExoticaDQM.h:148
MonitorElement * diphoton_deltaPhiPhoton1Photon2
Definition: ExoticaDQM.h:304
MonitorElement * monojet_PFJetPtOverPFMet
Definition: ExoticaDQM.h:321
double monophoton_Photon_met_cut_
Definition: ExoticaDQM.h:390
int monojet_countPFJet_
Definition: ExoticaDQM.h:331
double PhotonE1x5E5x5[2]
Definition: ExoticaDQM.h:224
MonitorElement * monophoton_PhotonPtOverPFMet
Definition: ExoticaDQM.h:384
double PhotonEta[2]
Definition: ExoticaDQM.h:218
MonitorElement * monojet_PFnemf
Definition: ExoticaDQM.h:326
double PFJetPy[2]
Definition: ExoticaDQM.h:184
edm::EDGetTokenT< EERecHitCollection > ecalEndcapRecHitToken_
Definition: ExoticaDQM.h:169
double PhotonEnergy[2]
Definition: ExoticaDQM.h:215
MonitorElement * dimuon_Muon_phi
Definition: ExoticaDQM.h:255
MonitorElement * dielectron_deltaRElectron1Electron2
Definition: ExoticaDQM.h:276
MonitorElement * monophoton_Photon_et
Definition: ExoticaDQM.h:374
std::vector< MonitorElement * > dijet_PFJet_phi
Definition: ExoticaDQM.h:233
int nLumiSecs_
Definition: ExoticaDQM.h:119
MonitorElement * diphoton_invMassPhoton1Photon2
Definition: ExoticaDQM.h:306
MonitorElement * monoelectron_Charge
Definition: ExoticaDQM.h:357
double ElectronPx[2]
Definition: ExoticaDQM.h:206
std::vector< PFJet > PFJetCollection
collection of PFJet objects
edm::Handle< reco::CaloMETCollection > caloMETCollection_
Definition: ExoticaDQM.h:162
std::vector< MonitorElement * > dijet_PFchef
Definition: ExoticaDQM.h:240
MonitorElement * dielectron_Electron_pt
Definition: ExoticaDQM.h:270
MonitorElement * dimuon_deltaPhiMuon1Muon2
Definition: ExoticaDQM.h:258
MonitorElement * dielectron_invMassElectron1Electron2
Definition: ExoticaDQM.h:277
MonitorElement * diphoton_Photon_hovere_eb
Definition: ExoticaDQM.h:293
edm::EDGetTokenT< reco::PFJetCollection > PFJetToken_
Definition: ExoticaDQM.h:150
MonitorElement * diphoton_Photon_e1x5e5x5_eb
Definition: ExoticaDQM.h:299
MonitorElement * monomuon_MuonPtOverPFMet
Definition: ExoticaDQM.h:342
std::vector< MonitorElement * > dijet_PFJet_mass
Definition: ExoticaDQM.h:235
MonitorElement * diphoton_Photon_phi
Definition: ExoticaDQM.h:292
MonitorElement * monoelectron_Electron_pt
Definition: ExoticaDQM.h:354
std::vector< MonitorElement * > dijet_PFnemf
Definition: ExoticaDQM.h:243
double PFJetCEMF[2]
Definition: ExoticaDQM.h:193
MonitorElement * monoelectron_TransverseMass
Definition: ExoticaDQM.h:362
MonitorElement * dimuon_MuonMulti
Definition: ExoticaDQM.h:261
virtual void analyzeDiElectrons(edm::Event const &e)
Definition: ExoticaDQM.cc:675
MonitorElement * diphoton_deltaRPhoton1Photon2
Definition: ExoticaDQM.h:305
MonitorElement * monomuon_Muon_pt
Definition: ExoticaDQM.h:336
double PFJetEta[2]
Definition: ExoticaDQM.h:186
MonitorElement * dimuon_Muon_eta
Definition: ExoticaDQM.h:254
double PFJetMass[2]
Definition: ExoticaDQM.h:189
std::vector< edm::InputTag > DiJetPFJetCollection_
Definition: ExoticaDQM.h:156
MonitorElement * dimuon_Charge
Definition: ExoticaDQM.h:256
std::vector< MonitorElement * > dijet_deltaPhiPFJet1PFJet2
Definition: ExoticaDQM.h:236
MonitorElement * monoelectron_ElectronMulti
Definition: ExoticaDQM.h:363
std::vector< std::string > HltPaths_
Definition: ExoticaDQM.h:125
double MuonPhi[2]
Definition: ExoticaDQM.h:201
std::vector< MonitorElement * > dijet_PFcemf
Definition: ExoticaDQM.h:242
double PhotonSigmaIetaIeta[2]
Definition: ExoticaDQM.h:222
MonitorElement * dielectron_deltaEtaElectron1Electron2
Definition: ExoticaDQM.h:274
edm::EDGetTokenT< reco::PFMETCollection > PFMETToken_
Definition: ExoticaDQM.h:164
MonitorElement * monomuon_Muon_phi
Definition: ExoticaDQM.h:338
double MuonEta[2]
Definition: ExoticaDQM.h:200
double monoelectron_Electron_met_cut_
Definition: ExoticaDQM.h:366
double PhotonTrkSumPtSolidConeDR03[2]
Definition: ExoticaDQM.h:223
MonitorElement * diphoton_Photon_etasc
Definition: ExoticaDQM.h:291
double PFJetPhi[2]
Definition: ExoticaDQM.h:187
Definition: Run.h:43
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
edm::Handle< reco::PFMETCollection > pfMETCollection_
Definition: ExoticaDQM.h:165
bool isValidHltConfig_
Definition: ExoticaDQM.h:122
MonitorElement * monophoton_Photon_etasc
Definition: ExoticaDQM.h:376
edm::EDGetTokenT< EBRecHitCollection > ecalBarrelRecHitToken_
Definition: ExoticaDQM.h:168
MonitorElement * monophoton_Photon_eta
Definition: ExoticaDQM.h:375