Skip to content

Commit

Permalink
Merge pull request #2574 from makortel/fixTauTriggerDQMWarnings
Browse files Browse the repository at this point in the history
DQM -- Fix/Silence warnings in tau trigger DQM
  • Loading branch information
ktf committed Feb 25, 2014
2 parents 8370e06 + cc7ad24 commit 51f8381
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DQMOffline/Trigger/src/HLTTauDQMPath.cc
Expand Up @@ -209,7 +209,7 @@ namespace {
n.tau = getParameterSafe(HLTCP, filterName, "MinJets");
}
}
else if(moduleType == "HLT1PFTau") {
else if(moduleType == "HLT1Tau" || moduleType == "HLT1PFTau") {
//n.tau = HLTCP.modulePSet(filterName).getParameter<int>("MinN");
n.tau = getParameterSafe(HLTCP, filterName, "MinN");
}
Expand All @@ -229,7 +229,7 @@ namespace {
n.tau = num;
n.electron = num;
}
else if(moduleType == "HLT2MuonPFTau") {
else if(moduleType == "HLT2MuonTau" || moduleType == "HLT2MuonPFTau") {
//int num = HLTCP.modulePSet(filterName).getParameter<int>("MinN");
int num = getParameterSafe(HLTCP, filterName, "MinN");
n.tau = num;
Expand Down Expand Up @@ -327,7 +327,7 @@ bool HLTTauDQMPath::beginRun(const HLTConfigProvider& HLTCP) {
ss << ",";
ss << iRegex->str();
}
edm::LogWarning("HLTTauDQMOffline") << "HLTTauDQMPath::beginRun(): did not find any paths matching to regexes " << ss.str();
edm::LogInfo("HLTTauDQMOffline") << "HLTTauDQMPath::beginRun(): did not find any paths matching to regexes " << ss.str();
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion DQMOffline/Trigger/test/HLTTauOfflineDQMTest_cfg.py
Expand Up @@ -19,7 +19,7 @@

process.load("FWCore.MessageService.MessageLogger_cfi")
process.MessageLogger.cerr.FwkReport.reportEvery = 100
#process.MessageLogger.categories.append("HLTTauDQMOffline")
process.MessageLogger.categories.append("HLTTauDQMOffline")
process.load("Configuration.StandardSequences.Geometry_cff")
process.load("Geometry.CaloEventSetup.CaloTopology_cfi")

Expand Down

0 comments on commit 51f8381

Please sign in to comment.