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 
202  // ECAL RECHITS
205 
207  // Parameters
209  // Cuts - MultiJets
210  // inputs
217  //
219  //
220  double CaloJetPx[2];
221  double CaloJetPy[2];
222  double CaloJetPt[2];
223  double CaloJetEta[2];
224  double CaloJetPhi[2];
225  double CaloJetEMF[2];
226  double CaloJetfHPD[2];
227  double CaloJetn90[2];
228  //
229  double PFJetPx[2];
230  double PFJetPy[2];
231  double PFJetPt[2];
232  double PFJetEta[2];
233  double PFJetPhi[2];
234  double PFJetNHEF[2];
235  double PFJetCHEF[2];
236  double PFJetNEMF[2];
237  double PFJetCEMF[2];
238 
239  // Cuts - Long Lived
240  //
241 
242  // Cuts - EI
243  //
244  double PFJetEIPx;
245  double PFJetEIPy;
246  double PFJetEIPt;
247  double PFJetEIEta;
248  double PFJetEIPhi;
249  double PFJetEINHEF;
250  double PFJetEICHEF;
251  double PFJetEINEMF;
252  double PFJetEICEMF;
253 
255  // Histograms
257  // Histograms - MultiJets
258  //
275  // Histograms - MultiJets Trigger
276  //
277  // Histograms - LongLived
278  //
281  // Histograms - LongLived Trigger
282  //
283  // Histograms - EIComparison
288 
289 };
290 
291 
292 #endif
293 
294 /* Local Variables: */
295 /* show-trailing-whitespace: t */
296 /* truncate-lines: t */
297 /* End: */
edm::EDGetTokenT< reco::CaloTauCollection > TauToken_
Definition: ExoticaDQM.h:162
edm::Handle< reco::PhotonCollection > PhotonCollection_
Definition: ExoticaDQM.h:171
edm::EDGetTokenT< reco::CaloMETCollection > CaloMETToken_
Definition: ExoticaDQM.h:193
reco::PFJetCollection pfjetsEI
Definition: ExoticaDQM.h:189
edm::InputTag theTriggerResultsCollection
Definition: ExoticaDQM.h:137
virtual void analyzeLongLivedTrigger(edm::Event const &e)
Definition: ExoticaDQM.cc:490
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:194
HLTConfigProvider hltConfigProvider_
Definition: ExoticaDQM.h:133
double PFJetEIPt
Definition: ExoticaDQM.h:246
virtual void analyzeMultiJetsTrigger(edm::Event const &e)
Definition: ExoticaDQM.cc:447
double PFJetEICEMF
Definition: ExoticaDQM.h:252
MonitorElement * ll_gammajet_sMinMinPhot
Definition: ExoticaDQM.h:280
double PFJetPt[2]
Definition: ExoticaDQM.h:231
ExoticaDQM(const edm::ParameterSet &ps)
Definition: ExoticaDQM.cc:87
edm::Handle< reco::PFCandidateCollection > pfPhotonCollectionEI_
Definition: ExoticaDQM.h:174
std::string PFJetCorService_
Definition: ExoticaDQM.h:212
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Definition: ExoticaDQM.cc:546
virtual void analyzeEventInterpretation(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:493
double CaloJetEta[2]
Definition: ExoticaDQM.h:223
float pi
Definition: ExoticaDQM.h:130
double PFJetCHEF[2]
Definition: ExoticaDQM.h:235
edm::Handle< reco::CaloJetCollection > caloJetCollection_
Definition: ExoticaDQM.h:180
MonitorElement * mj_monojet_pfJet1_pt
Definition: ExoticaDQM.h:263
reco::PFJetCollection pfjets
Definition: ExoticaDQM.h:185
MonitorElement * mj_monojet_pfnemf
Definition: ExoticaDQM.h:262
MonitorElement * ei_pfmuon_pt
Definition: ExoticaDQM.h:286
int leptonflavor
Definition: ExoticaDQM.h:129
MonitorElement * mj_monojet_pfJetMulti
Definition: ExoticaDQM.h:267
MonitorElement * mj_monojet_deltaPhiPFJet1PFJet2
Definition: ExoticaDQM.h:268
int mj_monojet_countPFJet
Definition: ExoticaDQM.h:218
double PFJetNEMF[2]
Definition: ExoticaDQM.h:236
double PFJetEIPy
Definition: ExoticaDQM.h:245
edm::EDGetTokenT< reco::PhotonCollection > PhotonToken_
Definition: ExoticaDQM.h:170
edm::Handle< reco::MuonCollection > MuonCollection_
Definition: ExoticaDQM.h:154
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:225
double PFJetNHEF[2]
Definition: ExoticaDQM.h:234
reco::helper::JetIDHelper * jetID
Definition: ExoticaDQM.h:213
double PFJetEICHEF
Definition: ExoticaDQM.h:250
std::vector< std::string > theTriggerForMultiJetsList
Definition: ExoticaDQM.h:138
edm::InputTag PFTauLabelEI_
Definition: ExoticaDQM.h:165
double PFJetEIEta
Definition: ExoticaDQM.h:247
unsigned long long m_cacheID_
Definition: ExoticaDQM.h:125
MonitorElement * ll_gammajet_sMajMajPhot
Definition: ExoticaDQM.h:279
edm::EDGetTokenT< reco::PFMETCollection > PFMETTokenEI_
Definition: ExoticaDQM.h:199
double PFJetPx[2]
Definition: ExoticaDQM.h:229
MonitorElement * ei_pfjet1_pt
Definition: ExoticaDQM.h:284
MonitorElement * mj_monojet_pfcemf
Definition: ExoticaDQM.h:261
MonitorElement * mj_monojet_pfJet1_eta
Definition: ExoticaDQM.h:265
virtual void beginJob()
Definition: ExoticaDQM.cc:163
double mj_monojet_ptPFMuon_
Definition: ExoticaDQM.h:215
std::string CaloJetCorService_
Definition: ExoticaDQM.h:211
edm::EDGetTokenT< reco::GsfElectronCollection > ElectronToken_
Definition: ExoticaDQM.h:144
MonitorElement * mj_monojet_pfJet2_eta
Definition: ExoticaDQM.h:266
int nEvents_
Definition: ExoticaDQM.h:127
MonitorElement * mj_pfMet_phi
Definition: ExoticaDQM.h:274
double CaloJetPt[2]
Definition: ExoticaDQM.h:222
double CaloJetPy[2]
Definition: ExoticaDQM.h:221
edm::EDGetTokenT< reco::MuonCollection > MuonToken_
Definition: ExoticaDQM.h:153
void bookHistos(DQMStore *bei)
Definition: ExoticaDQM.cc:203
edm::Handle< reco::GsfElectronCollection > ElectronCollection_
Definition: ExoticaDQM.h:145
virtual void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:173
edm::Handle< reco::PFJetCollection > pfJetCollectionEI_
Definition: ExoticaDQM.h:188
double CaloJetn90[2]
Definition: ExoticaDQM.h:227
edm::EDGetTokenT< reco::PFJetCollection > PFJetTokenEI_
Definition: ExoticaDQM.h:187
virtual void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:251
edm::EDGetTokenT< reco::PFCandidateCollection > PFElectronTokenEI_
Definition: ExoticaDQM.h:147
double mj_monojet_ptPFJet_
Definition: ExoticaDQM.h:214
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
double PFJetEINHEF
Definition: ExoticaDQM.h:249
edm::EDGetTokenT< reco::PFCandidateCollection > PFMuonTokenEI_
Definition: ExoticaDQM.h:156
double mj_monojet_ptPFElectron_
Definition: ExoticaDQM.h:216
edm::Handle< reco::CaloTauCollection > TauCollection_
Definition: ExoticaDQM.h:163
double PFJetEIPx
Definition: ExoticaDQM.h:244
double CaloJetPhi[2]
Definition: ExoticaDQM.h:224
virtual ~ExoticaDQM()
Definition: ExoticaDQM.cc:155
MonitorElement * ei_pfmet_pt
Definition: ExoticaDQM.h:285
reco::PFCandidateCollection pfelectronsEI
Definition: ExoticaDQM.h:149
MonitorElement * ei_pfelectron_pt
Definition: ExoticaDQM.h:287
edm::EDGetTokenT< reco::CaloJetCollection > CaloJetToken_
Definition: ExoticaDQM.h:179
double PFJetEINEMF
Definition: ExoticaDQM.h:251
reco::CaloJetCollection calojets
Definition: ExoticaDQM.h:181
double CaloJetPx[2]
Definition: ExoticaDQM.h:220
edm::Handle< reco::PFTauCollection > pfTauCollectionEI_
Definition: ExoticaDQM.h:166
reco::CandidateCollection * leptonscands_
Definition: ExoticaDQM.h:128
double PFJetPy[2]
Definition: ExoticaDQM.h:230
edm::EDGetTokenT< EERecHitCollection > ecalEndcapRecHitToken_
Definition: ExoticaDQM.h:204
virtual void analyzeMultiJets(edm::Event const &e)
Definition: ExoticaDQM.cc:401
int nLumiSecs_
Definition: ExoticaDQM.h:126
MonitorElement * mj_monojet_pfchef
Definition: ExoticaDQM.h:259
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:271
edm::Handle< reco::CaloMETCollection > caloMETCollection_
Definition: ExoticaDQM.h:194
MonitorElement * mj_caloMet_phi
Definition: ExoticaDQM.h:272
MonitorElement * mj_monojet_pfJet2_pt
Definition: ExoticaDQM.h:264
MonitorElement * mj_monojet_deltaRPFJet1PFJet2
Definition: ExoticaDQM.h:269
MonitorElement * mj_pfMet_et
Definition: ExoticaDQM.h:273
MonitorElement * mj_monojet_pfmetnomu
Definition: ExoticaDQM.h:270
virtual void analyzeLongLived(edm::Event const &e)
Definition: ExoticaDQM.cc:450
edm::EDGetTokenT< reco::PFJetCollection > PFJetToken_
Definition: ExoticaDQM.h:183
virtual void endJob()
Definition: ExoticaDQM.cc:565
double PFJetCEMF[2]
Definition: ExoticaDQM.h:237
double PFJetEta[2]
Definition: ExoticaDQM.h:232
edm::Handle< reco::PFMETCollection > pfMETCollectionEI_
Definition: ExoticaDQM.h:200
virtual void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: ExoticaDQM.cc:558
MonitorElement * mj_monojet_pfnhef
Definition: ExoticaDQM.h:260
reco::PFCandidateCollection pfmuonsEI
Definition: ExoticaDQM.h:158
edm::InputTag PFPhotonLabelEI_
Definition: ExoticaDQM.h:173
edm::EDGetTokenT< reco::PFMETCollection > PFMETToken_
Definition: ExoticaDQM.h:196
double CaloJetfHPD[2]
Definition: ExoticaDQM.h:226
double PFJetPhi[2]
Definition: ExoticaDQM.h:233
Definition: Run.h:41
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
edm::Handle< reco::PFMETCollection > pfMETCollection_
Definition: ExoticaDQM.h:197
bool isValidHltConfig_
Definition: ExoticaDQM.h:134
edm::EDGetTokenT< EBRecHitCollection > ecalBarrelRecHitToken_
Definition: ExoticaDQM.h:203
double PFJetEIPhi
Definition: ExoticaDQM.h:248