5 FLAVOR = process.generator.hscpFlavor.value()
6 MASS_POINT = process.generator.massPoint.value()
7 SLHA_FILE = process.generator.SLHAFileForPythia8.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.Watchers = cms.VPSet (
20 type = cms.string(
'RHStopTracer'),
21 RHStopTracer = cms.PSet(
22 verbose = cms.untracked.bool (
False),
23 traceParticle = cms.string (
"((anti_)?~|tau1).*"),
24 stopRegularParticles = cms.untracked.bool (
False)
29 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/CustomPhysics')
31 process.g4SimHits.Physics.Verbosity = cms.untracked.int32(0)
34 if FLAVOR==
"gluino" or FLAVOR==
"stop":
35 process.customPhysicsSetup.processesDef = PROCESS_FILE
36 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
38 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
40 print "Wrong flavor %s. Only accepted are gluino, stau, stop." % FLAVOR
42 process.g4SimHits.Physics = cms.PSet(
43 process.g4SimHits.Physics,
44 process.customPhysicsSetup