CMS 3D CMS Logo

cscPacker_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 cscpacker = cms.EDProducer("CSCDigiToRawModule",
4  wireDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi"),
5  stripDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigi"),
6  comparatorDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCComparatorDigi"),
7  alctDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis"),
8  clctDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis"),
9  preTriggerTag = cms.InputTag("simCscTriggerPrimitiveDigis"),
10  correlatedLCTDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis", "MPCSORTED"),
11  # if min parameter = -999 always accept
12  alctWindowMin = cms.int32(-3),
13  alctWindowMax = cms.int32(3),
14  clctWindowMin = cms.int32(-3),
15  clctWindowMax = cms.int32(3),
16  preTriggerWindowMin = cms.int32(-3),
17  preTriggerWindowMax = cms.int32(1)
18 )
19 
20 
21 
25 from Configuration.Eras.Modifier_run2_common_cff import run2_common
26 run2_common.toModify( cscpacker, useFormatVersion = cms.uint32(2013) )
27 run2_common.toModify( cscpacker, usePreTriggers = cms.bool(False) )
28 run2_common.toModify( cscpacker, packEverything = cms.bool(True) )
29 
30 
31 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
32 run3_GEM.toModify( cscpacker, padDigiClusterTag = cms.InputTag("simMuonGEMPadDigiClusters") )
33 run3_GEM.toModify( cscpacker, useGEMs = cms.bool(False) )