Esempio n. 1
0
                   "pypars parp 149 0.02" ,
                   "pypars parp 150 0.085" ,
                   "pydat1 parj 11 0.4" ,
                   "pydat1 parj 12 0.4" ,
                   "pydat1 parj 13 0.769" ,
                   "pydat1 parj 14 0.09" ,
                   "pydat1 parj 15 0.018" ,
                   "pydat1 parj 16 0.0815" ,
                   "pydat1 parj 17 0.0815" ,
                   "pydat1 mstj 26 0" ,
                   "pydat1 parj 33 0.4" ]

from Configurables import Generation, Special, PythiaProduction, MinimumBias, Inclusive, SignalPlain, SignalRepeatedHadronization

gen = Generation()
gen.addTool( Special )
gen.addTool( MinimumBias )
gen.addTool( Inclusive )
gen.addTool( SignalPlain )
gen.addTool( SignalRepeatedHadronization )

gen.Special.ProductionTool = "PythiaProduction"
gen.MinimumBias.ProductionTool = "PythiaProduction"
gen.Inclusive.ProductionTool = "PythiaProduction"
gen.SignalPlain.ProductionTool = "PythiaProduction"
gen.SignalRepeatedHadronization.ProductionTool = "PythiaProduction"

# Use same generator and configuration for spillover
from Configurables import Gauss
spillOverList = Gauss().getProp("SpilloverPaths")
for slot in spillOverList:
Esempio n. 2
0
from Configurables import Inclusive, SignalPlain, SignalRepeatedHadronization
from Configurables import Special

Pythia8TurnOffFragmentation = ["HadronLevel:all = off"]

# this is only a preliminary tuning that should probably need to be updated
Pythia8NewFrag = [
    "StringZ:useNonstandardB = on", "StringZ:aNonstandardB = 1.01",
    "StringZ:bNonstandardB = 0.46", "StringZ:rFactB = 0",
    "StringZ:useNonstandardC = on", "StringZ:aNonstandardC = 1.075",
    "StringZ:bNonstandardC = 0.694", "StringZ:rFactC = 0"
]

gen = Generation("Generation")

gen.addTool(MinimumBias, name="MinimumBias")
gen.MinimumBias.ProductionTool = "Pythia8Production"
gen.MinimumBias.addTool(Pythia8Production, name="Pythia8Production")
gen.MinimumBias.Pythia8Production.Tuning = "LHCbDefault.cmd"
gen.MinimumBias.Pythia8Production.Commands += Pythia8NewFrag

gen.addTool(Inclusive, name="Inclusive")
gen.Inclusive.ProductionTool = "Pythia8Production"
gen.Inclusive.addTool(Pythia8Production, name="Pythia8Production")
gen.Inclusive.Pythia8Production.Tuning = "LHCbDefault.cmd"
gen.Inclusive.Pythia8Production.Commands += Pythia8NewFrag

gen.addTool(SignalPlain, name="SignalPlain")
gen.SignalPlain.ProductionTool = "Pythia8Production"
gen.SignalPlain.addTool(Pythia8Production, name="Pythia8Production")
gen.SignalPlain.Pythia8Production.Tuning = "LHCbDefault.cmd"