Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:46

0001 import FWCore.ParameterSet.Config as cms
0002 from EventFilter.DTRawToDigi.dtunpackerDDUGlobal_cfi import dtunpacker
0003 
0004 muonDTDigisforDTActivitySkim = dtunpacker.clone()
0005 
0006 import HLTrigger.special.hltDTActivityFilter_cfi
0007 
0008 hltDTActivityFilter = HLTrigger.special.hltDTActivityFilter_cfi.hltDTActivityFilter.clone(
0009    inputDCC         = cms.InputTag( "dttfDigis" ),
0010     inputDDU         = cms.InputTag( "muonDTDigisforDTActivitySkim" ),
0011     inputRPC         = cms.InputTag( "hltGtDigis" ),
0012     inputDigis       = cms.InputTag( "muonDTDigisforDTActivitySkim" ),
0013     processDCC       = cms.bool( False ),
0014     processDDU       = cms.bool( False ),
0015     processRPC       = cms.bool( False ),
0016     processDigis     = cms.bool( True ),
0017 
0018     maxDeltaPhi = cms.double( 1.0 ),
0019     maxDeltaEta = cms.double( 0.3 ),
0020 
0021     orTPG         = cms.bool( True ),
0022     orRPC         = cms.bool( True ),
0023     orDigi        = cms.bool( True ),
0024 
0025     minChamberLayers = cms.int32( 5 ),
0026     maxStation       = cms.int32( 3 ),
0027     minTPGQual       = cms.int32( 2 ),   # 0-1=L 2-3=H 4=LL 5=HL 6=HH
0028     minDDUBX         = cms.int32( 8 ),
0029     maxDDUBX         = cms.int32( 13 ),
0030     minDCCBX         = cms.int32( -1 ),
0031     maxDCCBX         = cms.int32( 1 ),
0032     minRPCBX         = cms.int32( -1 ),
0033     maxRPCBX         = cms.int32( 1 ),
0034     minActiveChambs  = cms.int32( 1 ),
0035     activeSectors    = cms.vint32(1,2,3,4,5,6,7,8,9,10,11,12) 
0036 )
0037 
0038 # this is for filtering on HLT path
0039 HLTDT =cms.EDFilter("HLTHighLevel",
0040      TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
0041      HLTPaths = cms.vstring('HLT_L1MuOpen','HLT_Activity_DT','HLT_Activity_DT_Tuned','HLT_Mu5_TkMu0_OST_Jpsi_Tight_B5Q7'),           # provide list of HLT paths (or patterns) you want
0042      eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
0043      andOr = cms.bool(True),             # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
0044      throw = cms.bool(False),    # throw exception on unknown path names
0045      saveTags = cms.bool(False)
0046 )
0047 
0048 dtHLTSkimseq = cms.Sequence(HLTDT)
0049 
0050 dtSkimseq=cms.Sequence(muonDTDigisforDTActivitySkim+hltDTActivityFilter)