diff --git a/[refs] b/[refs] index 4d32de1d114ef..509c19af1c1e8 100644 --- a/[refs] +++ b/[refs] @@ -1,3 +1,3 @@ --- refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e -"refs/heads/CMSSW_7_1_X": e32d659571811abd333a29993e140ef17a0c569c +"refs/heads/CMSSW_7_1_X": 2bfe53aa86b6c5f8401a7a27101b1c87dafcd4c3 diff --git a/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_2tau_cfi.py b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_2tau_cfi.py new file mode 100644 index 0000000000000..dca16bd0d722e --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_2tau_cfi.py @@ -0,0 +1,36 @@ +import FWCore.ParameterSet.Config as cms + +HLTHiggsBits_2tau = cms.EDFilter("HLTHiggsBits", + + muon = cms.string('muons'), + + histName = cms.string(''), + OutputMEsInRootFile = cms.bool(False), + ## histName = cms.string("#outputfile#"), + + Photon = cms.string('correctedPhotons'), + + MCTruth = cms.InputTag("genParticles"), + hltBitNames = cms.vstring('HLT_Mu3','HLT_Mu9','HLT_Mu15','HLT_Ele10_LW_L1R','HLT_Ele15_SW_L1R','HLT_Ele15_SW_LooseTrackIso_L1R'), + hltBitNamesEG = cms.vstring('HLT_Ele10_LW_L1R','HLT_Ele10_LW_EleId_L1R','HLT_Ele15_SW_L1R','HLT_Ele15_SW_LooseTrackIso_L1R'), + hltBitNamesMu = cms.vstring('HLT_Mu3','HLT_Mu9','HLT_Mu15'), + hltBitNamesPh = cms.vstring(''), + hltBitNamesTau = cms.vstring(''), + + Electron = cms.string('gsfElectrons'), + + Nchannel = cms.int32(4), + + OutputFileName = cms.string(''), + DQMFolder = cms.untracked.string("HLT/Higgs/H2tau"), + + HLTriggerResults = cms.InputTag("TriggerResults","","HLT"), + RunParameters = cms.PSet( + Debug = cms.bool(True), + Monte = cms.bool(True), + EtaMax = cms.double(2.5), + EtaMin = cms.double(-2.5) + ) +) + + diff --git a/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_WW_cfi.py b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_WW_cfi.py new file mode 100644 index 0000000000000..33a3a86435751 --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_WW_cfi.py @@ -0,0 +1,45 @@ +import FWCore.ParameterSet.Config as cms + +HLTHiggsBits_WW = cms.EDFilter("HLTHiggsBits", + ## hcalDigisLabel = cms.string('hcalTriggerPrimitiveDigis'), + muon = cms.string('muons'), + ## L1GTObjectMapTag = cms.InputTag("l1GtEmulDigis"), + histName = cms.string(''), + OutputMEsInRootFile = cms.bool(False), + ## histName = cms.string("#outputfile#"), + ## calotowers = cms.string('towerMaker'), + ## L1GTReadoutRecord = cms.InputTag("l1GtEmulDigis"), + Photon = cms.string('correctedPhotons'), + ## genmet = cms.string('genMet'), + MCTruth = cms.InputTag("genParticles"), + hltBitNames = cms.vstring('HLT_Mu3','HLT_Mu9','HLT_Mu15','HLT_Ele10_LW_L1R','HLT_Ele10_LW_EleId_L1R','HLT_Ele15_SW_L1R','HLT_Ele15_SW_LooseTrackIso_L1R'), + hltBitNamesEG = cms.vstring('HLT_Ele10_LW_L1R','HLT_Ele10_LW_EleId_L1R','HLT_Ele15_SW_L1R','HLT_Ele15_SW_LooseTrackIso_L1R'), + hltBitNamesMu = cms.vstring('HLT_Mu3','HLT_Mu9','HLT_Mu15'), + hltBitNamesPh = cms.vstring(''), + hltBitNamesTau = cms.vstring(''), + ## hltLabels = cms.vstring(' '), + ## hltLabelsMu = cms.vstring(' '), + ## hltLabelsEg = cms.vstring(' '), + ## L1ExtraParticleMap = cms.InputTag("l1extraParticleMap"), + # Electron = cms.string('pixelMatchGsfElectrons'), + Electron = cms.string('gsfElectrons'), + ## genjets = cms.string('iterativeCone5GenJets'), + ## recmet = cms.string('met'), + # Nchannel = cms.int32(0), + Nchannel = cms.int32(2), + ## recjets = cms.string('iterativeCone5CaloJets'), + OutputFileName = cms.string(''), + DQMFolder = cms.untracked.string("HLT/Higgs/HWW"), + ## particleMapSource = cms.string('l1extraParticleMap'), + ## l1extramc = cms.string('l1extraParticles'), + HLTriggerResults = cms.InputTag("TriggerResults","","HLT"), + RunParameters = cms.PSet( + Debug = cms.bool(True), + Monte = cms.bool(True), + EtaMax = cms.double(2.5), + EtaMin = cms.double(-2.5) + )#, + ## ecalDigisLabel = cms.string('ecalTriggerPrimitiveDigis') +) + + diff --git a/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_ZZ_cfi.py b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_ZZ_cfi.py new file mode 100644 index 0000000000000..f8a887389d6b6 --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_ZZ_cfi.py @@ -0,0 +1,33 @@ +import FWCore.ParameterSet.Config as cms + +HLTHiggsBits_ZZ = cms.EDFilter("HLTHiggsBits", + + muon = cms.string('muons'), + histName = cms.string(''), + OutputMEsInRootFile = cms.bool(False), + ## histName = cms.string("#outputfile#"), + Photon = cms.string('correctedPhotons'), + genmet = cms.string('genMet'), + MCTruth = cms.InputTag("genParticles"), + hltBitNames = cms.vstring('HLT_Mu3','HLT_Mu9','HLT_Mu15','HLT_Ele10_LW_L1R','HLT_Ele10_LW_EleId_L1R','HLT_Ele15_SW_LooseTrackIso_L1R','HLT_Ele15_SW_L1R'), + hltBitNamesEG = cms.vstring('HLT_Ele10_LW_L1R','HLT_Ele10_LW_EleId_L1R','HLT_Ele15_SW_L1R','HLT_Ele15_SW_LooseTrackIso_L1R'), + hltBitNamesMu = cms.vstring('HLT_Mu3','HLT_Mu9','HLT_Mu15'), + hltBitNamesPh = cms.vstring(''), + hltBitNamesTau = cms.vstring(''), + + # Electron = cms.string('pixelMatchGsfElectrons'), + Electron = cms.string('gsfElectrons'), + + Nchannel = cms.int32(1), + OutputFileName = cms.string(''), + DQMFolder = cms.untracked.string("HLT/Higgs/HZZ"), + HLTriggerResults = cms.InputTag("TriggerResults","","HLT"), + RunParameters = cms.PSet( + Debug = cms.bool(True), + Monte = cms.bool(True), + EtaMax = cms.double(2.5), + EtaMin = cms.double(-2.5) + ) +) + + diff --git a/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_gg_cfi.py b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_gg_cfi.py new file mode 100644 index 0000000000000..07b4d0809cbde --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_gg_cfi.py @@ -0,0 +1,32 @@ +import FWCore.ParameterSet.Config as cms + +HLTHiggsBits_gg = cms.EDFilter("HLTHiggsBits", + + muon = cms.string('muons'), + histName = cms.string(''), + OutputMEsInRootFile = cms.bool(False), + ## histName = cms.string("#outputfile#"), + Photon = cms.string('correctedPhotons'), + MCTruth = cms.InputTag("genParticles"), + hltBitNames = cms.vstring(''), + hltBitNamesEG = cms.vstring(''), + hltBitNamesMu = cms.vstring(''), + hltBitNamesPh = cms.vstring('HLT_Photon15_L1R','HLT_Photon15_TrackIso_L1R','HLT_DoublePhoton10_L1R'), + hltBitNamesTau = cms.vstring(''), + + # Electron = cms.string('pixelMatchGsfElectrons'), + Electron = cms.string('gsfElectrons'), + Nchannel = cms.int32(3), + + OutputFileName = cms.string(''), + DQMFolder = cms.untracked.string("HLT/Higgs/Hgg"), + HLTriggerResults = cms.InputTag("TriggerResults","","HLT"), + RunParameters = cms.PSet( + Debug = cms.bool(True), + Monte = cms.bool(True), + EtaMax = cms.double(2.5), + EtaMin = cms.double(-2.5) + ) +) + + diff --git a/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_taunu_cfi.py b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_taunu_cfi.py new file mode 100644 index 0000000000000..02df8a45d7180 --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsBits_taunu_cfi.py @@ -0,0 +1,45 @@ +import FWCore.ParameterSet.Config as cms + +HLTHiggsBits_taunu = cms.EDFilter("HLTHiggsBits", + ## hcalDigisLabel = cms.string('hcalTriggerPrimitiveDigis'), + muon = cms.string('muons'), + ## L1GTObjectMapTag = cms.InputTag("l1GtEmulDigis"), + histName = cms.string(''), + OutputMEsInRootFile = cms.bool(False), + ## histName = cms.string("#outputfile#"), + ## calotowers = cms.string('towerMaker'), + ## L1GTReadoutRecord = cms.InputTag("l1GtEmulDigis"), + Photon = cms.string('correctedPhotons'), + ## genmet = cms.string('genMet'), + MCTruth = cms.InputTag("genParticles"), + hltBitNames = cms.vstring(''), + hltBitNamesEG = cms.vstring(''), + hltBitNamesMu = cms.vstring(''), + hltBitNamesPh = cms.vstring(''), + hltBitNamesTau = cms.vstring('HLT_SingleLooseIsoTau20'), + ## hltLabels = cms.vstring(' '), + ## hltLabelsMu = cms.vstring(' '), + ## hltLabelsEg = cms.vstring(' '), + ## L1ExtraParticleMap = cms.InputTag("l1extraParticleMap"), + # Electron = cms.string('pixelMatchGsfElectrons'), + Electron = cms.string('gsfElectrons'), + ## genjets = cms.string('iterativeCone5GenJets'), + ## recmet = cms.string('met'), + # Nchannel = cms.int32(0), + Nchannel = cms.int32(5), + ## recjets = cms.string('iterativeCone5CaloJets'), + OutputFileName = cms.string(''), + DQMFolder = cms.untracked.string("HLT/Higgs/Htaunu"), + ## particleMapSource = cms.string('l1extraParticleMap'), + ## l1extramc = cms.string('l1extraParticles'), + HLTriggerResults = cms.InputTag("TriggerResults","","HLT"), + RunParameters = cms.PSet( + Debug = cms.bool(True), + Monte = cms.bool(True), + EtaMax = cms.double(2.5), + EtaMin = cms.double(-2.5) + )#, + ## ecalDigisLabel = cms.string('ecalTriggerPrimitiveDigis') +) + + diff --git a/trunk/HLTriggerOffline/Higgs/python/HLTHiggsPostVal_cff.py b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsPostVal_cff.py new file mode 100644 index 0000000000000..a1d8bad6dfba2 --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/HLTHiggsPostVal_cff.py @@ -0,0 +1,152 @@ +import FWCore.ParameterSet.Config as cms +from HLTriggerOffline.Higgs.PostProcessor_cfi import * + +hltHiggsPostHWW = HLTHiggsPostProcessor.clone() + +hltHiggsPostHWW.subDirs = ['HLT/Higgs/HWW'] +hltHiggsPostHWW.efficiency = ( + # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu", + + "EffVsPt_HLT_Mu3 'HLT_Mu3 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu3 Muon1Pt", + "EffVsEta_HLT_Mu3 'HLT_Mu3 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu3 Muon1Eta", + + "EffVsPt_HLT_Mu9 'HLT_Mu9 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu9 Muon1Pt", + "EffVsEta_HLT_Mu9 'HLT_Mu9 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu9 Muon1Eta", + + "EffVsPt_HLT_Mu15 'HLT_Mu15 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu15 Muon1Pt", + "EffVsEta_HLT_Mu15 'HLT_Mu15 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu15 Muon1Eta", + + "EffVsPt_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele10_LW_L1R Electron1Pt", + "EffVsEta_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele10_LW_L1R Electron1Eta", + + + "EffVsPt_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele15_SW_L1R Electron1Pt", + "EffVsEta_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele15_SW_L1R Electron1Eta", + + "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt", + "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta", + + ######## + + "EffVsPt_HLT_Mu3_EM 'HLT_Mu3 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu3 Muon1Pt_EM", + "EffVsEta_HLT_Mu3_EM 'HLT_Mu3 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu3 Muon1Eta_EM", + + "EffVsPt_HLT_Mu9_EM 'HLT_Mu9 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu9 Muon1Pt_EM", + "EffVsEta_HLT_Mu9_EM 'HLT_Mu9 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu9 Muon1Eta_EM", + + "EffVsPt_HLT_Mu15_EM 'HLT_Mu15 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu15 Muon1Pt_EM", + "EffVsEta_HLT_Mu15_EM 'HLT_Mu15 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu15 Muon1Eta_EM", + + "EffVsPt_HLT_Ele10_LW_L1R_EM 'HLT_Ele10_LW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele10_LW_L1R Electron1Pt_EM", + "EffVsEta_HLT_Ele10_LW_L1R_EM 'HLT_Ele10_LW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele10_LW_L1R Electron1Eta_EM", + + + "EffVsPt_HLT_Ele15_SW_L1R_EM 'HLT_Ele15_SW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele15_SW_L1R Electron1Pt_EM", + "EffVsEta_HLT_Ele15_SW_L1R_EM 'HLT_Ele15_SW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele15_SW_L1R Electron1Eta_EM", + + "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R_EM 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt_EM", + "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R_EM 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta_EM", + + + ) + +hltHiggsPostHgg = HLTHiggsPostProcessor.clone() + +hltHiggsPostHgg.subDirs = ['HLT/Higgs/Hgg'] +hltHiggsPostHgg.efficiency = ( + # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu", + + "EffVsPt_HLT_Photon15_L1R 'HLT_Photon15_L1R ; p_{T #gamma}; Trigger_Efficiency' Photon1Pt_HLT_Photon15_L1R Photon1Pt", + "EffVsEta_HLT_Photon15_L1R 'HLT_Photon15_L1R ; #eta_{#gamma}; Trigger_Efficiency' Photon1Eta_HLT_Photon15_L1R Photon1Eta", + + "EffVsPt_HLT_Photon15_TrackIso_L1R 'HLT_Photon15_TrackIso_L1R ; p_{T #gamma}; Trigger_Efficiency' Photon1Pt_HLT_Photon15_TrackIso_L1R Photon1Pt", + "EffVsEta_HLT_Photon15_TrackIso_L1R 'HLT_Photon15_TrackIso_L1R ; #eta_{#gamma}; Trigger_Efficiency' Photon1Eta_HLT_Photon15_TrackIso_L1R Photon1Eta", + + "EffVsPt_HLT_DoublePhoton10_L1R 'HLT_DoublePhoton10_L1R ; p_{T #gamma}; Trigger_Efficiency' Photon1Pt_HLT_DoublePhoton10_L1R Photon1Pt", + "EffVsEta_HLT_DoublePhoton10_L1R 'HLT_DoublePhoton10_L1R ; #eta_{#gamma}; Trigger_Efficiency' Photon1Eta_HLT_DoublePhoton10_L1R Photon1Eta", + + ) + +hltHiggsPostHZZ = HLTHiggsPostProcessor.clone() + +hltHiggsPostHZZ.subDirs = ['HLT/Higgs/HZZ'] +hltHiggsPostHZZ.efficiency = ( + # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu", + "EffVsPt_HLT_Mu3 'HLT_Mu3 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu3 Muon1Pt", + "EffVsEta_HLT_Mu3 'HLT_Mu3 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu3 Muon1Eta", + + "EffVsPt_HLT_Mu9 'HLT_Mu9 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu9 Muon1Pt", + "EffVsEta_HLT_Mu9 'HLT_Mu9 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu9 Muon1Eta", + + "EffVsPt_HLT_Mu15 'HLT_Mu15 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu15 Muon1Pt", + "EffVsEta_HLT_Mu15 'HLT_Mu15 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu15 Muon1Eta", + + "EffVsPt_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele10_LW_L1R Electron1Pt", + "EffVsEta_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele10_LW_L1R Electron1Eta", + + + "EffVsPt_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele15_SW_L1R Electron1Pt", + "EffVsEta_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele15_SW_L1R Electron1Eta", + + "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt", + "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta", + + ######## + + "EffVsPt_HLT_Mu3_EM 'HLT_Mu3 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu3 Muon1Pt_EM", + "EffVsEta_HLT_Mu3_EM 'HLT_Mu3 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu3 Muon1Eta_EM", + + "EffVsPt_HLT_Mu9_EM 'HLT_Mu9 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu9 Muon1Pt_EM", + "EffVsEta_HLT_Mu9_EM 'HLT_Mu9 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu9 Muon1Eta_EM", + + "EffVsPt_HLT_Mu15_EM 'HLT_Mu15 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu15 Muon1Pt_EM", + "EffVsEta_HLT_Mu15_EM 'HLT_Mu15 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu15 Muon1Eta_EM", + + "EffVsPt_HLT_Ele10_LW_L1R_EM 'HLT_Ele10_LW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele10_LW_L1R Electron1Pt_EM", + "EffVsEta_HLT_Ele10_LW_L1R_EM 'HLT_Ele10_LW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele10_LW_L1R Electron1Eta_EM", + + + "EffVsPt_HLT_Ele15_SW_L1R_EM 'HLT_Ele15_SW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele15_SW_L1R Electron1Pt_EM", + "EffVsEta_HLT_Ele15_SW_L1R_EM 'HLT_Ele15_SW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele15_SW_L1R Electron1Eta_EM", + + "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R_EM 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt_EM", + "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R_EM 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta_EM", + + + ) + +hltHiggsPostH2tau = HLTHiggsPostProcessor.clone() + +hltHiggsPostH2tau.subDirs = ['HLT/Higgs/H2tau'] +hltHiggsPostH2tau.efficiency = ( + # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu", + + "EffVsPt_HLT_Mu3 'HLT_Mu3 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu3 Muon1Pt", + "EffVsEta_HLT_Mu3 'HLT_Mu3 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu3 Muon1Eta", + + "EffVsPt_HLT_Mu9 'HLT_Mu9 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu9 Muon1Pt", + "EffVsEta_HLT_Mu9 'HLT_Mu9 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu9 Muon1Eta", + + "EffVsPt_HLT_Mu15 'HLT_Mu15 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu15 Muon1Pt", + "EffVsEta_HLT_Mu15 'HLT_Mu15 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu15 Muon1Eta", + + "EffVsPt_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele10_LW_L1R Electron1Pt", + "EffVsEta_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele10_LW_L1R Electron1Eta", + + + "EffVsPt_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele15_SW_L1R Electron1Pt", + "EffVsEta_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele15_SW_L1R Electron1Eta", + + "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt", + "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta", + + + ) + +HLTHiggsPostVal = cms.Sequence( + hltHiggsPostHgg * + hltHiggsPostHWW * + hltHiggsPostHZZ * + hltHiggsPostH2tau +) + diff --git a/trunk/HLTriggerOffline/Higgs/python/HiggsValidation_cff.py b/trunk/HLTriggerOffline/Higgs/python/HiggsValidation_cff.py new file mode 100644 index 0000000000000..f9eade3c3b0f7 --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/HiggsValidation_cff.py @@ -0,0 +1,58 @@ + +#### based on EgammaValidation_cff + +import FWCore.ParameterSet.Config as cms + +class dummy: + pass + +samples=dummy() +files=dummy() + +########################################################## +# Define which preselections to run # +########################################################## + +samples.names = ['HWW', + 'Hgg', + 'H2tau', + 'HZZ' + ] + +files.HWW = ['HLTHiggsBits_WW'] +files.Hgg = ['HLTHiggsBits_gg'] +files.H2tau = ['HLTHiggsBits_2tau'] +files.HZZ = ['HLTHiggsBits_ZZ'] + + + +tmp = cms.SequencePlaceholder("tmp") +HiggsValidationSequence = cms.Sequence(tmp) # no empty sequences allowed, start with dummy + +#loop over samples +for samplenum in range(len(samples.names)): + + + # loop over triggers for each sample + + for trig in getattr(files,samples.names[samplenum]): + trigname = trig + samples.names[samplenum] + #import appropriate config snippet + # filename = "HLTriggerOffline.Higgs."+trig+"_cfi" + filename = "HLTriggerOffline.Higgs."+trig+"_cfi" + trigdef =__import__( filename ) + import sys + globals()[trigname] = getattr(sys.modules[filename],trig).clone() # clone imported config + # setattr(globals()[trigname],"cutcollection",cms.InputTag(fiducialname)) # set preselacted generator collection + # setattr(globals()[trigname],"cutnum",cms.int32( samples.num[samplenum] )) # cut value for preselection + # setattr(globals()[trigname],"pdgGen",cms.int32( samples.pdgid[samplenum])) #correct pdgId for MC matching + # getattr(globals()[trigname],'triggerobject').setProcessName( lumiprocess[pathlumi[trig]] ) #set proper process name + # for filterpset in getattr(globals()[trigname],'filters'): + # getattr(filterpset,'HLTCollectionLabels').setProcessName( lumiprocess[pathlumi[trig]] ) + # for isocollections in getattr(filterpset,'IsoCollections'): + # isocollections.setProcessName( lumiprocess[pathlumi[trig]]) + + HiggsValidationSequence *= globals()[trigname] # add to sequence + + +HiggsValidationSequence.remove(tmp) # remove the initial dummy diff --git a/trunk/HLTriggerOffline/Higgs/python/PostProcessor_cfi.py b/trunk/HLTriggerOffline/Higgs/python/PostProcessor_cfi.py new file mode 100644 index 0000000000000..14d637c23620d --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/PostProcessor_cfi.py @@ -0,0 +1,31 @@ +import FWCore.ParameterSet.Config as cms + +HLTHiggsPostProcessor = cms.EDFilter("DQMGenericClient", + subDirs = cms.untracked.vstring('HLT/Higgs/HWW'), + verbose = cms.untracked.uint32(0), # Set to 2 for all messages + outputFileName = cms.untracked.string(''), + commands = cms.vstring(''), + resolution = cms.vstring(''), + efficiency = cms.vstring( + # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu", + # "EffVsPt_HLT_Mu3 'HLT_Mu3 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_HLT_Mu3 Muon1Pt", + #"EffVsEta_HLT_Mu3 'HLT_Mu3 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_HLT_Mu3 Muon1Eta", + + + # "EffVsPt_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_HLT_Ele10_LW_L1R Electron1Pt", + # "EffVsEta_HLT_Ele10_LW_L1R 'HLT_Ele10_LW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_HLT_Ele10_LW_L1R Electron1Eta", + + # "EffVsPt_HLT_Photon15_L1R 'HLT_Photon15_L1R ; p_{T #gamma}; Trigger_Efficiency' Photon1Pt_HLT_Photon15_L1R Photon1Pt", + # "EffVsEta_HLT_Photon15_L1R 'HLT_Photon15_L1R ; #eta_{#gamma}; Trigger_Efficiency' Photon1Eta_HLT_Photon15_L1R Photon1Eta", + + #"EffVsPt_HLT_Photon15_TrackIso_L1R 'HLT_Photon15_TrackIso_L1R ; p_{T #gamma}; Trigger_Efficiency' Photon1Pt_HLT_Photon15_TrackIso_L1R Photon1Pt", + # "EffVsEta_HLT_Photon15_TrackIso_L1R 'HLT_Photon15_TrackIso_L1R ; #eta_{#gamma}; Trigger_Efficiency' Photon1Eta_HLT_Photon15_TrackIso_L1R Photon1Eta", + + #"EffVsPt_HLT_DoublePhoton10_L1R 'HLT_DoublePhoton10_L1R ; p_{T #gamma}; Trigger_Efficiency' Photon1Pt_HLT_DoublePhoton10_L1R Photon1Pt", + # "EffVsEta_HLT_DoublePhoton10_L1R 'HLT_DoublePhoton10_L1R ; #eta_{#gamma}; Trigger_Efficiency' Photon1Eta_HLT_DoublePhoton10_L1R Photon1Eta", + + + + ) +) + diff --git a/trunk/HLTriggerOffline/Higgs/python/__init__.py b/trunk/HLTriggerOffline/Higgs/python/__init__.py new file mode 100644 index 0000000000000..13a1f71f0bb99 --- /dev/null +++ b/trunk/HLTriggerOffline/Higgs/python/__init__.py @@ -0,0 +1 @@ +#Automatically created by SCRAM