1 import FWCore.ParameterSet.Config
as cms
5 simMuonCSCDigis = cms.EDProducer(
"CSCDigiProducer",
7 peakTimeSigma = cms.double(3.0),
8 timeBitForBxZero = cms.int32(6),
9 doNoise = cms.bool(
True),
10 nScaBins = cms.int32(8),
11 doCrosstalk = cms.bool(
True),
12 pedestal = cms.double(600.0),
13 gainsConstant = cms.double(0.27),
14 signalStartTime = cms.double(-250.0),
15 shapingTime = cms.int32(100),
16 comparatorTimeOffset = cms.double(15.0),
22 bunchTimingOffsets = cms.vdouble(0.00, 40.52, 39.27, 57.28, 49.32, 56.27, 56.23, 54.73, 56.13, 53.65, 53.27),
23 signalSpeed = cms.vdouble(0.0, -78, -76, -188, -262, -97, -99, -90, -99, -99, -113),
24 timingCalibrationError = cms.vdouble(0., 4.2, 4.2, 0., 0., 0., 0., 0., 0., 0., 0.),
26 scaTimingOffsets = cms.vdouble(0.0, 10., 10., 0.,0.,0.,0.,0.,0.,0.,0.),
27 comparatorTimeBinOffset = cms.double(3.0),
28 comparatorSamplingTime = cms.double(25.0),
29 scaPeakBin = cms.int32(5),
30 pedestalSigma = cms.double(1.5),
31 signalStopTime = cms.double(500.0),
32 readBadChannels = cms.bool(
False),
33 readBadChambers = cms.bool(
True),
34 CSCUseTimingCorrections = cms.bool(
False),
35 CSCUseGasGainCorrections = cms.bool(
False),
36 gain = cms.double(2.0),
38 capacativeCrosstalk = cms.double(35.0),
39 samplingTime = cms.double(25.0),
40 resistiveCrosstalkScaling = cms.double(1.8),
41 me11gain = cms.double(4.0),
42 doSuppression = cms.bool(
False),
43 tailShaping = cms.int32(2),
44 ampGainSigma = cms.double(0.03),
45 doCorrelatedNoise = cms.bool(
True)
47 doNeutrons = cms.bool(
False),
58 signalStopTime = cms.double(300.0),
60 timingCalibrationError = cms.vdouble(0., 6.2, 6.2, 0., 0., 0., 0., 0., 0., 0., 0.),
61 signalStartTime = cms.double(-200.0),
62 signalSpeed = cms.vdouble(0.0, -700, 900, 160, 146, 148, 117, 131, 107, 123, 123),
63 peakTimeSigma = cms.double(0.0),
64 shapingTime = cms.int32(30),
65 readBadChannels = cms.bool(
False),
66 timeBitForBxZero = cms.int32(6),
67 samplingTime = cms.double(5.0),
69 bunchTimingOffsets = cms.vdouble(0.00, 21.64, 21.64, 28.29, 29.36, 29.33, 28.57, 28.61, 28.83, 29.09, 28.22),
70 tailShaping = cms.int32(2),
71 doNoise = cms.bool(
True)
74 mixLabel = cms.string(
"mix"),
75 InputCollection = cms.string(
"g4SimHitsMuonCSCHits"),
77 stripConditions = cms.string(
'Database'),
78 GeometryType = cms.string(
'idealForDigi'),
79 digitizeBadChambers = cms.bool(
False),
80 layersNeeded = cms.uint32(3),
81 dumpGasCollisions = cms.untracked.bool(
False)
87 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
88 run2_common.toModify( simMuonCSCDigis.strips, bunchTimingOffsets=[0.0, 37.53, 37.66, 55.4, 48.2, 54.45, 53.78, 53.38, 54.12, 51.98, 51.28] )
89 run2_common.toModify( simMuonCSCDigis.wires, bunchTimingOffsets=[0.0, 22.88, 22.55, 29.28, 30.0, 30.0, 30.5, 31.0, 29.5, 29.1, 29.88] )
91 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
92 if fastSim.isChosen():
93 simMuonCSCDigis.InputCollection =
'MuonSimHitsMuonCSCHits'