File indexing completed on 2024-04-06 12:30:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 simMuonCSCDigis = cms.EDProducer("CSCDigiProducer",
0006 strips = cms.PSet(
0007 peakTimeSigma = cms.double(3.0),
0008 timeBitForBxZero = cms.int32(6),
0009 doNoise = cms.bool(True),
0010 nScaBins = cms.int32(8),
0011 doCrosstalk = cms.bool(True),
0012 pedestal = cms.double(600.0),
0013 gainsConstant = cms.double(0.27),
0014 signalStartTime = cms.double(-250.0),
0015 shapingTime = cms.int32(100),
0016 comparatorTimeOffset = cms.double(15.0),
0017
0018
0019
0020
0021
0022 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),
0023 signalSpeed = cms.vdouble(0.0, -78, -76, -188, -262, -97, -99, -90, -99, -99, -113),
0024 timingCalibrationError = cms.vdouble(0., 4.2, 4.2, 0., 0., 0., 0., 0., 0., 0., 0.),
0025
0026 scaTimingOffsets = cms.vdouble(0.0, 10., 10., 0.,0.,0.,0.,0.,0.,0.,0.),
0027
0028 comparatorTimeBinOffset = cms.double(4.0),
0029 comparatorSamplingTime = cms.double(25.0),
0030 scaPeakBin = cms.int32(5),
0031 pedestalSigma = cms.double(1.5),
0032 signalStopTime = cms.double(500.0),
0033 readBadChannels = cms.bool(False),
0034 readBadChambers = cms.bool(True),
0035 CSCUseTimingCorrections = cms.bool(False),
0036 CSCUseGasGainCorrections = cms.bool(False),
0037 gain = cms.double(2.0),
0038
0039 capacativeCrosstalk = cms.double(35.0),
0040 samplingTime = cms.double(25.0),
0041 resistiveCrosstalkScaling = cms.double(1.8),
0042 me11gain = cms.double(4.0),
0043 doSuppression = cms.bool(False),
0044 tailShaping = cms.int32(2),
0045 ampGainSigma = cms.double(0.03),
0046 doCorrelatedNoise = cms.bool(True)
0047 ),
0048 doNeutrons = cms.bool(False),
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058 wires = cms.PSet(
0059 signalStopTime = cms.double(300.0),
0060
0061 timingCalibrationError = cms.vdouble(0., 6.2, 6.2, 0., 0., 0., 0., 0., 0., 0., 0.),
0062 signalStartTime = cms.double(-200.0),
0063 signalSpeed = cms.vdouble(0.0, -700, 900, 160, 146, 148, 117, 131, 107, 123, 123),
0064 peakTimeSigma = cms.double(0.0),
0065 shapingTime = cms.int32(30),
0066 readBadChannels = cms.bool(False),
0067 timeBitForBxZero = cms.int32(8),
0068 samplingTime = cms.double(5.0),
0069
0070 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),
0071 tailShaping = cms.int32(2),
0072 doNoise = cms.bool(True)
0073 ),
0074
0075 mixLabel = cms.string("mix"),
0076 InputCollection = cms.string("g4SimHitsMuonCSCHits"),
0077
0078 stripConditions = cms.string('Database'),
0079 GeometryType = cms.string('idealForDigi'),
0080 digitizeBadChambers = cms.bool(False),
0081 layersNeeded = cms.uint32(3),
0082 dumpGasCollisions = cms.untracked.bool(False)
0083 )
0084
0085
0086
0087
0088 from Configuration.Eras.Modifier_run2_common_cff import run2_common
0089 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] )
0090 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] )
0091
0092 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0093 fastSim.toModify(simMuonCSCDigis, InputCollection = 'MuonSimHitsMuonCSCHits')
0094
0095 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0096 premix_stage2.toModify(simMuonCSCDigis, mixLabel = "mixData")