CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
cscPacker_cfi.py
Go to the documentation of this file.
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 ##
22 ## Make changes for running in Run 2
23 ##
24 from Configuration.StandardSequences.Eras import eras
25 # packer - simply get rid of it
26 eras.run2_common.toModify( cscpacker, useFormatVersion = cms.uint32(2013) )
27 eras.run2_common.toModify( cscpacker, usePreTriggers = cms.bool(False) )
28 eras.run2_common.toModify( cscpacker, packEverything = cms.bool(True) )