File indexing completed on 2024-08-27 22:59:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PPSDirectProtonSimulation(**kwargs):
0004 mod = cms.EDProducer('PPSDirectProtonSimulation',
0005 verbosity = cms.untracked.uint32(0),
0006 lhcInfoLabel = cms.string(''),
0007 opticsLabel = cms.string(''),
0008 hepMCTag = cms.InputTag('generator', 'unsmeared'),
0009 produceScoringPlaneHits = cms.bool(True),
0010 produceRecHits = cms.bool(True),
0011 useEmpiricalApertures = cms.bool(True),
0012 useTrackingEfficiencyPerRP = cms.bool(False),
0013 useTimingEfficiencyPerRP = cms.bool(False),
0014 useTrackingEfficiencyPerPlane = cms.bool(False),
0015 useTimingEfficiencyPerPlane = cms.bool(False),
0016 produceHitsRelativeToBeam = cms.bool(True),
0017 roundToPitch = cms.bool(True),
0018 checkIsHit = cms.bool(True),
0019 pitchStrips = cms.double(0.066),
0020 insensitiveMarginStrips = cms.double(0.034),
0021 pitchPixelsHor = cms.double(0.1),
0022 pitchPixelsVer = cms.double(0.15),
0023 mightGet = cms.optional.untracked.vstring
0024 )
0025 for k,v in kwargs.items():
0026 setattr(mod, k, v)
0027 return mod