5 FLAVOR = process.generator.hscpFlavor.value()
6 MASS_POINT = process.generator.massPoint.value()
7 SLHA_FILE = process.generator.slhaFile.value()
8 PROCESS_FILE = process.generator.processFile.value()
9 PARTICLE_FILE = process.generator.particleFile.value()
10 USE_REGGE = process.generator.useregge.value()
12 process.load(
"SimG4Core.CustomPhysics.CustomPhysics_cfi")
13 process.customPhysicsSetup.particlesDef = PARTICLE_FILE
14 process.customPhysicsSetup.reggeModel = USE_REGGE
16 if hasattr(process,
'g4SimHits'):
18 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/CustomPhysics')
20 process.g4SimHits.Physics.Verbosity = cms.untracked.int32(0)
23 if FLAVOR==
"gluino" or FLAVOR==
"stop":
24 process.customPhysicsSetup.processesDef = PROCESS_FILE
25 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
27 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
29 print "Wrong flavor %s. Only accepted are gluino, stau, stop." % FLAVOR
31 process.g4SimHits.Physics = cms.PSet(
32 process.g4SimHits.Physics,
33 process.customPhysicsSetup