CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
HLTObjectMonitor Class Reference

#include <DQM/HLTEvF/plugins/HLTObjectMonitor.cc>

Inheritance diagram for HLTObjectMonitor:

Classes

struct  hltPlot
 

Public Member Functions

 HLTObjectMonitor (const edm::ParameterSet &)
 
 ~HLTObjectMonitor () override
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
double dxyFinder (double, double, edm::Handle< reco::RecoChargedCandidateCollection >, edm::Handle< reco::BeamSpot >)
 
double get_wall_time (void)
 

Private Attributes

unordered_map< string, bool > acceptMap
 
hltPlot alphaT_
 
edm::ParameterSet alphaT_pset
 
edm::EDGetTokenT< trigger::TriggerEventaodTriggerToken_
 
string backupFolder
 
edm::EDGetTokenT< reco::BeamSpotbeamSpotToken_
 
hltPlot bJetCSVCalo_
 
edm::ParameterSet bJetCSVCalo_pset
 
hltPlot bJetCSVPF_
 
edm::ParameterSet bJetCSVPF_pset
 
hltPlot bJetEta_
 
edm::ParameterSet bJetEta_pset
 
hltPlot bJetPhi_
 
edm::ParameterSet bJetPhi_pset
 
hltPlot caloHtPt_
 
edm::ParameterSet caloHtPt_pset
 
hltPlot caloMetPhi_
 
edm::ParameterSet caloMetPhi_pset
 
hltPlot caloMetPt_
 
edm::ParameterSet caloMetPt_pset
 
edm::EDGetTokenT< reco::RecoChargedCandidateCollectionchargedCandToken_
 
edm::EDGetTokenT< vector< reco::CaloJet > > csvCaloJetsToken_
 
edm::EDGetTokenT< reco::JetTagCollectioncsvCaloTagsToken_
 
edm::EDGetTokenT< vector< reco::PFJet > > csvPfJetsToken_
 
edm::EDGetTokenT< reco::JetTagCollectioncsvPfTagsToken_
 
bool debugPrint
 
hltPlot diElecMass_
 
edm::ParameterSet diElecMass_pset
 
hltPlot diMuonLowMass_
 
edm::ParameterSet diMuonLowMass_pset
 
hltPlot diMuonMass_
 
edm::ParameterSet diMuonMass_pset
 
hltPlot electronEta_
 
edm::ParameterSet electronEta_pset
 
hltPlot electronPhi_
 
edm::ParameterSet electronPhi_pset
 
hltPlot electronPt_
 
edm::ParameterSet electronPt_pset
 
HLTConfigProvider hltConfig_
 
hltPlot jetAK8Mass_
 
edm::ParameterSet jetAK8Mass_pset
 
hltPlot jetAK8Pt_
 
edm::ParameterSet jetAK8Pt_pset
 
hltPlot jetPt_
 
edm::ParameterSet jetPt_pset
 
hltPlot l2muonEta_
 
edm::ParameterSet l2muonEta_pset
 
hltPlot l2muonPhi_
 
edm::ParameterSet l2muonPhi_pset
 
hltPlot l2muonPt_
 
edm::ParameterSet l2muonPt_pset
 
hltPlot l2NoBPTXmuonEta_
 
edm::ParameterSet l2NoBPTXmuonEta_pset
 
hltPlot l2NoBPTXmuonPhi_
 
edm::ParameterSet l2NoBPTXmuonPhi_pset
 
hltPlot l2NoBPTXmuonPt_
 
edm::ParameterSet l2NoBPTXmuonPt_pset
 
edm::EDGetTokenT< LumiScalersCollectionlumiScalersToken_
 
string mainShifterFolder
 
hltPlot mr_
 
edm::ParameterSet mr_pset
 
hltPlot muonDxy_
 
edm::ParameterSet muonDxy_pset
 
hltPlot muonEta_
 
edm::ParameterSet muonEta_pset
 
hltPlot muonPhi_
 
edm::ParameterSet muonPhi_pset
 
hltPlot muonPt_
 
edm::ParameterSet muonPt_pset
 
hltPlot pAL1DoubleMuZMass_
 
edm::ParameterSet pAL1DoubleMuZMass_pset
 
hltPlot pAL2DoubleMuZMass_
 
edm::ParameterSet pAL2DoubleMuZMass_pset
 
hltPlot pAL3DoubleMuZMass_
 
edm::ParameterSet pAL3DoubleMuZMass_pset
 
hltPlot pfHtPt_
 
edm::ParameterSet pfHtPt_pset
 
hltPlot pfMetPhi_
 
edm::ParameterSet pfMetPhi_pset
 
hltPlot pfMetPt_
 
edm::ParameterSet pfMetPt_pset
 
hltPlot photonEta_
 
edm::ParameterSet photonEta_pset
 
hltPlot photonPhi_
 
edm::ParameterSet photonPhi_pset
 
hltPlot photonPt_
 
edm::ParameterSet photonPt_pset
 
vector< hltPlot * > plotList
 
unordered_map< hltPlot *, edm::ParameterSet * > plotMap
 
string processName_
 
hltPlot rsq_
 
edm::ParameterSet rsq_pset
 
hltPlot tauPt_
 
edm::ParameterSet tauPt_pset
 
string topDirectoryName
 
edm::EDGetTokenT< edm::TriggerResultstriggerResultsToken_
 
hltPlot wallTime_
 
edm::ParameterSet wallTime_pset
 

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 70 of file HLTObjectMonitor.cc.

Constructor & Destructor Documentation

◆ HLTObjectMonitor()

HLTObjectMonitor::HLTObjectMonitor ( const edm::ParameterSet iConfig)
explicit

Definition at line 220 of file HLTObjectMonitor.cc.

