CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
METAnalyzer.h
Go to the documentation of this file.
1 #ifndef METAnalyzer_H
2 #define METAnalyzer_H
3 
18 #include <memory>
19 #include <fstream>
20 #include "TMath.h"
27 //
29 //
38 
40 
44 
58 
67 
70 
76 
83 
84 #include <map>
85 #include <string>
86 
87 class METAnalyzer : public DQMOneEDAnalyzer<> {
88 public:
91 
93  ~METAnalyzer() override;
94 
96  // void beginJob(void);
97  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
98 
99  // Book MonitorElements
100  //void bookMESet(std::string);
101  //void bookMonitorElement(std::string, bool);
102 
104  void analyze(const edm::Event&, const edm::EventSetup&) override;
105 
107  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
108 
110  void dqmEndRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
111  // void dqmEndRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
112  // Fill MonitorElements
113  void fillMESet(const edm::Event&,
114  std::string,
115  const reco::MET&,
116  const pat::MET*,
117  const reco::PFMET*,
118  const reco::CaloMET*,
120  std::map<std::string, MonitorElement*>&,
121  std::vector<bool>,
122  std::vector<bool>);
123  void fillMonitorElement(const edm::Event&,
124  std::string,
125  std::string,
126  const reco::MET&,
127  const pat::MET*,
128  const reco::PFMET*,
129  const reco::CaloMET*,
131  std::map<std::string, MonitorElement*>&,
132  bool,
133  bool,
134  std::vector<bool>,
135  std::vector<bool>);
136  void makeRatePlot(std::string, double);
137 
138  // bool selectHighPtJetEvent(const edm::Event&);
139  // bool selectLowPtJetEvent(const edm::Event&);
140  // bool selectWElectronEvent(const edm::Event&);
141  // bool selectWMuonEvent(const edm::Event&);
142 
143 private:
144  // Book MonitorElements
145  void bookMESet(std::string, DQMStore::IBooker&, std::map<std::string, MonitorElement*>&);
146  // Book MonitorElements
147  void bookMonitorElement(std::string, DQMStore::IBooker&, std::map<std::string, MonitorElement*>&, bool, bool, bool);
148 
149  // ----------member data ---------------------------
151  // Switch for verbosity
152  int verbose_;
153 
156 
162 
169 
172  edm::InputTag METFilterMiniAODLabel2_; //needed for RECO and reRECO differntiation
174 
175  std::vector<int> miniaodFilterIndex_;
176  int miniaodfilterdec; //if RECO set to 0, if reRECO set to 1, else to -1
177 
194 
198 
201 
203 
206 
209 
210  double ptThreshold_;
211 
216 
217  // list of Jet or MB HLT triggers
218  // std::vector<std::string > HLTPathsJetMBByName_;
219  std::vector<std::string> allTriggerNames_;
220  std::vector<int> allTriggerDecisions_;
221 
224 
226 
228  std::vector<GenericTriggerEventFlag*> triggerFolderEventFlag_;
229  std::vector<std::vector<std::string>> triggerFolderExpr_;
230  std::vector<std::string> triggerFolderLabels_;
231  std::vector<int> triggerFolderDecisions_;
232  // std::vector<MonitorElement* > triggerFolderME_;
233 
234  // GenericTriggerEventFlag * highPtJetEventFlag_;
235  // GenericTriggerEventFlag * lowPtJetEventFlag_;
236  // GenericTriggerEventFlag * minBiasEventFlag_;
237  // GenericTriggerEventFlag * highMETEventFlag_;
239  // GenericTriggerEventFlag * eleEventFlag_;
240  // GenericTriggerEventFlag * muonEventFlag_;
241  //
242  // std::vector<std::string> highPtJetExpr_;
243  // std::vector<std::string> lowPtJetExpr_;
244  // std::vector<std::string> highMETExpr_;
245  // // std::vector<std::string> lowMETExpr_;
246  // std::vector<std::string> muonExpr_;
247  // std::vector<std::string> elecExpr_;
248  // std::vector<std::string> minbiasExpr_;
249  // MonitorElement* hTriggerName_HighPtJet;
250  // MonitorElement* hTriggerName_LowPtJet;
251  // MonitorElement* hTriggerName_MinBias;
252  // MonitorElement* hTriggerName_HighMET;
253  // // MonitorElement* hTriggerName_LowMET;
254  // MonitorElement* hTriggerName_Ele;
255  // MonitorElement* hTriggerName_Muon;
257 
259  std::vector<edm::ParameterSet> diagnosticsParameters_;
260 
262 
263  int nbinsPV_;
264  double nPVMin_;
265  double nPVMax_;
266 
267  int LSBegin_;
268  int LSEnd_;
269 
274 
275  // int trigJetMB_;
276  // int trigHighPtJet_;
277  // int trigLowPtJet_;
278  // int trigMinBias_;
279  // int trigHighMET_;
281  // int trigEle_;
282  // int trigMuon_;
283  // int trigPhysDec_;
284 
285  // double highPtJetThreshold_;
286  // double lowPtJetThreshold_;
287  // double highMETThreshold_;
288 
289  int numPV_;
290  // Et threshold for MET plots
291  // double etThreshold_;
292 
293  // HF calibration factor (in 31X applied by TcProducer)
294  //delete altogether not used anymore
295  double hfCalibFactor_; //
296 
297  // DCS filter
299 
300  std::vector<std::string> folderNames_;
301  //
303 
304  //trigger histos
305  // lines commented out have been removed to improve the bin usage of JetMET DQM
306 
307  //for all MET types
309  //only in for PF
310  // MonitorElement* meTriggerName_PhysDec;
311 
314  //MonitorElement* hNevents;
317  //MonitorElement* hEz;
321 
330 
333 
336 
339 
340  //CaloMET specific stuff
344 
345  //MonitorElement* hCaloEmEtFraction002;
346  //MonitorElement* hCaloEmEtFraction010;
348 
356 
359  //MonitorElement* hCaloEmEz;
362  //MonitorElement* hCaloEmSumET;
363 
366  //MonitorElement* hCaloHaEz;
369  //MonitorElement* hCaloHaSumET;
370 
371  //now PF only things
384  //MEs where we fill if the previous two bunches are empty (25 ns bunch spacing)
385  /*
386  MonitorElement* mePhotonEtFraction_BXm2BXm1Empty;
387  MonitorElement* meNeutralHadronEtFraction_BXm2BXm1Empty;
388  MonitorElement* meChargedHadronEtFraction_BXm2BXm1Empty;
389  MonitorElement* meMET_BXm2BXm1Empty;
390  MonitorElement* meSumET_BXm2BXm1Empty;
391 
392  MonitorElement* meMETPhiChargedHadronsBarrel_BXm2BXm1Empty;
393  MonitorElement* meMETPhiChargedHadronsEndcapPlus_BXm2BXm1Empty;
394  MonitorElement* meMETPhiChargedHadronsEndcapMinus_BXm2BXm1Empty;
395  MonitorElement* meMETPhiNeutralHadronsBarrel_BXm2BXm1Empty;
396  MonitorElement* meMETPhiNeutralHadronsEndcapPlus_BXm2BXm1Empty;
397  MonitorElement* meMETPhiNeutralHadronsEndcapMinus_BXm2BXm1Empty;
398  MonitorElement* meMETPhiPhotonsBarrel_BXm2BXm1Empty;
399  MonitorElement* meMETPhiPhotonsEndcapPlus_BXm2BXm1Empty;
400  MonitorElement* meMETPhiPhotonsEndcapMinus_BXm2BXm1Empty;
401  MonitorElement* meMETPhiHFHadronsPlus_BXm2BXm1Empty;
402  MonitorElement* meMETPhiHFHadronsMinus_BXm2BXm1Empty;
403  MonitorElement* meMETPhiHFEGammasPlus_BXm2BXm1Empty;
404  MonitorElement* meMETPhiHFEGammasMinus_BXm2BXm1Empty;
405  */
406  //MEs where we fill if the previous bunch is empty (25 ns bunch spacing)
412 
426 
427  //MEs where we fill if the previous bunch is filled (25 ns bunch spacing)
433 
447 
448  //MEs where we fill if two previous bunches are filled (25 ns bunch spacing)
449  /*
450  MonitorElement* meChargedHadronEtFraction_BXm2BXm1Filled;
451  MonitorElement* mePhotonEtFraction_BXm2BXm1Filled;
452  MonitorElement* meNeutralHadronEtFraction_BXm2BXm1Filled;
453  MonitorElement* meMET_BXm2BXm1Filled;
454  MonitorElement* meSumET_BXm2BXm1Filled;
455  */
462  //MonitorElement* meCHF_Barrel_BXm2BXm1Empty;
463  //MonitorElement* meCHF_EndcapPlus_BXm2BXm1Empty;
464  //MonitorElement* meCHF_EndcapMinus_BXm2BXm1Empty;
468  //MonitorElement* meCHF_Barrel_BXm2BXm1Filled;
469  //MonitorElement* meCHF_EndcapPlus_BXm2BXm1Filled;
470  //MonitorElement* meCHF_EndcapMinus_BXm2BXm1Filled;
471 
478  //MonitorElement* meNHF_Barrel_BXm2BXm1Empty;
479  //MonitorElement* meNHF_EndcapPlus_BXm2BXm1Empty;
480  //MonitorElement* meNHF_EndcapMinus_BXm2BXm1Empty;
484  //MonitorElement* meNHF_Barrel_BXm2BXm1Filled;
485  //MonitorElement* meNHF_EndcapPlus_BXm2BXm1Filled;
486  //MonitorElement* meNHF_EndcapMinus_BXm2BXm1Filled;
487 
494  //MonitorElement* mePhF_Barrel_BXm2BXm1Empty;
495  //MonitorElement* mePhF_EndcapPlus_BXm2BXm1Empty;
496  //MonitorElement* mePhF_EndcapMinus_BXm2BXm1Empty;
500  //MonitorElement* mePhF_Barrel_BXm2BXm1Filled;
501  //MonitorElement* mePhF_EndcapPlus_BXm2BXm1Filled;
502  //MonitorElement* mePhF_EndcapMinus_BXm2BXm1Filled;
503 
508  //MonitorElement* meHFHadF_Plus_BXm2BXm1Empty;
509  //MonitorElement* meHFHadF_Minus_BXm2BXm1Empty;
512  //MonitorElement* meHFHadF_Plus_BXm2BXm1Filled;
513  //MonitorElement* meHFHadF_Minus_BXm2BXm1Filled;
514 
519  //MonitorElement* meHFEMF_Plus_BXm2BXm1Empty;
520  //MonitorElement* meHFEMF_Minus_BXm2BXm1Empty;
523  //MonitorElement* meHFEMF_Plus_BXm2BXm1Filled;
524  //MonitorElement* meHFEMF_Minus_BXm2BXm1Filled;
525  /*
526  MonitorElement* meMETPhiChargedHadronsBarrel_BXm2BXm1Filled;
527  MonitorElement* meMETPhiChargedHadronsEndcapPlus_BXm2BXm1Filled;
528  MonitorElement* meMETPhiChargedHadronsEndcapMinus_BXm2BXm1Filled;
529  MonitorElement* meMETPhiNeutralHadronsBarrel_BXm2BXm1Filled;
530  MonitorElement* meMETPhiNeutralHadronsEndcapPlus_BXm2BXm1Filled;
531  MonitorElement* meMETPhiNeutralHadronsEndcapMinus_BXm2BXm1Filled;
532  MonitorElement* meMETPhiPhotonsBarrel_BXm2BXm1Filled;
533  MonitorElement* meMETPhiPhotonsEndcapPlus_BXm2BXm1Filled;
534  MonitorElement* meMETPhiPhotonsEndcapMinus_BXm2BXm1Filled;
535  MonitorElement* meMETPhiHFHadronsPlus_BXm2BXm1Filled;
536  MonitorElement* meMETPhiHFHadronsMinus_BXm2BXm1Filled;
537  MonitorElement* meMETPhiHFEGammasPlus_BXm2BXm1Filled;
538  MonitorElement* meMETPhiHFEGammasMinus_BXm2BXm1Filled;
539  */
540  double ptMinCand_;
541 
542  //PFcandidate maps
543  std::vector<MonitorElement*> profilePFCand_x_, profilePFCand_y_;
544  std::vector<std::string> profilePFCand_x_name_, profilePFCand_y_name_;
547 
561 
564 
565  // NPV profiles -->
566  //----------------------------------------------------------------------------
571 
582 
591 
600 
601  std::map<std::string, MonitorElement*> map_dijet_MEs;
602 
604  bool isPFMet_;
606 
609 };
610 #endif
MonitorElement * meCHF_EndcapMinus_BXm1Filled
Definition: METAnalyzer.h:467
edm::EDGetTokenT< reco::CaloMETCollection > caloMetToken_
Definition: METAnalyzer.h:197
Analysis-level MET class.
Definition: MET.h:40
MonitorElement * meMETPhiNeutralHadronsEndcapMinus_BXm1Empty
Definition: METAnalyzer.h:418
MonitorElement * hMExLS
Definition: METAnalyzer.h:334
MonitorElement * meMETPhiNeutralHadronsEndcapMinus
Definition: METAnalyzer.h:553
edm::InputTag CSCHaloResultTag_
Definition: METAnalyzer.h:182
edm::InputTag gtTag_
Definition: METAnalyzer.h:161
MonitorElement * mePhF_EndcapMinus_BXm1Empty
Definition: METAnalyzer.h:493
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
Definition: METAnalyzer.h:165
MonitorElement * hSumET
Definition: METAnalyzer.h:332
MonitorElement * meMETPhiChargedHadronsEndcapPlus_BXm1Filled
Definition: METAnalyzer.h:435
MonitorElement * meNeutralHadronEtFraction
Definition: METAnalyzer.h:374
MonitorElement * meMETPhiHFHadronsPlus_BXm1Filled
Definition: METAnalyzer.h:443
MonitorElement * meNeutralHadronEtFraction_profile
Definition: METAnalyzer.h:574
MonitorElement * mePhF_EndcapMinus_BXm1Filled
Definition: METAnalyzer.h:499
MonitorElement * meMETPhiChargedHadronsEndcapPlus
Definition: METAnalyzer.h:549
bool bypassAllDCSChecks_
Definition: METAnalyzer.h:271
MonitorElement * meHFHadF_Plus_BXm1Filled
Definition: METAnalyzer.h:510
MonitorElement * meNHF_EndcapPlus_BXm1Empty
Definition: METAnalyzer.h:476
edm::EDGetTokenT< bool > CSCHalo2015ResultToken_
Definition: METAnalyzer.h:185
MonitorElement * hMEy
Definition: METAnalyzer.h:316
MonitorElement * meMETPhiHFEGammasPlus
Definition: METAnalyzer.h:559
HLTConfigProvider hltConfig_
Definition: METAnalyzer.h:212
MonitorElement * hCaloMETPhi020
Definition: METAnalyzer.h:341
MonitorElement * hCaloEmMEx
Definition: METAnalyzer.h:357
MonitorElement * mePhotonEt
Definition: METAnalyzer.h:373
edm::EDGetTokenT< edm::TriggerResults > METFilterMiniAODToken2_
Definition: METAnalyzer.h:173
std::vector< GenericTriggerEventFlag * > triggerFolderEventFlag_
Definition: METAnalyzer.h:228
std::vector< edm::ParameterSet > diagnosticsParameters_
Definition: METAnalyzer.h:259
MonitorElement * meChargedHadronEtFraction_profile
Definition: METAnalyzer.h:576
MonitorElement * meMETPhiPhotonsEndcapPlus_BXm1Empty
Definition: METAnalyzer.h:420
std::vector< int > typePFCand_
Definition: METAnalyzer.h:546
MonitorElement * meZJets_u_perp_ZPt_150_290
Definition: METAnalyzer.h:598
std::vector< int > triggerFolderDecisions_
Definition: METAnalyzer.h:231
MonitorElement * meMETPhiHFHadronsMinus_BXm1Empty
Definition: METAnalyzer.h:423
MonitorElement * meMET_BXm1Filled
Definition: METAnalyzer.h:431
std::map< std::string, MonitorElement * > map_dijet_MEs
Definition: METAnalyzer.h:601
MonitorElement * meZJets_u_perp_ZPt_75_150
Definition: METAnalyzer.h:597
MonitorElement * hCaloHadEtInHF
Definition: METAnalyzer.h:352
double ptThreshold_
Definition: METAnalyzer.h:210
std::vector< double > MExPFCand_
Definition: METAnalyzer.h:545
bool runcosmics_
Definition: METAnalyzer.h:272
MonitorElement * meHFHadF_Minus_BXm1Empty
Definition: METAnalyzer.h:507
MonitorElement * meZJets_u_perp_ZPt_0_15
Definition: METAnalyzer.h:593
bool isCaloMet_
Definition: METAnalyzer.h:603
MonitorElement * meSumET_BXm1Empty
Definition: METAnalyzer.h:411
std::vector< ParameterSet > VParameterSet
Definition: ParameterSet.h:34
std::string MetType_
Definition: METAnalyzer.h:154
void bookMonitorElement(std::string, DQMStore::IBooker &, std::map< std::string, MonitorElement *> &, bool, bool, bool)
Definition: METAnalyzer.cc:253
bool onlyCleaned_
Definition: METAnalyzer.h:273
std::vector< std::string > allTriggerNames_
Definition: METAnalyzer.h:219
HLTConfigProvider FilterhltConfig_
Definition: METAnalyzer.h:213
edm::InputTag hbheNoiseFilterResultTag_
Definition: METAnalyzer.h:178
edm::EDGetTokenT< bool > EcalDeadCellTriggerToken_
Definition: METAnalyzer.h:187
MonitorElement * meZJets_u_par_ZPt_15_30
Definition: METAnalyzer.h:585
MonitorElement * meChargedHadronEtFraction_BXm1Empty
Definition: METAnalyzer.h:409
edm::InputTag hbheNoiseIsoFilterResultTag_
Definition: METAnalyzer.h:180
MonitorElement * hMEx
Definition: METAnalyzer.h:315
std::vector< std::string > profilePFCand_y_name_
Definition: METAnalyzer.h:544
std::vector< MonitorElement * > profilePFCand_y_
Definition: METAnalyzer.h:543
edm::EDGetTokenT< reco::PFMETCollection > pfMetToken_
Definition: METAnalyzer.h:196
MonitorElement * meZJets_u_par
Definition: METAnalyzer.h:583
MonitorElement * hCaloHadEtInHE
Definition: METAnalyzer.h:351
MonitorElement * hMET_eeBadScFilter
Definition: METAnalyzer.h:324
MonitorElement * meMETPhiPhotonsEndcapPlus
Definition: METAnalyzer.h:555
MonitorElement * hCaloHaMET
Definition: METAnalyzer.h:367
MonitorElement * meZJets_u_par_ZPt_75_150
Definition: METAnalyzer.h:588
MonitorElement * meNeutralHadronEtFraction_BXm1Empty
Definition: METAnalyzer.h:408
MonitorElement * meMETPhiChargedHadronsBarrel_BXm1Empty
Definition: METAnalyzer.h:413
MonitorElement * hCaloEmMEy
Definition: METAnalyzer.h:358
edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > l1gtTrigMenuToken_
Definition: METAnalyzer.h:202
bool fillCandidateMap_histos
Definition: METAnalyzer.h:608
MonitorElement * meHFEMF_Minus_BXm1Empty
Definition: METAnalyzer.h:518
std::vector< double > etaMaxPFCand_
Definition: METAnalyzer.h:545
MonitorElement * meZJets_u_perp_ZPt_30_55
Definition: METAnalyzer.h:595
MonitorElement * hCaloEtFractionHadronic
Definition: METAnalyzer.h:342
std::vector< std::string > triggerFolderLabels_
Definition: METAnalyzer.h:230
MonitorElement * hMEyLS
Definition: METAnalyzer.h:335
MonitorElement * meHFHadF_Minus
Definition: METAnalyzer.h:505
MonitorElement * meMETPhiHFEGammasPlus_BXm1Filled
Definition: METAnalyzer.h:445
MonitorElement * mePhotonEtFraction_BXm1Empty
Definition: METAnalyzer.h:407
double nPVMin_
Definition: METAnalyzer.h:264
edm::EDGetTokenT< bool > eeBadScFilterToken_
Definition: METAnalyzer.h:189
MonitorElement * meHFHadronEtFraction
Definition: METAnalyzer.h:380
edm::InputTag EcalDeadCellTriggerTag_
Definition: METAnalyzer.h:186
MonitorElement * meMET_BXm1Empty
Definition: METAnalyzer.h:410
MonitorElement * meCHF_EndcapMinus_BXm1Empty
Definition: METAnalyzer.h:461
MonitorElement * meNHF_EndcapPlus
Definition: METAnalyzer.h:473
std::string FolderName_
Definition: METAnalyzer.h:155
MonitorElement * meMETPhiPhotonsEndcapMinus_BXm1Empty
Definition: METAnalyzer.h:421
MonitorElement * hMET_logx
Definition: METAnalyzer.h:337
MonitorElement * hCaloEmEtInHF
Definition: METAnalyzer.h:353
MonitorElement * meHFEMEtFraction_profile
Definition: METAnalyzer.h:580
MonitorElement * mePhF_EndcapPlus
Definition: METAnalyzer.h:489
std::string HBHENoiseStringMiniAOD
Definition: METAnalyzer.h:222
MonitorElement * hCaloHadEtInHO
Definition: METAnalyzer.h:350
MonitorElement * meHFEMF_Plus_BXm1Filled
Definition: METAnalyzer.h:521
MonitorElement * meChargedHadronEtFraction
Definition: METAnalyzer.h:377
MonitorElement * meMETPhiPhotonsBarrel_BXm1Empty
Definition: METAnalyzer.h:419
MonitorElement * mePhF_Barrel_BXm1Empty
Definition: METAnalyzer.h:491
MonitorElement * meMEx_profile
Definition: METAnalyzer.h:567
MonitorElement * meNHF_Barrel
Definition: METAnalyzer.h:472
edm::EDGetTokenT< reco::JetCorrector > jetCorrectorToken_
Definition: METAnalyzer.h:225
MonitorElement * hMET
Definition: METAnalyzer.h:319
MonitorElement * meZJets_u_par_ZPt_290
Definition: METAnalyzer.h:590
MonitorElement * hMET_2
Definition: METAnalyzer.h:320
MonitorElement * hMET_HcalStripHaloFilter
Definition: METAnalyzer.h:329
MonitorElement * meCHF_EndcapMinus
Definition: METAnalyzer.h:458
MonitorElement * meMETPhiHFHadronsPlus_BXm1Empty
Definition: METAnalyzer.h:422
MonitorElement * hTrigger
Definition: METAnalyzer.h:313
MonitorElement * mePhF_Barrel_BXm1Filled
Definition: METAnalyzer.h:497
std::string HBHEIsoNoiseStringMiniAOD
Definition: METAnalyzer.h:223
MonitorElement * meCHF_EndcapPlus_BXm1Filled
Definition: METAnalyzer.h:466
std::vector< int > miniaodFilterIndex_
Definition: METAnalyzer.h:175
double hfCalibFactor_
Definition: METAnalyzer.h:295
MonitorElement * meZJets_u_par_ZPt_55_75
Definition: METAnalyzer.h:587
MonitorElement * meMETPhiNeutralHadronsEndcapMinus_BXm1Filled
Definition: METAnalyzer.h:439
MonitorElement * mePhF_EndcapPlus_BXm1Filled
Definition: METAnalyzer.h:498
MonitorElement * meZJets_u_perp
Definition: METAnalyzer.h:592
MonitorElement * meZJets_u_par_ZPt_0_15
Definition: METAnalyzer.h:584
std::vector< std::vector< std::string > > triggerFolderExpr_
Definition: METAnalyzer.h:229
MonitorElement * meMETPhiNeutralHadronsBarrel_BXm1Empty
Definition: METAnalyzer.h:416
MonitorElement * lumisecME
Definition: METAnalyzer.h:312
void makeRatePlot(std::string, double)
edm::InputTag vertexTag_
Definition: METAnalyzer.h:160
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
Definition: METAnalyzer.h:163
MonitorElement * meNeutralHadronEtFraction_BXm1Filled
Definition: METAnalyzer.h:429
MonitorElement * meNHF_Barrel_BXm1Filled
Definition: METAnalyzer.h:481
MonitorElement * meMETPhiNeutralHadronsEndcapPlus_BXm1Empty
Definition: METAnalyzer.h:417
bool fill_met_high_level_histo
Definition: METAnalyzer.h:607
void analyze(const edm::Event &, const edm::EventSetup &) override
Get the analysis.
MonitorElement * hMETPhi
Definition: METAnalyzer.h:331
MonitorElement * hCaloEmEtInEE
Definition: METAnalyzer.h:354
MonitorElement * hMET_HBHEIsoNoiseFilter
Definition: METAnalyzer.h:327
MonitorElement * mePhF_EndcapMinus
Definition: METAnalyzer.h:490
MonitorElement * meZJets_u_perp_ZPt_55_75
Definition: METAnalyzer.h:596
edm::EDGetTokenT< bool > hbheIsoNoiseFilterResultToken_
Definition: METAnalyzer.h:181
MonitorElement * meMETPhiHFEGammasMinus
Definition: METAnalyzer.h:560
MonitorElement * meMuonEt
Definition: METAnalyzer.h:379
edm::InputTag metCollectionLabel_
Definition: METAnalyzer.h:157
MonitorElement * meHFEMEt_profile
Definition: METAnalyzer.h:581
Definition: MET.h:41
void dqmEndRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Finish up a run.
MonitorElement * mePhotonEtFraction_BXm1Filled
Definition: METAnalyzer.h:428
MonitorElement * hSumET_logx
Definition: METAnalyzer.h:338
MonitorElement * meNHF_EndcapPlus_BXm1Filled
Definition: METAnalyzer.h:482
MonitorElement * hMET_HBHENoiseFilter
Definition: METAnalyzer.h:322
MonitorElement * meMETPhiPhotonsEndcapMinus_BXm1Filled
Definition: METAnalyzer.h:442
edm::InputTag CSCHalo2015ResultTag_
Definition: METAnalyzer.h:184
math::XYZPoint beamSpot_
Definition: METAnalyzer.h:302
MonitorElement * meZJets_u_par_ZPt_150_290
Definition: METAnalyzer.h:589
void fillMonitorElement(const edm::Event &, std::string, std::string, const reco::MET &, const pat::MET *, const reco::PFMET *, const reco::CaloMET *, const reco::Candidate::PolarLorentzVector &, std::map< std::string, MonitorElement *> &, bool, bool, std::vector< bool >, std::vector< bool >)
edm::ParameterSet cleaningParameters_
Definition: METAnalyzer.h:258
edm::EDGetTokenT< bool > hbheNoiseFilterResultToken_
Definition: METAnalyzer.h:179
MonitorElement * meCHF_Barrel_BXm1Filled
Definition: METAnalyzer.h:465
MonitorElement * meMETPhiHFHadronsMinus_BXm1Filled
Definition: METAnalyzer.h:444
MonitorElement * meZJets_u_perp_ZPt_290
Definition: METAnalyzer.h:599
MonitorElement * meHFEMF_Minus
Definition: METAnalyzer.h:516
std::vector< std::string > folderNames_
Definition: METAnalyzer.h:300
MonitorElement * hCaloHaMETPhi
Definition: METAnalyzer.h:368
MonitorElement * hCaloEmEtFraction
Definition: METAnalyzer.h:343
edm::InputTag eeBadScFilterTag_
Definition: METAnalyzer.h:188
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > jetID_ValueMapToken_
Definition: METAnalyzer.h:200
MonitorElement * meMETPhiChargedHadronsBarrel
Definition: METAnalyzer.h:548
edm::InputTag HcalStripHaloTag_
Definition: METAnalyzer.h:192
MonitorElement * meNHF_Barrel_BXm1Empty
Definition: METAnalyzer.h:475
std::string m_l1algoname_
Definition: METAnalyzer.h:207
MonitorElement * meChargedHadronEt
Definition: METAnalyzer.h:378
MonitorElement * meMETPhiChargedHadronsEndcapMinus_BXm1Filled
Definition: METAnalyzer.h:436
MonitorElement * hMETSig
Definition: METAnalyzer.h:318
MonitorElement * hCaloEmMETPhi
Definition: METAnalyzer.h:361
MonitorElement * meChargedHadronEt_profile
Definition: METAnalyzer.h:577
edm::EDGetTokenT< edm::TriggerResults > METFilterMiniAODToken_
Definition: METAnalyzer.h:171
MonitorElement * meCHF_Barrel_BXm1Empty
Definition: METAnalyzer.h:459
std::string hltPhysDec_
Definition: METAnalyzer.h:261
MonitorElement * meMETPhiNeutralHadronsEndcapPlus_BXm1Filled
Definition: METAnalyzer.h:438
std::vector< double > MEyPFCand_
Definition: METAnalyzer.h:545
MonitorElement * hCaloEmMET
Definition: METAnalyzer.h:360
PF Jet selector for pat::Jets.
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: METAnalyzer.h:215
MonitorElement * mePhotonEtFraction
Definition: METAnalyzer.h:372
edm::EDGetTokenT< bool > HcalStripHaloToken_
Definition: METAnalyzer.h:193
MonitorElement * hMET_EcalDeadCellBoundaryFilter
Definition: METAnalyzer.h:326
MonitorElement * mePhotonEt_profile
Definition: METAnalyzer.h:573
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
Definition: METAnalyzer.h:166
MonitorElement * meCHF_EndcapPlus
Definition: METAnalyzer.h:457
edm::EDGetTokenT< bool > CSCHaloResultToken_
Definition: METAnalyzer.h:183
edm::EDGetTokenT< bool > EcalDeadCellBoundaryToken_
Definition: METAnalyzer.h:191
JetMETDQMDCSFilter * DCSFilter_
Definition: METAnalyzer.h:298
MonitorElement * meZJets_u_perp_ZPt_15_30
Definition: METAnalyzer.h:594
Jet selector for pat::Jets and for CaloJets.
MonitorElement * meZJets_u_par_ZPt_30_55
Definition: METAnalyzer.h:586
MonitorElement * meMETPhiHFEGammasMinus_BXm1Empty
Definition: METAnalyzer.h:425
MonitorElement * meElectronEt
Definition: METAnalyzer.h:376
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Initialize run-based parameters.
PFJetIDSelectionFunctor pfjetIDFunctorLoose
Definition: METAnalyzer.h:205
MonitorElement * meMET_profile
Definition: METAnalyzer.h:569
MonitorElement * meMETPhiChargedHadronsEndcapMinus
Definition: METAnalyzer.h:550
MonitorElement * meHFHadronEt
Definition: METAnalyzer.h:381
MonitorElement * hCaloEmEtInEB
Definition: METAnalyzer.h:355
MonitorElement * meMETPhiPhotonsBarrel
Definition: METAnalyzer.h:554
MonitorElement * hCaloHadEtInHB
Definition: METAnalyzer.h:349
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
MonitorElement * meHFHadF_Plus_BXm1Empty
Definition: METAnalyzer.h:506
MonitorElement * meMETPhiPhotonsBarrel_BXm1Filled
Definition: METAnalyzer.h:440
edm::EDGetTokenT< std::vector< reco::PFCandidate > > pflowToken_
Definition: METAnalyzer.h:562
double nPVMax_
Definition: METAnalyzer.h:265
edm::EDGetTokenT< pat::METCollection > patMetToken_
Definition: METAnalyzer.h:195
MonitorElement * meHFHadF_Minus_BXm1Filled
Definition: METAnalyzer.h:511
MonitorElement * meHFHadronEtFraction_profile
Definition: METAnalyzer.h:578
MonitorElement * meNHF_EndcapMinus_BXm1Empty
Definition: METAnalyzer.h:477
edm::InputTag triggerResultsLabel_
Definition: METAnalyzer.h:214
edm::ParameterSet parameters
Definition: METAnalyzer.h:150
MonitorElement * hMET_CSCTightHalo2015Filter
Definition: METAnalyzer.h:328
edm::InputTag EcalDeadCellBoundaryTag_
Definition: METAnalyzer.h:190
MonitorElement * meHFEMEtFraction
Definition: METAnalyzer.h:382
MonitorElement * hMET_CSCTightHaloFilter
Definition: METAnalyzer.h:323
METAnalyzer(const edm::ParameterSet &)
Constructor.
Definition: METAnalyzer.cc:42
edm::EDGetTokenT< reco::MuonCollection > MuonsToken_
Definition: METAnalyzer.h:168
MonitorElement * meHFEMF_Minus_BXm1Filled
Definition: METAnalyzer.h:522
MonitorElement * meMETPhiChargedHadronsEndcapMinus_BXm1Empty
Definition: METAnalyzer.h:415
edm::InputTag METFilterMiniAODLabel2_
Definition: METAnalyzer.h:172
MonitorElement * hCaloEmEtFraction020
Definition: METAnalyzer.h:347
MonitorElement * meHFEMF_Plus_BXm1Empty
Definition: METAnalyzer.h:517
double ptMinCand_
Definition: METAnalyzer.h:540
MonitorElement * mePhF_EndcapPlus_BXm1Empty
Definition: METAnalyzer.h:492
edm::VParameterSet triggerSelectedSubFolders_
Definition: METAnalyzer.h:227
std::vector< int > countsPFCand_
Definition: METAnalyzer.h:546
MonitorElement * meMETPhiHFHadronsPlus
Definition: METAnalyzer.h:557
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtToken_
Definition: METAnalyzer.h:164
MonitorElement * hCaloHaMEx
Definition: METAnalyzer.h:364
std::vector< int > etaNBinsPFCand_
Definition: METAnalyzer.h:546
MonitorElement * hCaloHaMEy
Definition: METAnalyzer.h:365
MonitorElement * hMET_EcalDeadCellTriggerFilter
Definition: METAnalyzer.h:325
bool bypassAllPVChecks_
Definition: METAnalyzer.h:270
int miniaodfilterdec
Definition: METAnalyzer.h:176
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Inizialize parameters for histo binning.
Definition: METAnalyzer.cc:198
MonitorElement * meHFEMEt
Definition: METAnalyzer.h:383
std::vector< double > etaMinPFCand_
Definition: METAnalyzer.h:545
~METAnalyzer() override
Destructor.
Definition: METAnalyzer.cc:189
MonitorElement * meChargedHadronEtFraction_BXm1Filled
Definition: METAnalyzer.h:430
MonitorElement * meMETPhiHFEGammasMinus_BXm1Filled
Definition: METAnalyzer.h:446
MonitorElement * meMEy_profile
Definition: METAnalyzer.h:568
edm::InputTag inputJetIDValueMap
Definition: METAnalyzer.h:199
edm::InputTag hcalNoiseRBXCollectionTag_
Definition: METAnalyzer.h:158
MonitorElement * meMETPhiPhotonsEndcapPlus_BXm1Filled
Definition: METAnalyzer.h:441
MonitorElement * meHFEMF_Plus
Definition: METAnalyzer.h:515
std::vector< std::string > profilePFCand_x_name_
Definition: METAnalyzer.h:544
MonitorElement * meSumET_profile
Definition: METAnalyzer.h:570
edm::InputTag METFilterMiniAODLabel_
Definition: METAnalyzer.h:170
MonitorElement * meMETPhiHFEGammasPlus_BXm1Empty
Definition: METAnalyzer.h:424
MonitorElement * meMETPhiNeutralHadronsBarrel
Definition: METAnalyzer.h:551
JetIDSelectionFunctor jetIDFunctorLoose
Definition: METAnalyzer.h:204
edm::InputTag jetCollectionLabel_
Definition: METAnalyzer.h:159
edm::EDGetTokenT< pat::JetCollection > patJetsToken_
Definition: METAnalyzer.h:167
bool hTriggerLabelsIsSet_
Definition: METAnalyzer.h:308
MonitorElement * meCHF_Barrel
Definition: METAnalyzer.h:456
bool isMiniAODMet_
Definition: METAnalyzer.h:605
MonitorElement * meHFHadronEt_profile
Definition: METAnalyzer.h:579
MonitorElement * meMETPhiPhotonsEndcapMinus
Definition: METAnalyzer.h:556
MonitorElement * hMETRate
Definition: METAnalyzer.h:256
std::vector< MonitorElement * > profilePFCand_x_
Definition: METAnalyzer.h:543
MonitorElement * meNeutralHadronEt_profile
Definition: METAnalyzer.h:575
MonitorElement * meHFHadF_Plus
Definition: METAnalyzer.h:504
MonitorElement * meCHF_EndcapPlus_BXm1Empty
Definition: METAnalyzer.h:460
MonitorElement * mePhF_Barrel
Definition: METAnalyzer.h:488
MonitorElement * mePhotonEtFraction_profile
Definition: METAnalyzer.h:572
void bookMESet(std::string, DQMStore::IBooker &, std::map< std::string, MonitorElement *> &)
Definition: METAnalyzer.cc:226
MonitorElement * meMETPhiChargedHadronsEndcapPlus_BXm1Empty
Definition: METAnalyzer.h:414
MonitorElement * meMETPhiNeutralHadronsBarrel_BXm1Filled
Definition: METAnalyzer.h:437
MonitorElement * meMETPhiHFHadronsMinus
Definition: METAnalyzer.h:558
std::vector< int > allTriggerDecisions_
Definition: METAnalyzer.h:220
MonitorElement * meMETPhiChargedHadronsBarrel_BXm1Filled
Definition: METAnalyzer.h:434
edm::EDGetTokenT< std::vector< pat::PackedCandidate > > pflowPackedToken_
Definition: METAnalyzer.h:563
Definition: Run.h:45
MonitorElement * meNHF_EndcapMinus
Definition: METAnalyzer.h:474
MonitorElement * meSumET_BXm1Filled
Definition: METAnalyzer.h:432
void fillMESet(const edm::Event &, std::string, const reco::MET &, const pat::MET *, const reco::PFMET *, const reco::CaloMET *, const reco::Candidate::PolarLorentzVector &, std::map< std::string, MonitorElement *> &, std::vector< bool >, std::vector< bool >)
MonitorElement * meNHF_EndcapMinus_BXm1Filled
Definition: METAnalyzer.h:483
int m_bitAlgTechTrig_
Definition: METAnalyzer.h:208
MonitorElement * meMETPhiNeutralHadronsEndcapPlus
Definition: METAnalyzer.h:552
MonitorElement * meNeutralHadronEt
Definition: METAnalyzer.h:375
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38