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
16 process.g4SimHits.Watchers = cms.VPSet (
18 type = cms.string(
'RHStopTracer'),
19 RHStopTracer = cms.PSet(
20 verbose = cms.untracked.bool (
False),
21 traceParticle = cms.string (
"(~|tau1).*"),
22 stopRegularParticles = cms.untracked.bool (
False)
28 if FLAVOR==
"gluino" or FLAVOR==
"stop":
29 process.customPhysicsSetup.processesDef = PROCESS_FILE
30 process.g4SimHits.Physics = cms.PSet(
31 process.customPhysicsSetup,
32 DummyEMPhysics = cms.bool(
True),
33 G4BremsstrahlungThreshold = cms.double(0.5),
34 DefaultCutValue = cms.double(1.),
35 CutsPerRegion = cms.bool(
True),
36 Verbosity = cms.untracked.int32(0),
37 type = cms.string(
'SimG4Core/Physics/CustomPhysics'),
38 EMPhysics = cms.untracked.bool(
True),
39 HadPhysics = cms.untracked.bool(
True),
40 FlagBERT = cms.untracked.bool(
False),
41 FlagCHIPS = cms.untracked.bool(
False),
42 FlagFTF = cms.untracked.bool(
False),
43 FlagGlauber = cms.untracked.bool(
False),
44 FlagHP = cms.untracked.bool(
False),
46 GflashHistogram = cms.bool(
False),
47 GflashEMShowerModel = cms.bool(
False),
48 GflashHadronPhysics = cms.string(
'QGSP_BERT_EMV'),
49 GflashHadronShowerModel = cms.bool(
False)
52 process.g4SimHits.G4Commands = cms.vstring(
'/tracking/verbose 1')
55 process.g4SimHits.Physics = cms.PSet(
56 process.customPhysicsSetup,
57 DummyEMPhysics = cms.bool(
True),
58 G4BremsstrahlungThreshold = cms.double(0.5),
59 DefaultCutValue = cms.double(1.),
60 CutsPerRegion = cms.bool(
True),
61 Verbosity = cms.untracked.int32(0),
62 type = cms.string(
'SimG4Core/Physics/CustomPhysics'),
64 process.g4SimHits.G4Commands = cms.vstring(
'/tracking/verbose 1')
67 print "Wrong flavor %s. Only accepted are gluino, stau, stop." % FLAVOR