Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:42

0001 import FWCore.ParameterSet.Config as cms
0002 #process.hltTriggerTypeFilter
0003 
0004 TAG_HLTSEL = 'HLT_*'
0005 
0006 
0007 hltHighLevel = cms.EDFilter("HLTHighLevel",
0008                             TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
0009                             HLTPaths = cms.vstring(           # provide list of HLT paths (or patterns) you want
0010                                 TAG_HLTSEL
0011                                 ),
0012                             eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
0013                             andOr = cms.bool(True),             # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
0014                             throw = cms.bool(False)    # throw exception on unknown path names
0015                             )
0016 
0017 
0018 hltfilter = cms.Sequence(hltHighLevel)
0019 
0020 from RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi import siPixelClusters
0021 filtersiPixelClusters = siPixelClusters.clone(
0022   src = "filtersiPixelDigis"
0023 )
0024 
0025 from EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi import siPixelDigis
0026 filtersiPixelDigis = siPixelDigis.clone(
0027   InputLabel = "rawDataCollector"
0028 )
0029 
0030 import  HLTrigger.special.hltPixelActivityFilter_cfi
0031 multFilter = HLTrigger.special.hltPixelActivityFilter_cfi.hltPixelActivityFilter.clone(
0032     inputTag  = 'filtersiPixelClusters',
0033     minClusters = 10000,
0034     maxClusters = 50000
0035 )
0036 
0037 pixelClusterFilter = cms.Sequence(filtersiPixelDigis * filtersiPixelClusters * multFilter)
0038 
0039 # process.hltfilter=cms.Path(process.hltHighLevel)
0040 
0041 
0042 # process.load("HLTrigger.special.HLTTriggerTypeFilter_cfi")
0043 # # 0=random, 1=physics, 2=calibration, 3=technical
0044 # process.hltTriggerTypeFilter.SelectedTriggerType = TAG_TRIGGERTYPE
0045 
0046 # process.triggertype=cms.Path(process.hltTriggerTypeFilter)
0047 
0048 # # this is for filtering on L1 technical trigger bit
0049 # process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0050 # process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0051 # process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0052 # process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string(TAG_L1TTSEL)
0053 # process.techtrigger=cms.Path(process.hltLevel1GTSeed)
0054 
0055 # #this is for filtering/tagging PhysDecl bit
0056 # process.physdecl = cms.EDFilter("PhysDecl",
0057 #                                      applyfilter = cms.untracked.bool(False),
0058 #                                      debugOn = cms.untracked.bool(True),
0059 #                                 # the following needs V00-01-19 of DPGAnalysis/Skims!!!
0060 #                                      HLTriggerResults = cms.InputTag("TriggerResults","","HLT")
0061 
0062 #                                     )
0063 # process.Monitoring=cms.Path(process.physdecl)
0064 
0065 
0066 # this is how the path was configured in the initial script from TB
0067 #process.hltinspect
0068 #process.hltTriggerTypeFilter
0069 #RAWTODIGI
0070 #process.hltLevel1GTSeed
0071 #RECO
0072 #process.l1GtTriggerMenuLite+process.beamsplash+process.physdecl+process.dcsstatus