CMS 3D CMS Logo

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