CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/TopQuarkAnalysis/Configuration/python/patRefSel_triggerSelection_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 l1Tag  = cms.InputTag( '' ) # skip L1 results, since conflicts with the GlobalTag can occur
00004 hltTag = cms.InputTag( 'TriggerResults::HLT' )
00005 
00006 from HLTrigger.special.hltPhysicsDeclared_cfi import *
00007 hltPhysicsDeclared.L1GtReadoutRecordTag = l1Tag
00008 
00009 from HLTrigger.HLTfilters.triggerResultsFilter_cfi import *
00010 triggerResults = triggerResultsFilter.clone( hltResults = hltTag
00011                                            , l1tResults = l1Tag
00012                                            , throw      = False
00013                                            )
00014 
00015 triggerSelection = cms.Sequence(
00016   hltPhysicsDeclared
00017 * triggerResults
00018 )