CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DPGAnalysis/Skims/python/dtActivitySkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from EventFilter.DTRawToDigi.dtunpackerDDUGlobal_cfi import dtunpacker
00003 
00004 muonDTDigisforDTActivitySkim = dtunpacker.clone()
00005 
00006 import HLTrigger.special.hltDTActivityFilter_cfi
00007 
00008 hltDTActivityFilter = HLTrigger.special.hltDTActivityFilter_cfi.hltDTActivityFilter.clone(
00009    inputDCC         = cms.InputTag( "dttfDigis" ),
00010     inputDDU         = cms.InputTag( "muonDTDigisforDTActivitySkim" ),
00011     inputRPC         = cms.InputTag( "hltGtDigis" ),
00012     inputDigis       = cms.InputTag( "muonDTDigisforDTActivitySkim" ),
00013     processDCC       = cms.bool( False ),
00014     processDDU       = cms.bool( False ),
00015     processRPC       = cms.bool( False ),
00016     processDigis     = cms.bool( True ),
00017 
00018     maxDeltaPhi = cms.double( 1.0 ),
00019     maxDeltaEta = cms.double( 0.3 ),
00020 
00021     orTPG         = cms.bool( True ),
00022     orRPC         = cms.bool( True ),
00023     orDigi        = cms.bool( True ),
00024 
00025     minChamberLayers = cms.int32( 5 ),
00026     maxStation       = cms.int32( 3 ),
00027     minTPGQual       = cms.int32( 2 ),   # 0-1=L 2-3=H 4=LL 5=HL 6=HH
00028     minDDUBX         = cms.int32( 8 ),
00029     maxDDUBX         = cms.int32( 13 ),
00030     minDCCBX         = cms.int32( -1 ),
00031     maxDCCBX         = cms.int32( 1 ),
00032     minRPCBX         = cms.int32( -1 ),
00033     maxRPCBX         = cms.int32( 1 ),
00034     minActiveChambs  = cms.int32( 1 ),
00035     activeSectors    = cms.vint32(1,2,3,4,5,6,7,8,9,10,11,12) 
00036 )
00037 
00038 # this is for filtering on HLT path
00039 HLTDT =cms.EDFilter("HLTHighLevel",
00040      TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
00041      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
00042      eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
00043      andOr = cms.bool(True),             # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
00044      throw = cms.bool(False)    # throw exception on unknown path names
00045  )
00046 
00047 dtHLTSkimseq = cms.Sequence(HLTDT)
00048 
00049 dtSkimseq=cms.Sequence(muonDTDigisforDTActivitySkim+hltDTActivityFilter)