Definition at line 12 of file GenevaUtils.py.
◆ __init__()
def GenevaUtils.GenevaConfig.__init__ |
( |
|
self, |
|
|
|
runArgs |
|
) |
| |
Definition at line 14 of file GenevaUtils.py.
15 self.genevapath = os.environ[
'GENEVA_DATA_DIR']
20 self.integrationnumruns = 16
24 if hasattr(runArgs,
"ecmEnergy"):
25 self.rts = runArgs.ecmEnergy
28 self.yaml=yaml.safe_load(self.card)
29 self.cardname=
'input.yml'
33 if hasattr(runArgs,
"randomSeed"):
34 self.iseed = runArgs.randomSeed
38 if hasattr(runArgs,
"maxEvents"):
39 self.nev = runArgs.maxEvents
◆ outputLHEFile()
def GenevaUtils.GenevaConfig.outputLHEFile |
( |
|
self | ) |
|
Definition at line 51 of file GenevaUtils.py.
51 def outputLHEFile(self):
52 return "generate/tutorial_1.lhe.gz"
◆ parseCard()
def GenevaUtils.GenevaConfig.parseCard |
( |
|
self | ) |
|
Definition at line 41 of file GenevaUtils.py.
42 self.yaml=yaml.safe_load(self.card)
43 self.yaml[
'global'][
'run_name']=
"tutorial"
44 self.yaml[
'global'][
'num_events']= self.nev*self.factor
45 for a
in self.yaml[
'process'].
keys():
46 self.yaml[
'process'][a][
'initial_state'][
'beams']=
'pp'
47 self.yaml[
'process'][a][
'initial_state'][
'Ecm']=self.rts
48 self.yaml[
'process'][a][
'initial_state'][
'pdf_provider'][
'LHAPDF'][
'set']=
"PDF4LHC15_nnlo_100"
◆ card
GenevaUtils.GenevaConfig.card |
◆ cardname
GenevaUtils.GenevaConfig.cardname |
◆ exe
GenevaUtils.GenevaConfig.exe |
◆ factor
GenevaUtils.GenevaConfig.factor |
◆ genevapath
GenevaUtils.GenevaConfig.genevapath |
◆ integrationnumruns
GenevaUtils.GenevaConfig.integrationnumruns |
◆ iseed
GenevaUtils.GenevaConfig.iseed |
◆ iterations
GenevaUtils.GenevaConfig.iterations |
◆ nev
GenevaUtils.GenevaConfig.nev |
◆ numruns
GenevaUtils.GenevaConfig.numruns |
◆ points
GenevaUtils.GenevaConfig.points |
◆ rts
GenevaUtils.GenevaConfig.rts |
◆ sigmabelow
GenevaUtils.GenevaConfig.sigmabelow |
◆ yaml
GenevaUtils.GenevaConfig.yaml |
The documentation for this class was generated from the following file: