File indexing completed on 2024-04-06 12:30:16
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("CaloTest")
0004 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0005
0006 process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi")
0007
0008 process.load("SimG4Core.CheckSecondary.CuTarget_cfi")
0009
0010 process.load("SimG4Core.Application.g4SimHits_cfi")
0011
0012 process.MessageLogger = cms.Service("MessageLogger",
0013 destinations = cms.untracked.vstring('cout'),
0014 categories = cms.untracked.vstring('SimG4CoreApplication', 'CheckSecondary'),
0015 cout = cms.untracked.PSet(
0016 threshold = cms.untracked.string('INFO'),
0017 default = cms.untracked.PSet(
0018 limit = cms.untracked.int32(-1)
0019 ),
0020 CheckSecondary = cms.untracked.PSet(
0021 limit = cms.untracked.int32(0)
0022 ),
0023 SimG4CoreApplication = cms.untracked.PSet(
0024 limit = cms.untracked.int32(0)
0025 )
0026 )
0027 )
0028
0029 process.maxEvents = cms.untracked.PSet(
0030 input = cms.untracked.int32(1000000)
0031 )
0032
0033 process.maxEvents = cms.untracked.PSet(
0034 input = cms.untracked.int32(1000000)
0035 )
0036
0037 process.source = cms.Source("EmptySource")
0038
0039 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0040 PGunParameters = cms.PSet(
0041 MinEta = cms.double(0.0),
0042 MaxEta = cms.double(0.0),
0043 MinPhi = cms.double(1.57079632679),
0044 MaxPhi = cms.double(1.57079632679),
0045 PartID = cms.vint32(-211),
0046
0047
0048 MinE = cms.double(5.00195),
0049 MaxE = cms.double(5.00195)
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073 ),
0074 Verbosity = cms.untracked.int32(0),
0075 AddAntiParticle = cms.bool(False),
0076 firstRun = cms.untracked.uint32(1)
0077 )
0078
0079 process.Timing = cms.Service("Timing")
0080
0081 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0082 moduleSeeds = cms.PSet(
0083 generator = cms.untracked.uint32(456789),
0084 g4SimHits = cms.untracked.uint32(9876),
0085 VtxSmeared = cms.untracked.uint32(123456789)
0086 ),
0087 sourceSeed = cms.untracked.uint32(135799753)
0088 )
0089
0090 process.p1 = cms.Path(process.generator*process.VtxSmeared*process.g4SimHits)
0091 process.VtxSmeared.SigmaX = 0.00001
0092 process.VtxSmeared.SigmaY = 0.00001
0093 process.VtxSmeared.SigmaZ = 0.00001
0094 process.g4SimHits.UseMagneticField = False
0095 process.g4SimHits.Physics = cms.PSet(
0096 GFlash = cms.PSet(
0097 GflashHistogram = cms.bool(False),
0098 GflashEMShowerModel = cms.bool(False),
0099 GflashHadronPhysics = cms.string('QGSP_BERT_EMV'),
0100 GflashHadronShowerModel = cms.bool(False)
0101 ),
0102 G4BremsstrahlungThreshold = cms.double(0.5),
0103 DefaultCutValue = cms.double(1.0),
0104 CutsPerRegion = cms.bool(True),
0105 CutsOnProton = cms.untracked.bool(True),
0106 Verbosity = cms.untracked.int32(0),
0107 EMPhysics = cms.untracked.bool(False),
0108 HadPhysics = cms.untracked.bool(True),
0109 QuasiElastic = cms.untracked.bool(True),
0110 FlagBERT = cms.untracked.bool(False),
0111 FlagMuNucl = cms.bool(False),
0112 FlagFluo = cms.bool(False),
0113 Model = cms.untracked.string('LEP'),
0114 type = cms.string('SimG4Core/Physics/CMSModel'),
0115 DummyEMPhysics = cms.bool(False)
0116 )
0117 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0118 CheckSecondary = cms.PSet(
0119 SaveInFile = cms.untracked.string('CuBertini65.0GeV.root'),
0120 Verbosity = cms.untracked.int32(0),
0121 MinimumDeltaE = cms.untracked.double(0.0),
0122 KillAfter = cms.untracked.int32(1)
0123 ),
0124 type = cms.string('CheckSecondary')
0125 ),
0126 cms.PSet(
0127 type = cms.string('KillSecondariesRunAction')
0128 ))
0129