6 FLAVOR = process.generator.hscpFlavor.value()
7 MASS_POINT = process.generator.massPoint.value()
8 SLHA_FILE = process.generator.slhaFile.value()
9 PROCESS_FILE = process.generator.processFile.value()
10 PARTICLE_FILE = process.generator.particleFile.value()
11 USE_REGGE = process.generator.useregge.value()
13 process.load(
"SimG4Core.CustomPhysics.CustomPhysics_cfi")
14 process.customPhysicsSetup.particlesDef = PARTICLE_FILE
15 process.customPhysicsSetup.reggeModel = USE_REGGE
17 if hasattr(process,
'g4SimHits'):
19 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/CustomPhysics')
21 process.g4SimHits.Physics.Verbosity = cms.untracked.int32(0)
24 if FLAVOR==
"gluino" or FLAVOR==
"stop":
25 process.customPhysicsSetup.processesDef = PROCESS_FILE
26 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
28 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
30 print(
"Wrong flavor %s. Only accepted are gluino, stau, stop." % FLAVOR)
32 process.g4SimHits.Physics = cms.PSet(
33 process.g4SimHits.Physics,
34 process.customPhysicsSetup
39 S & print(S &os, JobReport::InputFile const &f)