CMS 3D CMS Logo

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