222 {
223  //now do what ever initialization is needed
224  debugPrint = false;
225 
226  topDirectoryName = "HLT/ObjectMonitor";
227  mainShifterFolder = topDirectoryName + "/MainShifter";
228  backupFolder = topDirectoryName + "/Backup";
229 
230  //parse params
231  processName_ = iConfig.getParameter<string>("processName");
232 
233  rsq_pset = iConfig.getParameter<edm::ParameterSet>("rsq");
234  plotMap[&rsq_] = &rsq_pset;
235  mr_pset = iConfig.getParameter<edm::ParameterSet>("mr");
236  plotMap[&mr_] = &mr_pset;
237  alphaT_pset = iConfig.getParameter<edm::ParameterSet>("alphaT");
239  photonPt_pset = iConfig.getParameter<edm::ParameterSet>("photonPt");
241  photonEta_pset = iConfig.getParameter<edm::ParameterSet>("photonEta");
243  photonPhi_pset = iConfig.getParameter<edm::ParameterSet>("photonPhi");
245  muonPt_pset = iConfig.getParameter<edm::ParameterSet>("muonPt");
247  muonEta_pset = iConfig.getParameter<edm::ParameterSet>("muonEta");
249  muonPhi_pset = iConfig.getParameter<edm::ParameterSet>("muonPhi");
251  l2muonPt_pset = iConfig.getParameter<edm::ParameterSet>("l2muonPt");
253  l2muonEta_pset = iConfig.getParameter<edm::ParameterSet>("l2muonEta");
255  l2muonPhi_pset = iConfig.getParameter<edm::ParameterSet>("l2muonPhi");
257  l2NoBPTXmuonPt_pset = iConfig.getParameter<edm::ParameterSet>("l2NoBPTXmuonPt");
259  l2NoBPTXmuonEta_pset = iConfig.getParameter<edm::ParameterSet>("l2NoBPTXmuonEta");
261  l2NoBPTXmuonPhi_pset = iConfig.getParameter<edm::ParameterSet>("l2NoBPTXmuonPhi");
263  electronPt_pset = iConfig.getParameter<edm::ParameterSet>("electronPt");
265  electronEta_pset = iConfig.getParameter<edm::ParameterSet>("electronEta");
267  electronPhi_pset = iConfig.getParameter<edm::ParameterSet>("electronPhi");
269  jetPt_pset = iConfig.getParameter<edm::ParameterSet>("jetPt");
271  jetAK8Mass_pset = iConfig.getParameter<edm::ParameterSet>("jetAK8Mass");
273  diMuonLowMass_pset = iConfig.getParameter<edm::ParameterSet>("diMuonLowMass");
275  caloMetPt_pset = iConfig.getParameter<edm::ParameterSet>("caloMetPt");
277  caloMetPhi_pset = iConfig.getParameter<edm::ParameterSet>("caloMetPhi");
279  pfMetPt_pset = iConfig.getParameter<edm::ParameterSet>("pfMetPt");
281  pfMetPhi_pset = iConfig.getParameter<edm::ParameterSet>("pfMetPhi");
283  caloHtPt_pset = iConfig.getParameter<edm::ParameterSet>("caloHtPt");
285  pfHtPt_pset = iConfig.getParameter<edm::ParameterSet>("pfHtPt");
287  bJetPhi_pset = iConfig.getParameter<edm::ParameterSet>("bJetPhi");
289  bJetEta_pset = iConfig.getParameter<edm::ParameterSet>("bJetEta");
291  bJetCSVCalo_pset = iConfig.getParameter<edm::ParameterSet>("bJetCSVCalo");
293  bJetCSVPF_pset = iConfig.getParameter<edm::ParameterSet>("bJetCSVPF");
295  diMuonMass_pset = iConfig.getParameter<edm::ParameterSet>("diMuonMass");
297  pAL1DoubleMuZMass_pset = iConfig.getParameter<edm::ParameterSet>("pAL1DoubleMuZMass");
299  pAL2DoubleMuZMass_pset = iConfig.getParameter<edm::ParameterSet>("pAL2DoubleMuZMass");
301  pAL3DoubleMuZMass_pset = iConfig.getParameter<edm::ParameterSet>("pAL3DoubleMuZMass");
303  diElecMass_pset = iConfig.getParameter<edm::ParameterSet>("diElecMass");
305  muonDxy_pset = iConfig.getParameter<edm::ParameterSet>("muonDxy");
307  jetAK8Pt_pset = iConfig.getParameter<edm::ParameterSet>("jetAK8Pt");
309  tauPt_pset = iConfig.getParameter<edm::ParameterSet>("tauPt");
311  wallTime_pset = iConfig.getParameter<edm::ParameterSet>("wallTime");
313 
314  for (auto item = plotMap.begin(); item != plotMap.end(); item++) {
315  (*item->first).pathName = (*item->second).getParameter<string>("pathName");
316  (*item->first).moduleName = (*item->second).getParameter<string>("moduleName");
317  (*item->first).nBins = (*item->second).getParameter<int>("NbinsX");
318  (*item->first).xMin = (*item->second).getParameter<double>("Xmin");
319  (*item->first).xMax = (*item->second).getParameter<double>("Xmax");
320  (*item->first).xAxisLabel = (*item->second).getParameter<string>("axisLabel");
321  (*item->first).plotLabel = (*item->second).getParameter<string>("plotLabel");
322  (*item->first).displayInPrimary = (*item->second).getParameter<bool>("mainWorkspace");
323 
324  if ((*item->second).exists("pathName_OR")) {
325  (*item->first).pathNameOR = (*item->second).getParameter<string>("pathName_OR");
326  }
327  if ((*item->second).exists("moduleName_OR")) {
328  (*item->first).moduleNameOR = (*item->second).getParameter<string>("moduleName_OR");
329  }
330 
331  plotList.push_back(item->first);
332  }
333  plotMap.clear();
334 
335  //set Token(s)
336  triggerResultsToken_ = consumes<edm::TriggerResults>(edm::InputTag("TriggerResults", "", processName_));
337  aodTriggerToken_ = consumes<trigger::TriggerEvent>(edm::InputTag("hltTriggerSummaryAOD", "", processName_));
338  lumiScalersToken_ = consumes<LumiScalersCollection>(edm::InputTag("hltScalersRawToDigi", "", ""));
339  beamSpotToken_ = consumes<reco::BeamSpot>(edm::InputTag("hltOnlineBeamSpot", "", processName_));
340  chargedCandToken_ = consumes<vector<reco::RecoChargedCandidate>>(
341  edm::InputTag("hltL3NoFiltersNoVtxMuonCandidates", "", processName_));
343  consumes<reco::JetTagCollection>(edm::InputTag("hltCombinedSecondaryVertexBJetTagsCalo", "", processName_));
345  consumes<reco::JetTagCollection>(edm::InputTag("hltCombinedSecondaryVertexBJetTagsPF", "", processName_));
347  consumes<vector<reco::CaloJet>>(edm::InputTag("hltSelector8CentralJetsL1FastJet", "", processName_));
348  csvPfJetsToken_ = consumes<vector<reco::PFJet>>(edm::InputTag("hltPFJetForBtag", "", processName_));
349 }

References edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, B2GTnPMonitor_cfi::item, EcalCalibMonitorClient_cfi::moduleName, seedmultiplicitymonitor_newtracking_cfi::nBins, hltMonBTagIPClient_cfi::pathName, HLTObjectMonitor_cfi::plotLabel, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.

◆ ~HLTObjectMonitor()

HLTObjectMonitor::~HLTObjectMonitor ( )
override

Definition at line 351 of file HLTObjectMonitor.cc.

351  {
352  // do anything here that needs to be done at desctruction time
353  // (e.g. close files, deallocate resources etc.)
354 }

Member Function Documentation

◆ analyze()

void HLTObjectMonitor::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivate

single-object plots

Definition at line 361 of file HLTObjectMonitor.cc.

