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