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
18 
27 
32 
34 
35 // ParticleFlow
37 
38 // EGamma
43 
44 // Muon
49 
50 // Tau
54 
55 // Jets
59 
60 // Photon
63 
64 // MET
72 
73 //
76 
77 #include <iostream>
78 #include <fstream>
79 #include <string>
80 #include <vector>
81 #include <map>
82 
83 class DQMStore;
84 
86 
87 public:
88 
89  ExoticaDQM(const edm::ParameterSet& ps);
90  virtual ~ExoticaDQM();
91 
92 protected:
93 
94  virtual void beginJob();
95  virtual void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
96  virtual void analyze(edm::Event const& e, edm::EventSetup const& eSetup);
97  virtual void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
98  virtual void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
99  virtual void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
100  virtual void endJob();
101 
102  //Diagnostic
103  virtual void analyzeMultiJets(edm::Event const& e);
104  virtual void analyzeMultiJetsTrigger(edm::Event const& e);
105 
106  virtual void analyzeLongLived(edm::Event const& e);
107  virtual void analyzeLongLivedTrigger(edm::Event const& e);
108 
109  virtual void analyzeEventInterpretation(edm::Event const& e, edm::EventSetup const& eSetup);
110 
111  //
112  //virtual void analyzeTopLike(edm::Event const& e);
113  //virtual void analyzeTopLikeTrigger(edm::Event const& e);
114  //
115  //virtual void analyzeLeptonJet(edm::Event const& e);
116  //virtual void analyzeLeptonJetTrigger(edm::Event const& e);
117  //
118  //virtual void analyzeNonHadronic(edm::Event const& e);
119  //virtual void analyzeNonHadronicTrigger(edm::Event const& e);
120 
121 private:
122 
123  void bookHistos(DQMStore * bei );
124 
125  unsigned long long m_cacheID_;
130  float pi;
131 
135 
136  // Variables from config file
138  std::vector<std::string> theTriggerForMultiJetsList;
139  std::vector<std::string> theTriggerForLongLivedList;
141 
142 
143  // Electrons
146  //
150 
151 
152  // Muons
155  //
159 
160 
161  // Taus
164  //
167 
168 
169  // Photons
172  //
176 
177 
178  // Jets
182  //
186  //
190 
191 
192  // MET
195  //
198  //
201 
203  // Parameters
205  // Cuts - MultiJets
206  // inputs
213  //
215  //
216  double CaloJetPx[2];
217  double CaloJetPy[2];
218  double CaloJetPt[2];
219  double CaloJetEta[2];
220  double CaloJetPhi[2];
221  double CaloJetEMF[2];
222  double CaloJetfHPD[2];
223  double CaloJetn90[2];
224  //
225  double PFJetPx[2];
226  double PFJetPy[2];
227  double PFJetPt[2];
228  double PFJetEta[2];
229  double PFJetPhi[2];
230  double PFJetNHEF[2];
231  double PFJetCHEF[2];
232  double PFJetNEMF[2];
233  double PFJetCEMF[2];
234 
235  // Cuts - Long Lived
236  //
237 
238  // Cuts - EI
239  //
240  double PFJetEIPx;
241  double PFJetEIPy;
242  double PFJetEIPt;
243  double PFJetEIEta;
244  double PFJetEIPhi;
245  double PFJetEINHEF;
246  double PFJetEICHEF;
247  double PFJetEINEMF;
248  double PFJetEICEMF;
249 
251  // Histograms
253  // Histograms - MultiJets
254  //
271  // Histograms - MultiJets Trigger
272  //
273  // Histograms - LongLived
274  //
277  // Histograms - LongLived Trigger
278  //
279  // Histograms - EIComparison
284 
285 };
286 
287 
288 #endif
edm::Handle< reco::PhotonCollection > PhotonCollection_
Definition: ExoticaDQM.h:171
edm::InputTag CaloJetLabel_
Definition: ExoticaDQM.h:179
edm::InputTag TauLabel_
Definition: ExoticaDQM.h:162
reco::PFJetCollection pfjetsEI
Definition: ExoticaDQM.h:189
edm::InputTag theTriggerResultsCollection
Definition: ExoticaDQM.h:137
virtual void analyzeLongLivedTrigger(edm::Event const &e)
Definition: ExoticaDQM.cc:473
std::vector< std::string > theTriggerForLongLivedList
Definition: ExoticaDQM.h:139
edm::Handle< edm::TriggerResults > triggerResults_
Definition: ExoticaDQM.h:140
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: ExoticaDQM.cc:177
HLTConfigProvider hltConfigProvider_
Definition: ExoticaDQM.h:133
double PFJetEIPt
Definition: ExoticaDQM.h:242
virtual void analyzeMultiJetsTrigger(edm::Event const &e)
Definition: ExoticaDQM.cc:430
double PFJetEICEMF
Definition: ExoticaDQM.h:248
MonitorElement * ll_gammajet_sMinMinPhot
Definition: ExoticaDQM.h:276
double PFJetPt[2]
Definition: ExoticaDQM.h:227
ExoticaDQM(const edm::ParameterSet &ps)
Definition: ExoticaDQM.cc:87
edm::Handle< reco::PFCandidateCollection > pfPhotonCollectionEI_
Definition: ExoticaDQM.h:174
std::string PFJetCorService_
Definition: ExoticaDQM.h:208
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Definition: ExoticaDQM.cc:529
virtual void analyzeEventInterpretation(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:476
double CaloJetEta[2]
Definition: ExoticaDQM.h:219
float pi
Definition: ExoticaDQM.h:130
double PFJetCHEF[2]
Definition: ExoticaDQM.h:231
edm::Handle< reco::CaloJetCollection > caloJetCollection_
Definition: ExoticaDQM.h:180
MonitorElement * mj_monojet_pfJet1_pt
Definition: ExoticaDQM.h:259
reco::PFJetCollection pfjets
Definition: ExoticaDQM.h:185
MonitorElement * mj_monojet_pfnemf
Definition: ExoticaDQM.h:258
MonitorElement * ei_pfmuon_pt
Definition: ExoticaDQM.h:282
int leptonflavor
Definition: ExoticaDQM.h:129
MonitorElement * mj_monojet_pfJetMulti
Definition: ExoticaDQM.h:263
MonitorElement * mj_monojet_deltaPhiPFJet1PFJet2
Definition: ExoticaDQM.h:264
int mj_monojet_countPFJet
Definition: ExoticaDQM.h:214
double PFJetNEMF[2]
Definition: ExoticaDQM.h:232
double PFJetEIPy
Definition: ExoticaDQM.h:241
edm::InputTag PFJetLabel_
Definition: ExoticaDQM.h:183
edm::Handle< reco::MuonCollection > MuonCollection_
Definition: ExoticaDQM.h:154
edm::InputTag ElectronLabel_
Definition: ExoticaDQM.h:144
edm::Handle< reco::PFJetCollection > pfJetCollection_
Definition: ExoticaDQM.h:184
edm::Handle< reco::PFCandidateCollection > pfMuonCollectionEI_
Definition: ExoticaDQM.h:157
reco::PFCandidateCollection pfphotons
Definition: ExoticaDQM.h:175
double CaloJetEMF[2]
Definition: ExoticaDQM.h:221
double PFJetNHEF[2]
Definition: ExoticaDQM.h:230
reco::helper::JetIDHelper * jetID
Definition: ExoticaDQM.h:209
double PFJetEICHEF
Definition: ExoticaDQM.h:246
std::vector< std::string > theTriggerForMultiJetsList
Definition: ExoticaDQM.h:138
edm::InputTag PFTauLabelEI_
Definition: ExoticaDQM.h:165
double PFJetEIEta
Definition: ExoticaDQM.h:243
unsigned long long m_cacheID_
Definition: ExoticaDQM.h:125
MonitorElement * ll_gammajet_sMajMajPhot
Definition: ExoticaDQM.h:275
double PFJetPx[2]
Definition: ExoticaDQM.h:225
MonitorElement * ei_pfjet1_pt
Definition: ExoticaDQM.h:280
MonitorElement * mj_monojet_pfcemf
Definition: ExoticaDQM.h:257
MonitorElement * mj_monojet_pfJet1_eta
Definition: ExoticaDQM.h:261
virtual void beginJob()
Definition: ExoticaDQM.cc:150
double mj_monojet_ptPFMuon_
Definition: ExoticaDQM.h:211
edm::InputTag MuonLabel_
Definition: ExoticaDQM.h:153
std::string CaloJetCorService_
Definition: ExoticaDQM.h:207
MonitorElement * mj_monojet_pfJet2_eta
Definition: ExoticaDQM.h:262
int nEvents_
Definition: ExoticaDQM.h:127
MonitorElement * mj_pfMet_phi
Definition: ExoticaDQM.h:270
double CaloJetPt[2]
Definition: ExoticaDQM.h:218
edm::InputTag PFJetLabelEI_
Definition: ExoticaDQM.h:187
double CaloJetPy[2]
Definition: ExoticaDQM.h:217
void bookHistos(DQMStore *bei)
Definition: ExoticaDQM.cc:186
edm::Handle< reco::GsfElectronCollection > ElectronCollection_
Definition: ExoticaDQM.h:145
virtual void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:160
edm::Handle< reco::PFJetCollection > pfJetCollectionEI_
Definition: ExoticaDQM.h:188
edm::InputTag PFMETLabel_
Definition: ExoticaDQM.h:196
edm::InputTag PFElectronLabelEI_
Definition: ExoticaDQM.h:147
double CaloJetn90[2]
Definition: ExoticaDQM.h:223
virtual void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:234
double mj_monojet_ptPFJet_
Definition: ExoticaDQM.h:210
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
double PFJetEINHEF
Definition: ExoticaDQM.h:245
double mj_monojet_ptPFElectron_
Definition: ExoticaDQM.h:212
edm::Handle< reco::CaloTauCollection > TauCollection_
Definition: ExoticaDQM.h:163
double PFJetEIPx
Definition: ExoticaDQM.h:240
edm::InputTag CaloMETLabel_
Definition: ExoticaDQM.h:193
double CaloJetPhi[2]
Definition: ExoticaDQM.h:220
virtual ~ExoticaDQM()
Definition: ExoticaDQM.cc:142
MonitorElement * ei_pfmet_pt
Definition: ExoticaDQM.h:281
reco::PFCandidateCollection pfelectronsEI
Definition: ExoticaDQM.h:149
MonitorElement * ei_pfelectron_pt
Definition: ExoticaDQM.h:283
edm::InputTag PFMETLabelEI_
Definition: ExoticaDQM.h:199
double PFJetEINEMF
Definition: ExoticaDQM.h:247
reco::CaloJetCollection calojets
Definition: ExoticaDQM.h:181
edm::InputTag PhotonLabel_
Definition: ExoticaDQM.h:170
double CaloJetPx[2]
Definition: ExoticaDQM.h:216
edm::Handle< reco::PFTauCollection > pfTauCollectionEI_
Definition: ExoticaDQM.h:166
edm::InputTag PFMuonLabelEI_
Definition: ExoticaDQM.h:156
reco::CandidateCollection * leptonscands_
Definition: ExoticaDQM.h:128
double PFJetPy[2]
Definition: ExoticaDQM.h:226
virtual void analyzeMultiJets(edm::Event const &e)
Definition: ExoticaDQM.cc:384
int nLumiSecs_
Definition: ExoticaDQM.h:126
MonitorElement * mj_monojet_pfchef
Definition: ExoticaDQM.h:255
edm::Handle< reco::PFCandidateCollection > pfElectronCollectionEI_
Definition: ExoticaDQM.h:148
DQMStore * bei_
Definition: ExoticaDQM.h:132
std::vector< PFJet > PFJetCollection
collection of PFJet objects
MonitorElement * mj_caloMet_et
Definition: ExoticaDQM.h:267
edm::Handle< reco::CaloMETCollection > caloMETCollection_
Definition: ExoticaDQM.h:194
MonitorElement * mj_caloMet_phi
Definition: ExoticaDQM.h:268
MonitorElement * mj_monojet_pfJet2_pt
Definition: ExoticaDQM.h:260
MonitorElement * mj_monojet_deltaRPFJet1PFJet2
Definition: ExoticaDQM.h:265
MonitorElement * mj_pfMet_et
Definition: ExoticaDQM.h:269
MonitorElement * mj_monojet_pfmetnomu
Definition: ExoticaDQM.h:266
virtual void analyzeLongLived(edm::Event const &e)
Definition: ExoticaDQM.cc:433
virtual void endJob()
Definition: ExoticaDQM.cc:548
double PFJetCEMF[2]
Definition: ExoticaDQM.h:233
double PFJetEta[2]
Definition: ExoticaDQM.h:228
edm::Handle< reco::PFMETCollection > pfMETCollectionEI_
Definition: ExoticaDQM.h:200
virtual void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:541
MonitorElement * mj_monojet_pfnhef
Definition: ExoticaDQM.h:256
reco::PFCandidateCollection pfmuonsEI
Definition: ExoticaDQM.h:158
edm::InputTag PFPhotonLabelEI_
Definition: ExoticaDQM.h:173
double CaloJetfHPD[2]
Definition: ExoticaDQM.h:222
double PFJetPhi[2]
Definition: ExoticaDQM.h:229
Definition: Run.h:36
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
edm::Handle< reco::PFMETCollection > pfMETCollection_
Definition: ExoticaDQM.h:197
bool isValidHltConfig_
Definition: ExoticaDQM.h:134
double PFJetEIPhi
Definition: ExoticaDQM.h:244