361  {
362  double start = get_wall_time();
363 
364  using namespace edm;
365 
366  if (debugPrint)
367  std::cout << "Inside analyze(). " << std::endl;
368 
369  // access trigger results
372  if (!triggerResults.isValid())
373  return;
374 
375  edm::Handle<trigger::TriggerEvent> aodTriggerEvent;
376  iEvent.getByToken(aodTriggerToken_, aodTriggerEvent);
377  if (!aodTriggerEvent.isValid())
378  return;
379 
380  //reset everything to not accepted at beginning of each event
381  unordered_map<string, bool> firedMap = acceptMap;
382  for (auto plot : plotList) //loop over paths
383  {
384  if (firedMap[plot->pathName])
385  continue;
386  bool triggerAccept = false;
387  const TriggerObjectCollection objects = aodTriggerEvent->getObjects();
388  edm::InputTag moduleFilter;
390  if (plot->pathIndex > 0 && triggerResults->accept(plot->pathIndex) && hltConfig_.saveTags(plot->moduleName)) {
391  moduleFilter = edm::InputTag(plot->moduleName, "", processName_);
392  pathName = plot->pathName;
393  triggerAccept = true;
394  } else if (plot->pathIndexOR > 0 && triggerResults->accept(plot->pathIndexOR) &&
395  hltConfig_.saveTags(plot->moduleNameOR)) {
396  if (firedMap[plot->pathNameOR])
397  continue;
398  moduleFilter = edm::InputTag(plot->moduleNameOR, "", processName_);
399  pathName = plot->pathNameOR;
400  triggerAccept = true;
401  }
402 
403  if (triggerAccept) {
404  unsigned int moduleFilterIndex = aodTriggerEvent->filterIndex(moduleFilter);
405 
406  if (moduleFilterIndex + 1 > aodTriggerEvent->sizeFilters())
407  return;
408  const Keys& keys = aodTriggerEvent->filterKeys(moduleFilterIndex);
409 
415 
416  //PFHT pt
417  if (pathName == pfHtPt_.pathName) {
418  for (const auto& key : keys)
419  pfHtPt_.ME->Fill(objects[key].pt());
420  }
421 
422  //jet pt
423  else if (pathName == jetPt_.pathName) {
424  for (const auto& key : keys)
425  jetPt_.ME->Fill(objects[key].pt());
426  }
427 
428  //photon pt + eta + phi (all use same path)
429  else if (pathName == photonPt_.pathName) {
430  for (const auto& key : keys) {
431  photonPt_.ME->Fill(objects[key].pt());
434  }
435  }
436 
437  //electron pt + eta + phi (all use same path)
438  else if (pathName == electronPt_.pathName) {
439  for (const auto& key : keys) {
443  }
444  }
445 
446  //muon pt + eta + phi (all use same path)
447  else if (pathName == muonPt_.pathName) {
448  for (const auto& key : keys) {
449  muonPt_.ME->Fill(objects[key].pt());
450  muonEta_.ME->Fill(objects[key].eta());
451  muonPhi_.ME->Fill(objects[key].phi());
452  }
453  }
454 
455  //l2muon pt
456  else if (pathName == l2muonPt_.pathName) {
457  for (const auto& key : keys) {
458  l2muonPt_.ME->Fill(objects[key].pt());
461  }
462  }
463 
464  //l2NoBPTXmuon pt
465  else if (pathName == l2NoBPTXmuonPt_.pathName) {
466  for (const auto& key : keys) {
470  }
471  }
472 
473  //Razor
474  else if (pathName == mr_.pathName) {
475  double onlineMR = 0, onlineRsq = 0;
476  for (const auto& key : keys) {
477  if (objects[key].id() == 0) { //the MET object containing MR and Rsq will show up with ID = 0
478  onlineMR = objects[key].px(); //razor variables stored in dummy reco::MET objects
479  onlineRsq = objects[key].py();
480  }
481  mr_.ME->Fill(onlineMR);
482  rsq_.ME->Fill(onlineRsq);
483  }
484  }
485 
486  //alphaT
487  else if (pathName == alphaT_.pathName) {
488  std::vector<ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double>>> alphaT_jets;
489  for (const auto& key : keys) {
490  ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double>> JetLVec(
491  objects[key].pt(), objects[key].eta(), objects[key].phi(), objects[key].mass());
492  alphaT_jets.push_back(JetLVec);
493  }
494 
495  float alphaT = AlphaT(alphaT_jets, false).value();
496  alphaT_.ME->Fill(alphaT);
497  }
498 
499  //tau pt
500  else if (pathName == tauPt_.pathName) {
501  for (const auto& key : keys)
502  tauPt_.ME->Fill(objects[key].pt());
503  }
504 
505  //caloMET pt+phi
506  else if (pathName == caloMetPt_.pathName) {
507  for (const auto& key : keys) {
510  }
511  }
512 
513  //caloHT pt
514  else if (pathName == caloHtPt_.pathName) {
515  for (const auto& key : keys) {
516  if (objects[key].id() == 89)
517  caloHtPt_.ME->Fill(objects[key].pt());
518  }
519  }
520 
521  //jetAK8 pt + mass
522  else if (pathName == jetAK8Pt_.pathName) {
523  for (const auto& key : keys) {
524  jetAK8Pt_.ME->Fill(objects[key].pt());
526  }
527  }
528 
529  //PFMET pt + phi
530  else if (pathName == pfMetPt_.pathName) {
531  for (const auto& key : keys) {
532  pfMetPt_.ME->Fill(objects[key].pt());
534  }
535  }
536 
537  // bjet eta + phi
539  for (const auto& key : keys) {
540  bJetEta_.ME->Fill(objects[key].eta());
541  bJetPhi_.ME->Fill(objects[key].phi());
542  }
543  }
544 
545  //b-tagging CSV information
546  if (pathName == bJetCSVPF_.pathName) {
548  iEvent.getByToken(csvPfTagsToken_, csvPfTags);
550  iEvent.getByToken(csvPfJetsToken_, csvPfJets);
551 
552  if (csvPfTags.isValid() && csvPfJets.isValid()) {
553  for (auto iter = csvPfTags->begin(); iter != csvPfTags->end(); iter++)
554  bJetCSVPF_.ME->Fill(iter->second);
555  }
556  }
557  if (pathName == bJetCSVCalo_.pathName) {
559  iEvent.getByToken(csvCaloTagsToken_, csvCaloTags);
561  iEvent.getByToken(csvCaloJetsToken_, csvCaloJets);
562 
563  if (csvCaloTags.isValid() && csvCaloJets.isValid()) {
564  for (auto iter = csvCaloTags->begin(); iter != csvCaloTags->end(); iter++)
565  bJetCSVCalo_.ME->Fill(iter->second);
566  }
567  }
568 
569  //muon dxy(use an unique path)
570  else if (pathName == muonDxy_.pathName) {
572  iEvent.getByToken(chargedCandToken_, recoChargedCands);
573  edm::Handle<reco::BeamSpot> recoBeamSpot;
574  iEvent.getByToken(beamSpotToken_, recoBeamSpot);
575  double muon_dxy;
576 
577  if (recoChargedCands.isValid() && recoBeamSpot.isValid()) {
578  for (const auto& key : keys) {
579  muon_dxy = dxyFinder(objects[key].eta(), objects[key].phi(), recoChargedCands, recoBeamSpot);
580  if (muon_dxy != -99.)
581  muonDxy_.ME->Fill(muon_dxy);
582  }
583  }
584  }
585 
586  // ////////////////////////////////
587  // ///
588  // /// double-object plots
589  // ///
590  // ////////////////////////////////
591 
592  //double muon low mass
593  else if (pathName == diMuonLowMass_.pathName) {
594  const double mu_mass(.105658);
595  unsigned int kCnt0 = 0;
596  for (const auto& key0 : keys) {
597  unsigned int kCnt1 = 0;
598  for (const auto& key1 : keys) {
599  if (key0 != key1 &&
600  kCnt1 > kCnt0) // avoid filling hists with same objs && avoid double counting separate objs
601  {
602  if (abs(objects[key0].id()) == 13 &&
603  (objects[key0].id() + objects[key1].id() == 0)) // check muon id and dimuon charge
604  {
605  TLorentzVector mu1, mu2, dimu;
606  mu1.SetPtEtaPhiM(objects[key0].pt(), objects[key0].eta(), objects[key0].phi(), mu_mass);
607  mu2.SetPtEtaPhiM(objects[key1].pt(), objects[key1].eta(), objects[key1].phi(), mu_mass);
608  dimu = mu1 + mu2;
609  diMuonLowMass_.ME->Fill(dimu.M());
610  }
611  }
612  kCnt1 += 1;
613  }
614  kCnt0 += 1;
615  }
616  } //end double object plot
617 
619  const double mu_mass(.105658);
620  unsigned int kCnt0 = 0;
621  for (const auto& key0 : keys) {
622  unsigned int kCnt1 = 0;
623  for (const auto& key1 : keys) {
624  if (key0 != key1 &&
625  kCnt1 > kCnt0) // avoid filling hists with same objs && avoid double counting separate objs
626  {
627  if (abs(objects[key0].id()) == 13 &&
628  (objects[key0].id() + objects[key1].id() == 0)) // check muon id and dimuon charge
629  {
630  TLorentzVector mu1, mu2, dimu;
631  mu1.SetPtEtaPhiM(objects[key0].pt(), objects[key0].eta(), objects[key0].phi(), mu_mass);
632  mu2.SetPtEtaPhiM(objects[key1].pt(), objects[key1].eta(), objects[key1].phi(), mu_mass);
633  dimu = mu1 + mu2;
634  diMuonMass_.ME->Fill(dimu.M());
635  }
636  }
637  kCnt1 += 1;
638  }
639  kCnt0 += 1;
640  }
641  }
642 
643  else if (pathName == pAL1DoubleMuZMass_.pathName) {
644  const double mu_mass(.105658);
645  unsigned int kCnt0 = 0;
646  for (const auto& key0 : keys) {
647  unsigned int kCnt1 = 0;
648  for (const auto& key1 : keys) {
649  if (key0 != key1 &&
650  kCnt1 > kCnt0) // avoid filling hists with same objs && avoid double counting separate objs
651  {
652  // if (abs(objects[key0].id()) == 13 && (objects[key0].id()+objects[key1].id()==0)) // id is not filled for l1 stage2 muons
653  // {
654  TLorentzVector mu1, mu2, dimu;
655  mu1.SetPtEtaPhiM(objects[key0].pt(), objects[key0].eta(), objects[key0].phi(), mu_mass);
656  mu2.SetPtEtaPhiM(objects[key1].pt(), objects[key1].eta(), objects[key1].phi(), mu_mass);
657  dimu = mu1 + mu2;
658  if (dimu.M() > pAL1DoubleMuZMass_.xMin && dimu.M() < pAL1DoubleMuZMass_.xMax)
659  pAL1DoubleMuZMass_.ME->Fill(dimu.M());
660  // }
661  }
662  kCnt1 += 1;
663  }
664  kCnt0 += 1;
665  }
666  }
667 
668  else if (pathName == pAL2DoubleMuZMass_.pathName) {
669  const double mu_mass(.105658);
670  unsigned int kCnt0 = 0;
671  for (const auto& key0 : keys) {
672  unsigned int kCnt1 = 0;
673  for (const auto& key1 : keys) {
674  if (key0 != key1 &&
675  kCnt1 > kCnt0) // avoid filling hists with same objs && avoid double counting separate objs
676  {
677  if (abs(objects[key0].id()) == 13 &&
678  (objects[key0].id() + objects[key1].id() == 0)) // check muon id and dimuon charge
679  {
680  TLorentzVector mu1, mu2, dimu;
681  mu1.SetPtEtaPhiM(objects[key0].pt(), objects[key0].eta(), objects[key0].phi(), mu_mass);
682  mu2.SetPtEtaPhiM(objects[key1].pt(), objects[key1].eta(), objects[key1].phi(), mu_mass);
683  dimu = mu1 + mu2;
684  if (dimu.M() > pAL2DoubleMuZMass_.xMin && dimu.M() < pAL2DoubleMuZMass_.xMax)
685  pAL2DoubleMuZMass_.ME->Fill(dimu.M());
686  }
687  }
688  kCnt1 += 1;
689  }
690  kCnt0 += 1;
691  }
692  }
693 
694  else if (pathName == pAL3DoubleMuZMass_.pathName) {
695  const double mu_mass(.105658);
696  unsigned int kCnt0 = 0;
697  for (const auto& key0 : keys) {
698  unsigned int kCnt1 = 0;
699  for (const auto& key1 : keys) {
700  if (key0 != key1 &&
701  kCnt1 > kCnt0) // avoid filling hists with same objs && avoid double counting separate objs
702  {
703  if (abs(objects[key0].id()) == 13 &&
704  (objects[key0].id() + objects[key1].id() == 0)) // check muon id and dimuon charge
705  {
706  TLorentzVector mu1, mu2, dimu;
707  mu1.SetPtEtaPhiM(objects[key0].pt(), objects[key0].eta(), objects[key0].phi(), mu_mass);
708  mu2.SetPtEtaPhiM(objects[key1].pt(), objects[key1].eta(), objects[key1].phi(), mu_mass);
709  dimu = mu1 + mu2;
710  if (dimu.M() > pAL3DoubleMuZMass_.xMin && dimu.M() < pAL3DoubleMuZMass_.xMax)
711  pAL3DoubleMuZMass_.ME->Fill(dimu.M());
712  }
713  }
714  kCnt1 += 1;
715  }
716  kCnt0 += 1;
717  }
718  }
719 
720  else if (pathName == diElecMass_.pathName) {
721  unsigned int kCnt0 = 0;
722  for (const auto& key0 : keys) {
723  unsigned int kCnt1 = 0;
724  for (const auto& key1 : keys) {
725  if (key0 != key1 &&
726  kCnt1 > kCnt0) // avoid filling hists with same objs && avoid double counting separate objs
727  {
728  // if (abs(objects[key0].id()) == 11 && (objects[key0].id()+objects[key1].id()==0)) // id is not filled for electrons
729  // {
730  TLorentzVector el1, el2, diEl;
731  el1.SetPtEtaPhiM(objects[key0].pt(), objects[key0].eta(), objects[key0].phi(), 0);
732  el2.SetPtEtaPhiM(objects[key1].pt(), objects[key1].eta(), objects[key1].phi(), 0);
733  diEl = el1 + el2;
734  diElecMass_.ME->Fill(diEl.M());
735  // }
736  }
737  kCnt1 += 1;
738  }
739  kCnt0 += 1;
740  }
741  } //end double object plot
742 
743  firedMap[pathName] = true;
744  } //end if trigger accept
745  } //end loop over plots/paths
746 
747  // sleep(1); //sleep for 1s, used to calibrate timing
748  double end = get_wall_time();
749  double wallTime = end - start;
751 }

