File indexing completed on 2024-08-27 22:59:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CTPPSPixelDigiProducer(**kwargs):
0004 mod = cms.EDProducer('CTPPSPixelDigiProducer',
0005 ROUList = cms.vstring('CTPPSPixelHits'),
0006 RPixVerbosity = cms.int32(0),
0007 CTPPSPixelDigiSimHitRelationsPersistence = cms.bool(False),
0008 RPixEquivalentNoiseCharge = cms.double(1000),
0009 RPixNoNoise = cms.bool(False),
0010 RPixGeVPerElectron = cms.double(3.61e-09),
0011 RPixInterSmearing = cms.vdouble(0.011),
0012 RPixLandauFluctuations = cms.bool(True),
0013 RPixChargeDivisions = cms.int32(20),
0014 RPixDeltaProductionCut = cms.double(0.120425),
0015 ChargeMapFile2E = cms.string('SimPPS/PPSPixelDigiProducer/data/PixelChargeMap.txt'),
0016 ChargeMapFile2E_2X = cms.string('SimPPS/PPSPixelDigiProducer/data/PixelChargeMap_2X.txt'),
0017 ChargeMapFile2E_2Y = cms.string('SimPPS/PPSPixelDigiProducer/data/PixelChargeMap_2Y.txt'),
0018 ChargeMapFile2E_2X2Y = cms.string('SimPPS/PPSPixelDigiProducer/data/PixelChargeMap_2X2Y.txt'),
0019 RPixCoupling = cms.double(0.25),
0020 RPixDummyROCThreshold = cms.double(1900),
0021 RPixDummyROCElectronPerADC = cms.double(135),
0022 VCaltoElectronGain = cms.int32(50),
0023 VCaltoElectronOffset = cms.int32(-411),
0024 doSingleCalibration = cms.bool(False),
0025 RPixDeadPixelProbability = cms.double(0.001),
0026 RPixDeadPixelSimulationOn = cms.bool(True),
0027 mixLabel = cms.string('mix'),
0028 InputCollection = cms.string('g4SimHitsCTPPSPixelHits'),
0029 mightGet = cms.optional.untracked.vstring
0030 )
0031 for k,v in kwargs.items():
0032 setattr(mod, k, v)
0033 return mod