Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DQM for HLT_Ele27_WPLoose_Gsf_WHbbBoost_v1 - 75X #9817

Merged
merged 3 commits into from
Jun 25, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion HLTriggerOffline/Higgs/python/hltHiggsPostProcessors_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,18 @@ def get_reco_strings(strings):
hltHiggsPostX4b.subDirs = ['HLT/Higgs/X4b']
hltHiggsPostX4b.efficiencyProfile = efficiency_strings

#Specific plots for WH -> ev + bb
efficiency_strings_WHToENuBB = list(efficiency_strings_TTHbbej)
#add the summary plots
for an in _config.analysis:
for trig in triggers:
efficiency_strings_WHToENuBB.append("Eff_HtDist_"+an+"_gen_"+trig+" ' Efficiency of "+trig+" vs sum pT of jets ; sum pT of jets ' HtDist_"+an+"_gen_"+trig+" HtDist_"+an+"_gen")

efficiency_strings_WHToENuBB.extend(get_reco_strings(efficiency_strings_WHToENuBB))

hltHiggsPostWHToENuBB = hltHiggsPostProcessor.clone()
hltHiggsPostWHToENuBB.subDirs = ['HLT/Higgs/WHToENuBB']
hltHiggsPostWHToENuBB.efficiencyProfile = efficiency_strings_WHToENuBB

hltHiggsPostProcessors = cms.Sequence(
hltHiggsPostHWW+
Expand All @@ -324,7 +335,8 @@ def get_reco_strings(strings):
hltHiggsPostZnnHbb+
hltHiggsPostDoubleHinTaus+
hltHiggsPostHiggsDalitz+
hltHiggsPostX4b
hltHiggsPostX4b+
hltHiggsPostWHToENuBB

)

Expand Down
10 changes: 9 additions & 1 deletion HLTriggerOffline/Higgs/python/hltHiggsValidator_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
hltHiggsValidator = cms.EDAnalyzer("HLTHiggsValidator",

hltProcessName = cms.string("HLT"),
analysis = cms.vstring("HWW", "HZZ", "Hgg", "HggControlPaths", "Htaunu", "H2tau", "VBFHbb_0btag", "VBFHbb_1btag", "VBFHbb_2btag", "ZnnHbb","DoubleHinTaus","HiggsDalitz","X4b","TTHbbej","AHttH"),
analysis = cms.vstring("HWW", "HZZ", "Hgg", "HggControlPaths", "Htaunu", "H2tau", "VBFHbb_0btag", "VBFHbb_1btag", "VBFHbb_2btag", "ZnnHbb","DoubleHinTaus","HiggsDalitz","X4b","TTHbbej","AHttH","WHToENuBB"),
histDirectory = cms.string("HLT/Higgs"),

# -- The instance name of the reco::GenParticles collection
Expand Down Expand Up @@ -346,4 +346,12 @@
## -- Analysis specific cuts
minCandidates = cms.uint32(6),
),
WHToENuBB = cms.PSet(
hltPathsToCheck = cms.vstring(
"HLT_Ele27_WPLoose_Gsf_WHbbBoost_v",
),
recElecLabel = cms.string("gedGsfElectrons"),
recJetLabel = cms.string("ak4PFJetsCHS"),
minCandidates = cms.uint32(1),
),
)
3 changes: 2 additions & 1 deletion HLTriggerOffline/Higgs/src/HLTHiggsSubAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,8 @@ const std::vector<unsigned int> HLTHiggsSubAnalysis::getObjectsType(const std::s
// Check if it is needed this object for this trigger
if( ! TString(hltPath).Contains(objTypeStr) )
{
if( (objtriggernames[i] == EVTColContainer::PFJET && TString(hltPath).Contains("CSV") ) || // fix for ZnnHbb PFJET
if( (objtriggernames[i] == EVTColContainer::PFJET && TString(hltPath).Contains("WHbbBoost") ) || // fix for HLT_Ele27_WPLoose_Gsf_WHbbBoost_v
(objtriggernames[i] == EVTColContainer::PFJET && TString(hltPath).Contains("CSV") ) || // fix for ZnnHbb PFJET
(objtriggernames[i] == EVTColContainer::PFMET && TString(hltPath).Contains("MHT")) ) // fix for ZnnHbb PFMET
objsType.insert(objtriggernames[i]);
else if (objtriggernames[i] == EVTColContainer::PHOTON && TString(hltPath).Contains("Diphoton") ) objsType.insert(objtriggernames[i]); //case of the New Diphoton paths
Expand Down