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 CutsOnProton = cms.bool(
True),
37 Verbosity = cms.untracked.int32(0),
38 type = cms.string(
'SimG4Core/Physics/CustomPhysics'),
39 EMPhysics = cms.untracked.bool(
True),
40 HadPhysics = cms.untracked.bool(
True),
41 FlagBERT = cms.untracked.bool(
False),
42 FlagMuNucl = cms.bool(
False),
43 FlagFluo = cms.bool(
False),
45 GflashHistogram = cms.bool(
False),
46 GflashEMShowerModel = cms.bool(
False),
47 GflashHadronPhysics = cms.string(
'QGSP_BERT_EMV'),
48 GflashHadronShowerModel = cms.bool(
False)
51 process.g4SimHits.G4Commands = cms.vstring(
'/tracking/verbose 1')
54 process.g4SimHits.Physics = cms.PSet(
55 process.customPhysicsSetup,
56 DummyEMPhysics = cms.bool(
True),
57 G4BremsstrahlungThreshold = cms.double(0.5),
58 DefaultCutValue = cms.double(1.),
59 CutsPerRegion = cms.bool(
True),
60 CutsOnProton = 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