6 FLAVOR = process.generator.hscpFlavor.value()
7 PROCESS_FILE = process.generator.processFile.value()
8 PARTICLE_FILE = process.generator.particleFile.value()
9 USE_REGGE = process.generator.useregge.value()
11 process.load(
"SimG4Core.CustomPhysics.CustomPhysics_cfi")
12 process.customPhysicsSetup.particlesDef = PARTICLE_FILE
13 process.customPhysicsSetup.reggeModel = USE_REGGE
15 if hasattr(process,
'g4SimHits'):
17 process.g4SimHits.Watchers = cms.VPSet (
19 type = cms.string(
'RHStopTracer'),
20 RHStopTracer = cms.PSet(
21 verbose = cms.untracked.bool (
False),
22 traceParticle = cms.string (
"((anti_)?~|tau1).*"),
23 stopRegularParticles = cms.untracked.bool (
False)
28 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/CustomPhysics')
30 process.g4SimHits.Physics.Verbosity = cms.untracked.int32(0)
33 if FLAVOR==
"gluino" or FLAVOR==
"stop":
34 process.customPhysicsSetup.processesDef = PROCESS_FILE
35 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
37 process.g4SimHits.Physics.ExoticaPhysicsSS = cms.untracked.bool(
False)
39 print(
"Wrong flavor %s. Only accepted are gluino, stau, stop." % FLAVOR)
41 process.g4SimHits.Physics = cms.PSet(
42 process.g4SimHits.Physics,
43 process.customPhysicsSetup
48
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)