CMS 3D CMS Logo

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