ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
GenevaUtils.GenevaConfig Class Reference
Collaboration diagram for GenevaUtils.GenevaConfig:

Public Member Functions

def __init__ (self, runArgs)
 
def parseCard (self)
 
def outputLHEFile (self)
 

Public Attributes

 genevapath
 
 exe
 
 points
 
 iterations
 
 factor
 
 integrationnumruns
 
 numruns
 
 rts
 
 card
 
 yaml
 
 cardname
 
 sigmabelow
 
 iseed
 
 nev
 

Detailed Description

Definition at line 12 of file GenevaUtils.py.

Constructor & Destructor Documentation

◆ __init__()

def GenevaUtils.GenevaConfig.__init__ (   self,
  runArgs 
)

Definition at line 14 of file GenevaUtils.py.

14  def __init__(self, runArgs):
15  self.genevapath = os.environ['GENEVA_DATA_DIR']
16  self.exe = 'geneva'
17  self.points = 2000
18  self.iterations = 4
19  self.factor = 250
20  self.integrationnumruns = 16
21  self.numruns = 1
22  #Geneva specific variables for input.DAT, see writeInputDAT function for more elaboration
23  self.rts = 13000. #collision energy (GeV)
24  if hasattr(runArgs,"ecmEnergy"):
25  self.rts = runArgs.ecmEnergy
26 
27  self.card=''
28  self.yaml=yaml.safe_load(self.card)
29  self.cardname='input.yml'
30  self.sigmabelow=''
31 
32  self.iseed = 34
33  if hasattr(runArgs,"randomSeed"):
34  self.iseed = runArgs.randomSeed
35 
36 
37  self.nev = "500"
38  if hasattr(runArgs,"maxEvents"):
39  self.nev = runArgs.maxEvents
40 

Member Function Documentation

◆ 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"
53 
54 

◆ parseCard()

def GenevaUtils.GenevaConfig.parseCard (   self)

Definition at line 41 of file GenevaUtils.py.

41  def parseCard(self):
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"
49  return
50 

Member Data Documentation

◆ card

GenevaUtils.GenevaConfig.card

Definition at line 27 of file GenevaUtils.py.

◆ cardname

GenevaUtils.GenevaConfig.cardname

Definition at line 29 of file GenevaUtils.py.

◆ exe

GenevaUtils.GenevaConfig.exe

Definition at line 16 of file GenevaUtils.py.

◆ factor

GenevaUtils.GenevaConfig.factor

Definition at line 19 of file GenevaUtils.py.

◆ genevapath

GenevaUtils.GenevaConfig.genevapath

Definition at line 15 of file GenevaUtils.py.

◆ integrationnumruns

GenevaUtils.GenevaConfig.integrationnumruns

Definition at line 20 of file GenevaUtils.py.

◆ iseed

GenevaUtils.GenevaConfig.iseed

Definition at line 32 of file GenevaUtils.py.

◆ iterations

GenevaUtils.GenevaConfig.iterations

Definition at line 18 of file GenevaUtils.py.

◆ nev

GenevaUtils.GenevaConfig.nev

Definition at line 37 of file GenevaUtils.py.

◆ numruns

GenevaUtils.GenevaConfig.numruns

Definition at line 21 of file GenevaUtils.py.

◆ points

GenevaUtils.GenevaConfig.points

Definition at line 17 of file GenevaUtils.py.

◆ rts

GenevaUtils.GenevaConfig.rts

Definition at line 23 of file GenevaUtils.py.

◆ sigmabelow

GenevaUtils.GenevaConfig.sigmabelow

Definition at line 30 of file GenevaUtils.py.

◆ yaml

GenevaUtils.GenevaConfig.yaml

Definition at line 28 of file GenevaUtils.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798