6 FLAVOR = process.generator.hscpFlavor.value()
7 MASS_POINT = process.generator.massPoint.value()
8 SLHA_FILE = process.generator.SLHAFileForPythia8.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.Watchers = cms.VPSet (
21 type = cms.string(
'RHStopTracer'),
22 RHStopTracer = cms.PSet(
23 verbose = cms.untracked.bool (
False),
24 traceParticle = cms.string (
"((anti_)?~|tau1).*"),
25 stopRegularParticles = cms.untracked.bool (
False)
30 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/CustomPhysics')
32 process.g4SimHits.Physics.Verbosity = cms.untracked.int32(0)
35 if FLAVOR==
"gluino" or FLAVOR==
"stop":
36 process.customPhysicsSetup.processesDef = PROCESS_FILE
37 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
39 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
41 print(
"Wrong flavor %s. Only accepted are gluino, stau, stop." % FLAVOR)
43 process.g4SimHits.Physics = cms.PSet(
44 process.g4SimHits.Physics,
45 process.customPhysicsSetup
50 S & print(S &os, JobReport::InputFile const &f)