References funct::abs(), HLTObjectMonitor_cfi::alphaT, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::begin(), gather_cfg::cout, end, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::end(), PVValHelper::eta, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), iEvent, HLT_2018_cff::InputTag, edm::HandleBase::isValid(), crabWrapper::key, relativeConstraints::keys, EgHLTOffHistBins_cfi::mass, mu_mass, hltMonBTagIPClient_cfi::pathName, plotFactory::plot, DiDispStaMuonMonitor_cfi::pt, trigger::TriggerEvent::sizeFilters(), command_line::start, AlCaHLTBitMon_QueryRunRegistry::string, HigPhotonJetHLTOfflineSource_cfi::triggerAccept, triggerResults, and HLTObjectMonitor_cfi::wallTime.

◆ bookHistograms()

void HLTObjectMonitor::bookHistograms ( DQMStore::IBooker &  i,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivate

Main shifter workspace plots

Definition at line 793 of file HLTObjectMonitor.cc.

793  {
799 
800  //book wall time separately
801  ibooker.setCurrentFolder(mainShifterFolder);
802  wallTime_.ME =
805 
806  for (auto plot : plotList) {
807  std::string display_pathNames = plot->pathName;
808  if (!plot->pathNameOR.empty())
809  display_pathNames = plot->pathName + " OR " + plot->pathNameOR;
810 
811  if (plot->displayInPrimary) {
812  ibooker.setCurrentFolder(mainShifterFolder);
813  (*plot).ME = ibooker.book1D(plot->plotLabel, display_pathNames.c_str(), plot->nBins, plot->xMin, plot->xMax);
814  (*plot).ME->setAxisTitle(plot->xAxisLabel);
815  //need to add OR statement
816  } else {
817  ibooker.setCurrentFolder(backupFolder);
818  (*plot).ME = ibooker.book1D(plot->plotLabel, display_pathNames.c_str(), plot->nBins, plot->xMin, plot->xMax);
819  (*plot).ME->setAxisTitle(plot->xAxisLabel);
820  }
821  }
822 }

References plotFactory::plot, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ dqmBeginRun()

void HLTObjectMonitor::dqmBeginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivate

Definition at line 754 of file HLTObjectMonitor.cc.

754  {
755  if (debugPrint)
756  std::cout << "Calling beginRun. " << std::endl;
757  bool changed = true;
758  if (hltConfig_.init(iRun, iSetup, processName_, changed)) {
759  if (debugPrint)
760  std::cout << "Extracting HLTconfig. " << std::endl;
761  }
762 
763  //get path indicies from menu
764  string pathName_noVersion;
765  vector<string> triggerPaths = hltConfig_.triggerNames();
766 
767  for (const auto& pathName : triggerPaths) {
768  pathName_noVersion = hltConfig_.removeVersion(pathName);
769  for (auto plot : plotList) {
770  if (plot->pathName == pathName_noVersion) {
771  (*plot).pathIndex = hltConfig_.triggerIndex(pathName);
772  } else if (plot->pathNameOR == pathName_noVersion) {
773  (*plot).pathIndexOR = hltConfig_.triggerIndex(pathName);
774  }
775  }
776  }
777  vector<hltPlot*> plotList_temp;
778  for (auto plot : plotList) {
779  if (plot->pathIndex > 0 || plot->pathIndexOR > 0) {
780  plotList_temp.push_back(plot);
781  acceptMap[plot->pathName] = false;
782  if (plot->pathIndexOR > 0)
783  acceptMap[plot->pathNameOR] = false;
784  }
785  }
786  //now re-assign plotList to contain only the plots with paths in the menu.
787  plotList = plotList_temp;
788  plotList_temp.clear();
789 }

References gather_cfg::cout, hltMonBTagIPClient_cfi::pathName, plotFactory::plot, and triggerPaths.

◆ dxyFinder()

double HLTObjectMonitor::dxyFinder ( double  eta,
double  phi,
edm::Handle< reco::RecoChargedCandidateCollection recoChargedCands,
edm::Handle< reco::BeamSpot recoBeamSpot 
)
private

Definition at line 824 of file HLTObjectMonitor.cc.

827  {
828  double dxy = -99.;
829  for (reco::RecoChargedCandidateCollection::const_iterator l3Muon = recoChargedCands->begin();
830  l3Muon != recoChargedCands->end();
831  l3Muon++) {
832  if (deltaR(eta, phi, l3Muon->eta(), l3Muon->phi()) < 0.1) {
833  dxy = (-(l3Muon->vx() - recoBeamSpot->x0()) * l3Muon->py() + (l3Muon->vy() - recoBeamSpot->y0()) * l3Muon->px()) /
834  l3Muon->pt();
835  break;
836  }
837  }
838  return dxy;
839 }

References PbPb_ZMuSkimMuonDPG_cff::deltaR, PVValHelper::dxy, PVValHelper::eta, reco::BeamSpot::x0(), and reco::BeamSpot::y0().

◆ get_wall_time()

double HLTObjectMonitor::get_wall_time ( void  )
private

Definition at line 841 of file HLTObjectMonitor.cc.

841  {
842  struct timeval time;
843  if (gettimeofday(&time, nullptr))
844  return 0;
845  return (double)time.tv_sec + (double)time.tv_usec * .000001;
846 }

References ntuplemaker::time.

Member Data Documentation

◆ acceptMap

unordered_map<string, bool> HLTObjectMonitor::acceptMap
private

Definition at line 109 of file HLTObjectMonitor.cc.

◆ alphaT_

hltPlot HLTObjectMonitor::alphaT_
private

Definition at line 169 of file HLTObjectMonitor.cc.

◆ alphaT_pset

edm::ParameterSet HLTObjectMonitor::alphaT_pset
private

Definition at line 126 of file HLTObjectMonitor.cc.

◆ aodTriggerToken_

edm::EDGetTokenT<trigger::TriggerEvent> HLTObjectMonitor::aodTriggerToken_
private

Definition at line 114 of file HLTObjectMonitor.cc.

◆ backupFolder

string HLTObjectMonitor::backupFolder
private

Definition at line 108 of file HLTObjectMonitor.cc.

◆ beamSpotToken_

edm::EDGetTokenT<reco::BeamSpot> HLTObjectMonitor::beamSpotToken_
private

Definition at line 116 of file HLTObjectMonitor.cc.

◆ bJetCSVCalo_

hltPlot HLTObjectMonitor::bJetCSVCalo_
private

Definition at line 198 of file HLTObjectMonitor.cc.

◆ bJetCSVCalo_pset

edm::ParameterSet HLTObjectMonitor::bJetCSVCalo_pset
private

Definition at line 155 of file HLTObjectMonitor.cc.

◆ bJetCSVPF_

hltPlot HLTObjectMonitor::bJetCSVPF_
private

Definition at line 199 of file HLTObjectMonitor.cc.

◆ bJetCSVPF_pset

edm::ParameterSet HLTObjectMonitor::bJetCSVPF_pset
private

Definition at line 156 of file HLTObjectMonitor.cc.

◆ bJetEta_

hltPlot HLTObjectMonitor::bJetEta_
private

Definition at line 197 of file HLTObjectMonitor.cc.

◆ bJetEta_pset

edm::ParameterSet HLTObjectMonitor::bJetEta_pset
private

Definition at line 154 of file HLTObjectMonitor.cc.

◆ bJetPhi_

hltPlot HLTObjectMonitor::bJetPhi_
private

Definition at line 196 of file HLTObjectMonitor.cc.

◆ bJetPhi_pset

edm::ParameterSet HLTObjectMonitor::bJetPhi_pset
private

Definition at line 153 of file HLTObjectMonitor.cc.

◆ caloHtPt_

hltPlot HLTObjectMonitor::caloHtPt_
private

Definition at line 194 of file HLTObjectMonitor.cc.

◆ caloHtPt_pset

edm::ParameterSet HLTObjectMonitor::caloHtPt_pset
private

Definition at line 151 of file HLTObjectMonitor.cc.

◆ caloMetPhi_

hltPlot HLTObjectMonitor::caloMetPhi_
private

Definition at line 191 of file HLTObjectMonitor.cc.

◆ caloMetPhi_pset

edm::ParameterSet HLTObjectMonitor::caloMetPhi_pset
private

Definition at line 148 of file HLTObjectMonitor.cc.

◆ caloMetPt_

hltPlot HLTObjectMonitor::caloMetPt_
private

Definition at line 190 of file HLTObjectMonitor.cc.

◆ caloMetPt_pset

edm::ParameterSet HLTObjectMonitor::caloMetPt_pset
private

Definition at line 147 of file HLTObjectMonitor.cc.

◆ chargedCandToken_

edm::EDGetTokenT<reco::RecoChargedCandidateCollection> HLTObjectMonitor::chargedCandToken_
private

Definition at line 117 of file HLTObjectMonitor.cc.

◆ csvCaloJetsToken_

edm::EDGetTokenT<vector<reco::CaloJet> > HLTObjectMonitor::csvCaloJetsToken_
private

Definition at line 120 of file HLTObjectMonitor.cc.

◆ csvCaloTagsToken_

edm::EDGetTokenT<reco::JetTagCollection> HLTObjectMonitor::csvCaloTagsToken_
private

Definition at line 118 of file HLTObjectMonitor.cc.

◆ csvPfJetsToken_

edm::EDGetTokenT<vector<reco::PFJet> > HLTObjectMonitor::csvPfJetsToken_
private

Definition at line 121 of file HLTObjectMonitor.cc.

◆ csvPfTagsToken_

edm::EDGetTokenT<reco::JetTagCollection> HLTObjectMonitor::csvPfTagsToken_
private

Definition at line 119 of file HLTObjectMonitor.cc.

◆ debugPrint

bool HLTObjectMonitor::debugPrint
private

Definition at line 104 of file HLTObjectMonitor.cc.

◆ diElecMass_

hltPlot HLTObjectMonitor::diElecMass_
private

Definition at line 204 of file HLTObjectMonitor.cc.

◆ diElecMass_pset

edm::ParameterSet HLTObjectMonitor::diElecMass_pset
private

Definition at line 161 of file HLTObjectMonitor.cc.

◆ diMuonLowMass_

hltPlot HLTObjectMonitor::diMuonLowMass_
private

Definition at line 189 of file HLTObjectMonitor.cc.

◆ diMuonLowMass_pset

edm::ParameterSet HLTObjectMonitor::diMuonLowMass_pset
private

Definition at line 146 of file HLTObjectMonitor.cc.

◆ diMuonMass_

hltPlot HLTObjectMonitor::diMuonMass_
private

Definition at line 200 of file HLTObjectMonitor.cc.

◆ diMuonMass_pset

edm::ParameterSet HLTObjectMonitor::diMuonMass_pset
private

Definition at line 157 of file HLTObjectMonitor.cc.

◆ electronEta_

hltPlot HLTObjectMonitor::electronEta_
private

Definition at line 183 of file HLTObjectMonitor.cc.

◆ electronEta_pset

edm::ParameterSet HLTObjectMonitor::electronEta_pset
private

Definition at line 140 of file HLTObjectMonitor.cc.

◆ electronPhi_

hltPlot HLTObjectMonitor::electronPhi_
private

Definition at line 184 of file HLTObjectMonitor.cc.

◆ electronPhi_pset

edm::ParameterSet HLTObjectMonitor::electronPhi_pset
private

Definition at line 141 of file HLTObjectMonitor.cc.

◆ electronPt_

hltPlot HLTObjectMonitor::electronPt_
private

Definition at line 182 of file HLTObjectMonitor.cc.

◆ electronPt_pset

edm::ParameterSet HLTObjectMonitor::electronPt_pset
private

Definition at line 139 of file HLTObjectMonitor.cc.

◆ hltConfig_

HLTConfigProvider HLTObjectMonitor::hltConfig_
private

Definition at line 105 of file HLTObjectMonitor.cc.

◆ jetAK8Mass_

hltPlot HLTObjectMonitor::jetAK8Mass_
private

Definition at line 187 of file HLTObjectMonitor.cc.

◆ jetAK8Mass_pset

edm::ParameterSet HLTObjectMonitor::jetAK8Mass_pset
private

Definition at line 144 of file HLTObjectMonitor.cc.

◆ jetAK8Pt_

hltPlot HLTObjectMonitor::jetAK8Pt_
private

Definition at line 186 of file HLTObjectMonitor.cc.

◆ jetAK8Pt_pset

edm::ParameterSet HLTObjectMonitor::jetAK8Pt_pset
private

Definition at line 143 of file HLTObjectMonitor.cc.

◆ jetPt_

hltPlot HLTObjectMonitor::jetPt_
private

Definition at line 185 of file HLTObjectMonitor.cc.

◆ jetPt_pset

edm::ParameterSet HLTObjectMonitor::jetPt_pset
private

Definition at line 142 of file HLTObjectMonitor.cc.

◆ l2muonEta_

hltPlot HLTObjectMonitor::l2muonEta_
private

Definition at line 177 of file HLTObjectMonitor.cc.

◆ l2muonEta_pset

edm::ParameterSet HLTObjectMonitor::l2muonEta_pset
private

Definition at line 134 of file HLTObjectMonitor.cc.

◆ l2muonPhi_

hltPlot HLTObjectMonitor::l2muonPhi_
private

Definition at line 178 of file HLTObjectMonitor.cc.

◆ l2muonPhi_pset

edm::ParameterSet HLTObjectMonitor::l2muonPhi_pset
private

Definition at line 135 of file HLTObjectMonitor.cc.

◆ l2muonPt_

hltPlot HLTObjectMonitor::l2muonPt_
private

Definition at line 176 of file HLTObjectMonitor.cc.

◆ l2muonPt_pset

edm::ParameterSet HLTObjectMonitor::l2muonPt_pset
private

Definition at line 133 of file HLTObjectMonitor.cc.

◆ l2NoBPTXmuonEta_

hltPlot HLTObjectMonitor::l2NoBPTXmuonEta_
private

Definition at line 180 of file HLTObjectMonitor.cc.

◆ l2NoBPTXmuonEta_pset

edm::ParameterSet HLTObjectMonitor::l2NoBPTXmuonEta_pset
private

Definition at line 137 of file HLTObjectMonitor.cc.

◆ l2NoBPTXmuonPhi_

hltPlot HLTObjectMonitor::l2NoBPTXmuonPhi_
private

Definition at line 181 of file HLTObjectMonitor.cc.

◆ l2NoBPTXmuonPhi_pset

edm::ParameterSet HLTObjectMonitor::l2NoBPTXmuonPhi_pset
private

Definition at line 138 of file HLTObjectMonitor.cc.

◆ l2NoBPTXmuonPt_

hltPlot HLTObjectMonitor::l2NoBPTXmuonPt_
private

Definition at line 179 of file HLTObjectMonitor.cc.

◆ l2NoBPTXmuonPt_pset

edm::ParameterSet HLTObjectMonitor::l2NoBPTXmuonPt_pset
private

Definition at line 136 of file HLTObjectMonitor.cc.

◆ lumiScalersToken_

edm::EDGetTokenT<LumiScalersCollection> HLTObjectMonitor::lumiScalersToken_
private

Definition at line 115 of file HLTObjectMonitor.cc.

◆ mainShifterFolder

string HLTObjectMonitor::mainShifterFolder
private

Definition at line 107 of file HLTObjectMonitor.cc.

◆ mr_

hltPlot HLTObjectMonitor::mr_
private

Definition at line 168 of file HLTObjectMonitor.cc.

◆ mr_pset

edm::ParameterSet HLTObjectMonitor::mr_pset
private

Definition at line 125 of file HLTObjectMonitor.cc.

◆ muonDxy_

hltPlot HLTObjectMonitor::muonDxy_
private

Definition at line 205 of file HLTObjectMonitor.cc.

◆ muonDxy_pset

edm::ParameterSet HLTObjectMonitor::muonDxy_pset
private

Definition at line 162 of file HLTObjectMonitor.cc.

◆ muonEta_

hltPlot HLTObjectMonitor::muonEta_
private

Definition at line 174 of file HLTObjectMonitor.cc.

◆ muonEta_pset

edm::ParameterSet HLTObjectMonitor::muonEta_pset
private

Definition at line 131 of file HLTObjectMonitor.cc.

◆ muonPhi_

hltPlot HLTObjectMonitor::muonPhi_
private

Definition at line 175 of file HLTObjectMonitor.cc.

◆ muonPhi_pset

edm::ParameterSet HLTObjectMonitor::muonPhi_pset
private

Definition at line 132 of file HLTObjectMonitor.cc.

◆ muonPt_

hltPlot HLTObjectMonitor::muonPt_
private

Definition at line 173 of file HLTObjectMonitor.cc.

◆ muonPt_pset

edm::ParameterSet HLTObjectMonitor::muonPt_pset
private

Definition at line 130 of file HLTObjectMonitor.cc.

◆ pAL1DoubleMuZMass_

hltPlot HLTObjectMonitor::pAL1DoubleMuZMass_
private

Definition at line 201 of file HLTObjectMonitor.cc.

◆ pAL1DoubleMuZMass_pset

edm::ParameterSet HLTObjectMonitor::pAL1DoubleMuZMass_pset
private

Definition at line 158 of file HLTObjectMonitor.cc.

◆ pAL2DoubleMuZMass_

hltPlot HLTObjectMonitor::pAL2DoubleMuZMass_
private

Definition at line 202 of file HLTObjectMonitor.cc.

◆ pAL2DoubleMuZMass_pset

edm::ParameterSet HLTObjectMonitor::pAL2DoubleMuZMass_pset
private

Definition at line 159 of file HLTObjectMonitor.cc.

◆ pAL3DoubleMuZMass_

hltPlot HLTObjectMonitor::pAL3DoubleMuZMass_
private

Definition at line 203 of file HLTObjectMonitor.cc.

◆ pAL3DoubleMuZMass_pset

edm::ParameterSet HLTObjectMonitor::pAL3DoubleMuZMass_pset
private

Definition at line 160 of file HLTObjectMonitor.cc.

◆ pfHtPt_

hltPlot HLTObjectMonitor::pfHtPt_
private

Definition at line 195 of file HLTObjectMonitor.cc.

◆ pfHtPt_pset

edm::ParameterSet HLTObjectMonitor::pfHtPt_pset
private

Definition at line 152 of file HLTObjectMonitor.cc.

◆ pfMetPhi_

hltPlot HLTObjectMonitor::pfMetPhi_
private

Definition at line 193 of file HLTObjectMonitor.cc.

◆ pfMetPhi_pset

edm::ParameterSet HLTObjectMonitor::pfMetPhi_pset
private

Definition at line 150 of file HLTObjectMonitor.cc.

◆ pfMetPt_

hltPlot HLTObjectMonitor::pfMetPt_
private

Definition at line 192 of file HLTObjectMonitor.cc.

◆ pfMetPt_pset

edm::ParameterSet HLTObjectMonitor::pfMetPt_pset
private

Definition at line 149 of file HLTObjectMonitor.cc.

◆ photonEta_

hltPlot HLTObjectMonitor::photonEta_
private

Definition at line 171 of file HLTObjectMonitor.cc.

◆ photonEta_pset

edm::ParameterSet HLTObjectMonitor::photonEta_pset
private

Definition at line 128 of file HLTObjectMonitor.cc.

◆ photonPhi_

hltPlot HLTObjectMonitor::photonPhi_
private

Definition at line 172 of file HLTObjectMonitor.cc.

◆ photonPhi_pset

edm::ParameterSet HLTObjectMonitor::photonPhi_pset
private

Definition at line 129 of file HLTObjectMonitor.cc.

◆ photonPt_

hltPlot HLTObjectMonitor::photonPt_
private

Definition at line 170 of file HLTObjectMonitor.cc.

◆ photonPt_pset

edm::ParameterSet HLTObjectMonitor::photonPt_pset
private

Definition at line 127 of file HLTObjectMonitor.cc.

◆ plotList

vector<hltPlot*> HLTObjectMonitor::plotList
private

Definition at line 97 of file HLTObjectMonitor.cc.

◆ plotMap

unordered_map<hltPlot*, edm::ParameterSet*> HLTObjectMonitor::plotMap
private

Definition at line 110 of file HLTObjectMonitor.cc.

◆ processName_

string HLTObjectMonitor::processName_
private

Definition at line 165 of file HLTObjectMonitor.cc.

◆ rsq_

hltPlot HLTObjectMonitor::rsq_
private

Definition at line 167 of file HLTObjectMonitor.cc.

◆ rsq_pset

edm::ParameterSet HLTObjectMonitor::rsq_pset
private

Definition at line 124 of file HLTObjectMonitor.cc.

◆ tauPt_

hltPlot HLTObjectMonitor::tauPt_
private

Definition at line 188 of file HLTObjectMonitor.cc.

◆ tauPt_pset

edm::ParameterSet HLTObjectMonitor::tauPt_pset
private

Definition at line 145 of file HLTObjectMonitor.cc.

◆ topDirectoryName

string HLTObjectMonitor::topDirectoryName
private

Definition at line 106 of file HLTObjectMonitor.cc.

◆ triggerResultsToken_

edm::EDGetTokenT<edm::TriggerResults> HLTObjectMonitor::triggerResultsToken_
private

Definition at line 113 of file HLTObjectMonitor.cc.

◆ wallTime_

hltPlot HLTObjectMonitor::wallTime_
private

Definition at line 206 of file HLTObjectMonitor.cc.

◆ wallTime_pset

edm::ParameterSet HLTObjectMonitor::wallTime_pset
private

Definition at line 163 of file HLTObjectMonitor.cc.

HLTObjectMonitor::jetPt_pset
edm::ParameterSet jetPt_pset
Definition: HLTObjectMonitor.cc:142
HLTObjectMonitor::diMuonLowMass_pset
edm::ParameterSet diMuonLowMass_pset
Definition: HLTObjectMonitor.cc:146
HLTObjectMonitor::l2muonPhi_
hltPlot l2muonPhi_
Definition: HLTObjectMonitor.cc:178
HLTObjectMonitor::jetAK8Pt_pset
edm::ParameterSet jetAK8Pt_pset
Definition: HLTObjectMonitor.cc:143
HLTObjectMonitor::backupFolder
string backupFolder
Definition: HLTObjectMonitor.cc:108
HLTObjectMonitor::chargedCandToken_
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > chargedCandToken_
Definition: HLTObjectMonitor.cc:117
HLTObjectMonitor::pAL1DoubleMuZMass_
hltPlot pAL1DoubleMuZMass_
Definition: HLTObjectMonitor.cc:201
HLTObjectMonitor::bJetCSVPF_
hltPlot bJetCSVPF_
Definition: HLTObjectMonitor.cc:199
HLTObjectMonitor::dxyFinder
double dxyFinder(double, double, edm::Handle< reco::RecoChargedCandidateCollection >, edm::Handle< reco::BeamSpot >)
Definition: HLTObjectMonitor.cc:824
HLTObjectMonitor::l2muonPhi_pset
edm::ParameterSet l2muonPhi_pset
Definition: HLTObjectMonitor.cc:135
trigger::TriggerEvent::sizeFilters
trigger::size_type sizeFilters() const
Definition: TriggerEvent.h:146
start
Definition: start.py:1
HLTObjectMonitor::diMuonMass_
hltPlot diMuonMass_
Definition: HLTObjectMonitor.cc:200
HLTObjectMonitor::csvCaloTagsToken_
edm::EDGetTokenT< reco::JetTagCollection > csvCaloTagsToken_
Definition: HLTObjectMonitor.cc:118
trigger::TriggerEvent::filterKeys
const Keys & filterKeys(trigger::size_type index) const
Definition: TriggerEvent.h:118
HLTObjectMonitor::jetAK8Pt_
hltPlot jetAK8Pt_
Definition: HLTObjectMonitor.cc:186
HLTObjectMonitor::plotMap
unordered_map< hltPlot *, edm::ParameterSet * > plotMap
Definition: HLTObjectMonitor.cc:110
HLTObjectMonitor::electronEta_
hltPlot electronEta_
Definition: HLTObjectMonitor.cc:183
HLTObjectMonitor::rsq_pset
edm::ParameterSet rsq_pset
Definition: HLTObjectMonitor.cc:124
HLTObjectMonitor::alphaT_pset
edm::ParameterSet alphaT_pset
Definition: HLTObjectMonitor.cc:126
HLTObjectMonitor::muonPt_
hltPlot muonPt_
Definition: HLTObjectMonitor.cc:173
HigPhotonJetHLTOfflineSource_cfi.triggerAccept
triggerAccept
Definition: HigPhotonJetHLTOfflineSource_cfi.py:32
HLTObjectMonitor::mr_pset
edm::ParameterSet mr_pset
Definition: HLTObjectMonitor.cc:125
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
HLTObjectMonitor::l2NoBPTXmuonEta_
hltPlot l2NoBPTXmuonEta_
Definition: HLTObjectMonitor.cc:180
edm
HLT enums.
Definition: AlignableModifier.h:19
HLTObjectMonitor::electronPhi_
hltPlot electronPhi_
Definition: HLTObjectMonitor.cc:184
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HLTObjectMonitor::csvPfTagsToken_
edm::EDGetTokenT< reco::JetTagCollection > csvPfTagsToken_
Definition: HLTObjectMonitor.cc:119
objects
Definition: __init__.py:1
HLTObjectMonitor::photonEta_pset
edm::ParameterSet photonEta_pset
Definition: HLTObjectMonitor.cc:128
triggerResults
static const std::string triggerResults
Definition: EdmProvDump.cc:45
HLTObjectMonitor_cfi.wallTime
wallTime
Definition: HLTObjectMonitor_cfi.py:438
HLTObjectMonitor::alphaT_
hltPlot alphaT_
Definition: HLTObjectMonitor.cc:169
HLTObjectMonitor::hltConfig_
HLTConfigProvider hltConfig_
Definition: HLTObjectMonitor.cc:105
HLTObjectMonitor::muonPt_pset
edm::ParameterSet muonPt_pset
Definition: HLTObjectMonitor.cc:130
HLTObjectMonitor::pfHtPt_pset
edm::ParameterSet pfHtPt_pset
Definition: HLTObjectMonitor.cc:152
HLTObjectMonitor::muonEta_
hltPlot muonEta_
Definition: HLTObjectMonitor.cc:174
HLTObjectMonitor::wallTime_
hltPlot wallTime_
Definition: HLTObjectMonitor.cc:206
HLTObjectMonitor::pfMetPt_pset
edm::ParameterSet pfMetPt_pset
Definition: HLTObjectMonitor.cc:149
relativeConstraints.keys
keys
Definition: relativeConstraints.py:89
HLTObjectMonitor::caloMetPhi_pset
edm::ParameterSet caloMetPhi_pset
Definition: HLTObjectMonitor.cc:148
HLTObjectMonitor::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: HLTObjectMonitor.cc:116
HLTObjectMonitor::electronPhi_pset
edm::ParameterSet electronPhi_pset
Definition: HLTObjectMonitor.cc:141
HLTObjectMonitor::hltPlot::xMax
double xMax
Definition: HLTObjectMonitor.cc:83
HLTObjectMonitor::mr_
hltPlot mr_
Definition: HLTObjectMonitor.cc:168
HLTObjectMonitor_cfi.plotLabel
plotLabel
Definition: HLTObjectMonitor_cfi.py:46
edm::Handle< edm::TriggerResults >
plotFactory.plot
plot
Definition: plotFactory.py:109
HLTObjectMonitor::processName_
string processName_
Definition: HLTObjectMonitor.cc:165
HLTObjectMonitor::caloHtPt_
hltPlot caloHtPt_
Definition: HLTObjectMonitor.cc:194
end
#define end
Definition: vmac.h:39
HLTObjectMonitor::hltPlot::nBins
int nBins
Definition: HLTObjectMonitor.cc:81
HLTObjectMonitor::l2NoBPTXmuonPhi_pset
edm::ParameterSet l2NoBPTXmuonPhi_pset
Definition: HLTObjectMonitor.cc:138
HLTObjectMonitor::get_wall_time
double get_wall_time(void)
Definition: HLTObjectMonitor.cc:841
HLTObjectMonitor::photonPt_
hltPlot photonPt_
Definition: HLTObjectMonitor.cc:170
photonAnalyzer_cfi.xMin
xMin
Definition: photonAnalyzer_cfi.py:82
HLTObjectMonitor::mainShifterFolder
string mainShifterFolder
Definition: HLTObjectMonitor.cc:107
HLTObjectMonitor::acceptMap
unordered_map< string, bool > acceptMap
Definition: HLTObjectMonitor.cc:109
HLTObjectMonitor::pAL3DoubleMuZMass_pset
edm::ParameterSet pAL3DoubleMuZMass_pset
Definition: HLTObjectMonitor.cc:160
HLTObjectMonitor_cfi.alphaT
alphaT
Definition: HLTObjectMonitor_cfi.py:42
hltMonBTagIPClient_cfi.pathName
pathName
Definition: hltMonBTagIPClient_cfi.py:5
HLTConfigProvider::saveTags
bool saveTags(const std::string &module) const
Is module an L3 filter (ie, tracked saveTags=true)
Definition: HLTConfigProvider.h:115
HLTObjectMonitor::electronPt_
hltPlot electronPt_
Definition: HLTObjectMonitor.cc:182
PVValHelper::eta
Definition: PVValidationHelpers.h:69
edm::AssociationVector::begin
const_iterator begin() const
Definition: AssociationVector.h:108
HLTObjectMonitor::jetAK8Mass_
hltPlot jetAK8Mass_
Definition: HLTObjectMonitor.cc:187
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
HLTObjectMonitor::photonPhi_
hltPlot photonPhi_
Definition: HLTObjectMonitor.cc:172
HLTObjectMonitor::pfMetPt_
hltPlot pfMetPt_
Definition: HLTObjectMonitor.cc:192
HLTObjectMonitor::rsq_
hltPlot rsq_
Definition: HLTObjectMonitor.cc:167
HLTObjectMonitor::hltPlot::ME
MonitorElement * ME
Definition: HLTObjectMonitor.cc:72
HLTObjectMonitor::plotList
vector< hltPlot * > plotList
Definition: HLTObjectMonitor.cc:97
HLTObjectMonitor::caloMetPt_pset
edm::ParameterSet caloMetPt_pset
Definition: HLTObjectMonitor.cc:147
seedmultiplicitymonitor_newtracking_cfi.nBins
nBins
Definition: seedmultiplicitymonitor_newtracking_cfi.py:8
edm::AssociationVector::end
const_iterator end() const
Definition: AssociationVector.h:109
HLTObjectMonitor::l2muonPt_
hltPlot l2muonPt_
Definition: HLTObjectMonitor.cc:176
HLTObjectMonitor::electronPt_pset
edm::ParameterSet electronPt_pset
Definition: HLTObjectMonitor.cc:139
PbPb_ZMuSkimMuonDPG_cff.deltaR
deltaR
Definition: PbPb_ZMuSkimMuonDPG_cff.py:63
HLTConfigProvider::removeVersion
static const std::string removeVersion(const std::string &trigger)
Definition: HLTConfigProvider.cc:238
HLTObjectMonitor::l2NoBPTXmuonPt_pset
edm::ParameterSet l2NoBPTXmuonPt_pset
Definition: HLTObjectMonitor.cc:136
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTObjectMonitor::hltPlot::xMin
double xMin
Definition: HLTObjectMonitor.cc:82
HLTObjectMonitor::pfMetPhi_
hltPlot pfMetPhi_
Definition: HLTObjectMonitor.cc:193
HLTObjectMonitor::csvCaloJetsToken_
edm::EDGetTokenT< vector< reco::CaloJet > > csvCaloJetsToken_
Definition: HLTObjectMonitor.cc:120
HLTObjectMonitor::muonPhi_
hltPlot muonPhi_
Definition: HLTObjectMonitor.cc:175
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
HLTObjectMonitor::l2NoBPTXmuonPhi_
hltPlot l2NoBPTXmuonPhi_
Definition: HLTObjectMonitor.cc:181
HLTObjectMonitor::bJetPhi_pset
edm::ParameterSet bJetPhi_pset
Definition: HLTObjectMonitor.cc:153
HLTObjectMonitor::muonEta_pset
edm::ParameterSet muonEta_pset
Definition: HLTObjectMonitor.cc:131
HLTObjectMonitor::muonDxy_
hltPlot muonDxy_
Definition: HLTObjectMonitor.cc:205
trigger::TriggerObjectCollection
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Definition: TriggerObject.h:75
HLTObjectMonitor::jetPt_
hltPlot jetPt_
Definition: HLTObjectMonitor.cc:185
HLTObjectMonitor::bJetCSVCalo_pset
edm::ParameterSet bJetCSVCalo_pset
Definition: HLTObjectMonitor.cc:155
iEvent
int iEvent
Definition: GenABIO.cc:224
EcalCalibMonitorClient_cfi.moduleName
moduleName
Definition: EcalCalibMonitorClient_cfi.py:17
HLTObjectMonitor::caloHtPt_pset
edm::ParameterSet caloHtPt_pset
Definition: HLTObjectMonitor.cc:151
HLTObjectMonitor::l2NoBPTXmuonPt_
hltPlot l2NoBPTXmuonPt_
Definition: HLTObjectMonitor.cc:179
trigger::TriggerEvent::filterIndex
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
Definition: TriggerEvent.h:132
HLTObjectMonitor::topDirectoryName
string topDirectoryName
Definition: HLTObjectMonitor.cc:106
trigger::Keys
std::vector< size_type > Keys
Definition: TriggerTypeDefs.h:19
HLTObjectMonitor::diMuonLowMass_
hltPlot diMuonLowMass_
Definition: HLTObjectMonitor.cc:189
HLTObjectMonitor::jetAK8Mass_pset
edm::ParameterSet jetAK8Mass_pset
Definition: HLTObjectMonitor.cc:144
HLTObjectMonitor::pAL2DoubleMuZMass_pset
edm::ParameterSet pAL2DoubleMuZMass_pset
Definition: HLTObjectMonitor.cc:159
HLTObjectMonitor::pfMetPhi_pset
edm::ParameterSet pfMetPhi_pset
Definition: HLTObjectMonitor.cc:150
triggerPaths
static const std::string triggerPaths
Definition: EdmProvDump.cc:46
HLTObjectMonitor::hltPlot::xAxisLabel
string xAxisLabel
Definition: HLTObjectMonitor.cc:80
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
HLTObjectMonitor::l2muonEta_pset
edm::ParameterSet l2muonEta_pset
Definition: HLTObjectMonitor.cc:134
HLTObjectMonitor::caloMetPhi_
hltPlot caloMetPhi_
Definition: HLTObjectMonitor.cc:191
trigger::TriggerEvent::getObjects
const TriggerObjectCollection & getObjects() const
Definition: TriggerEvent.h:101
HLTObjectMonitor::lumiScalersToken_
edm::EDGetTokenT< LumiScalersCollection > lumiScalersToken_
Definition: HLTObjectMonitor.cc:115
HLTObjectMonitor::pAL1DoubleMuZMass_pset
edm::ParameterSet pAL1DoubleMuZMass_pset
Definition: HLTObjectMonitor.cc:158
HLTObjectMonitor::photonEta_
hltPlot photonEta_
Definition: HLTObjectMonitor.cc:171
HLTConfigProvider::triggerIndex
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
Definition: HLTConfigProvider.h:72
HLTObjectMonitor::l2NoBPTXmuonEta_pset
edm::ParameterSet l2NoBPTXmuonEta_pset
Definition: HLTObjectMonitor.cc:137
DDAxes::phi
HLTObjectMonitor::diElecMass_
hltPlot diElecMass_
Definition: HLTObjectMonitor.cc:204
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
mu_mass
static constexpr float mu_mass
Definition: L1TkMuonProducer.cc:30
reco::BeamSpot::x0
double x0() const
x coordinate
Definition: BeamSpot.h:61
HLTObjectMonitor::wallTime_pset
edm::ParameterSet wallTime_pset
Definition: HLTObjectMonitor.cc:163
HLTObjectMonitor::bJetCSVPF_pset
edm::ParameterSet bJetCSVPF_pset
Definition: HLTObjectMonitor.cc:156
HLTObjectMonitor::tauPt_
hltPlot tauPt_
Definition: HLTObjectMonitor.cc:188
HLTConfigProvider::init
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
Definition: HLTConfigProvider.cc:36
HLTObjectMonitor::muonPhi_pset
edm::ParameterSet muonPhi_pset
Definition: HLTObjectMonitor.cc:132
PVValHelper::dxy
Definition: PVValidationHelpers.h:47
HLTObjectMonitor::hltPlot::pathName
string pathName
Definition: HLTObjectMonitor.cc:73
HLTObjectMonitor::bJetEta_
hltPlot bJetEta_
Definition: HLTObjectMonitor.cc:197
HLTObjectMonitor::photonPhi_pset
edm::ParameterSet photonPhi_pset
Definition: HLTObjectMonitor.cc:129
HLTObjectMonitor::csvPfJetsToken_
edm::EDGetTokenT< vector< reco::PFJet > > csvPfJetsToken_
Definition: HLTObjectMonitor.cc:121
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
multiplicitycorr_cfi.xMax
xMax
Definition: multiplicitycorr_cfi.py:5
HLTObjectMonitor::caloMetPt_
hltPlot caloMetPt_
Definition: HLTObjectMonitor.cc:190
HLTObjectMonitor::photonPt_pset
edm::ParameterSet photonPt_pset
Definition: HLTObjectMonitor.cc:127
HLTObjectMonitor::pfHtPt_
hltPlot pfHtPt_
Definition: HLTObjectMonitor.cc:195
HLTObjectMonitor::l2muonEta_
hltPlot l2muonEta_
Definition: HLTObjectMonitor.cc:177
HLTObjectMonitor::hltPlot::pathNameOR
string pathNameOR
Definition: HLTObjectMonitor.cc:74
HLTObjectMonitor::diMuonMass_pset
edm::ParameterSet diMuonMass_pset
Definition: HLTObjectMonitor.cc:157
HLTObjectMonitor::muonDxy_pset
edm::ParameterSet muonDxy_pset
Definition: HLTObjectMonitor.cc:162
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
command_line.start
start
Definition: command_line.py:167
HLTObjectMonitor::debugPrint
bool debugPrint
Definition: HLTObjectMonitor.cc:104
HLTObjectMonitor::l2muonPt_pset
edm::ParameterSet l2muonPt_pset
Definition: HLTObjectMonitor.cc:133
HLTObjectMonitor::bJetEta_pset
edm::ParameterSet bJetEta_pset
Definition: HLTObjectMonitor.cc:154
HLTConfigProvider::triggerNames
const std::vector< std::string > & triggerNames() const
names of trigger paths
Definition: HLTConfigProvider.h:68
HLTObjectMonitor::aodTriggerToken_
edm::EDGetTokenT< trigger::TriggerEvent > aodTriggerToken_
Definition: HLTObjectMonitor.cc:114
HLTObjectMonitor::electronEta_pset
edm::ParameterSet electronEta_pset
Definition: HLTObjectMonitor.cc:140
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
ntuplemaker.time
time
Definition: ntuplemaker.py:310
HLTObjectMonitor::pAL2DoubleMuZMass_
hltPlot pAL2DoubleMuZMass_
Definition: HLTObjectMonitor.cc:202
reco::BeamSpot::y0
double y0() const
y coordinate
Definition: BeamSpot.h:63
HLTObjectMonitor::tauPt_pset
edm::ParameterSet tauPt_pset
Definition: HLTObjectMonitor.cc:145
crabWrapper.key
key
Definition: crabWrapper.py:19
HLTObjectMonitor::hltPlot::plotLabel
string plotLabel
Definition: HLTObjectMonitor.cc:79
HLTObjectMonitor::diElecMass_pset
edm::ParameterSet diElecMass_pset
Definition: HLTObjectMonitor.cc:161
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
HLTObjectMonitor::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: HLTObjectMonitor.cc:113
edm::InputTag
Definition: InputTag.h:15
HLTObjectMonitor::bJetCSVCalo_
hltPlot bJetCSVCalo_
Definition: HLTObjectMonitor.cc:198
HLTObjectMonitor::bJetPhi_
hltPlot bJetPhi_
Definition: HLTObjectMonitor.cc:196
HLTObjectMonitor::pAL3DoubleMuZMass_
hltPlot pAL3DoubleMuZMass_
Definition: HLTObjectMonitor.cc:203