CMS 3D CMS Logo

dtActivitySkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from EventFilter.DTRawToDigi.dtunpackerDDUGlobal_cfi import dtunpacker
3 
4 muonDTDigisforDTActivitySkim = dtunpacker.clone()
5 
6 import HLTrigger.special.hltDTActivityFilter_cfi
7 
8 hltDTActivityFilter = HLTrigger.special.hltDTActivityFilter_cfi.hltDTActivityFilter.clone(
9  inputDCC = cms.InputTag( "dttfDigis" ),
10  inputDDU = cms.InputTag( "muonDTDigisforDTActivitySkim" ),
11  inputRPC = cms.InputTag( "hltGtDigis" ),
12  inputDigis = cms.InputTag( "muonDTDigisforDTActivitySkim" ),
13  processDCC = cms.bool( False ),
14  processDDU = cms.bool( False ),
15  processRPC = cms.bool( False ),
16  processDigis = cms.bool( True ),
17 
18  maxDeltaPhi = cms.double( 1.0 ),
19  maxDeltaEta = cms.double( 0.3 ),
20 
21  orTPG = cms.bool( True ),
22  orRPC = cms.bool( True ),
23  orDigi = cms.bool( True ),
24 
25  minChamberLayers = cms.int32( 5 ),
26  maxStation = cms.int32( 3 ),
27  minTPGQual = cms.int32( 2 ), # 0-1=L 2-3=H 4=LL 5=HL 6=HH
28  minDDUBX = cms.int32( 8 ),
29  maxDDUBX = cms.int32( 13 ),
30  minDCCBX = cms.int32( -1 ),
31  maxDCCBX = cms.int32( 1 ),
32  minRPCBX = cms.int32( -1 ),
33  maxRPCBX = cms.int32( 1 ),
34  minActiveChambs = cms.int32( 1 ),
35  activeSectors = cms.vint32(1,2,3,4,5,6,7,8,9,10,11,12)
36 )
37 
38 # this is for filtering on HLT path
39 HLTDT =cms.EDFilter("HLTHighLevel",
40  TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
41  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
42  eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
43  andOr = cms.bool(True), # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
44  throw = cms.bool(False), # throw exception on unknown path names
45  saveTags = cms.bool(False)
46 )
47 
48 dtHLTSkimseq = cms.Sequence(HLTDT)
49 
50 dtSkimseq=cms.Sequence(muonDTDigisforDTActivitySkim+hltDTActivityFilter)