ATLAS Offline Software
Loading...
Searching...
No Matches
python.EvgenConfig.EvgenConfig Class Reference
Inheritance diagram for python.EvgenConfig.EvgenConfig:
Collaboration diagram for python.EvgenConfig.EvgenConfig:

Public Member Functions

 __init__ (self, name="evgenConfig")
 __setattr__ (self, name, value)
 Explicitly block MC11/12 settings of efficiency, input*base, or weighting attrs.

Public Attributes

list auxfiles = ["PDGTABLE.MeV", "pdt.table", "DECAY.DEC", "Bdecays0.dat", "Bs2Jpsiphi.DEC","G4particle_acceptlist.txt","susyParticlePdgid.txt"]
str maxeventsstrategy = "ABORT"
int minevents = 0

Static Public Attributes

 generators = ListOfStrings("List of used generators", allowedValues=KnownGenerators)
 description = String("Human readable description of the dataset content")
 process = String("Specific information about the physics process being generated")
 notes = String("Extra information about this process e.g. known current problems")
list contact = ListOfStrings("Contact person for this dataset. Leave empty for 'MC group'")
 keywords = ListOfStrings("Search keywords for this dataset, e.g. 'QCD', 'EW', 'minbias', ...")
 categories = ListOfStrings("Category keywords for this dataset, e.g. 'L1:Top', 'L2:RareTop'")
 inputfilecheck = String("A regex to check that the input file needed for some generators has a valid name")
 inputconfcheck = String("A regex to check that the config file needed for some generators has a valid name")
str specialConfig = String("Special configuration for subsequent prod steps")
 tune = String("Generator shower/hadronisation/MPI tune name")
 saveJets = Boolean("Save truth jet collections in the output file if they are available", False)
 savePileupTruthParticles = Boolean("Save truth particle collections, if available, for pileup-overlay output", False)
 findJets = Boolean("Schedule jet finding algorithms for each defined jet container", False)
 doNotSaveItems = ListOfStrings("List of StreamEVGEN items to NOT save in output file - note occurs BEFORE extraSaveItems are added")
 extraSaveItems = ListOfStrings("List of extra StreamEVGEN items to save in output file - note occurs AFTER doNotSaveItems are removed")
 inputFilesPerJob = Integer("number of input files per job",0, AllowedExpression("value >= 0"))
int nEventsPerJob = Integer("number of input events per job",0, AllowedExpression("value >= 0"))
 obsolete = Boolean("Are JOs/common fragment obsolete", False)
 PDGparams = Boolean("Do we use the standard PDG values for masses, widths etc. ", False)

Static Private Attributes

tuple __slots__ = ()

Detailed Description

Definition at line 6 of file EvgenConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.EvgenConfig.EvgenConfig.__init__ ( self,
name = "evgenConfig" )

Definition at line 29 of file EvgenConfig.py.

29 def __init__(self, name="evgenConfig"):
30 TransformConfig.__init__(self, name)
31 self.contact = ["MC group"]
32 self.auxfiles = ["PDGTABLE.MeV", "pdt.table", "DECAY.DEC", "Bdecays0.dat", "Bs2Jpsiphi.DEC","G4particle_acceptlist.txt","susyParticlePdgid.txt"]
33 self.nEventsPerJob = 10000
34 self.maxeventsstrategy = "ABORT"
35 self.specialConfig = "NONE"
36# for the sake of Generate_tf leave minevents for a while
37 self.minevents = 0
38

Member Function Documentation

◆ __setattr__()

python.EvgenConfig.EvgenConfig.__setattr__ ( self,
name,
value )

Explicitly block MC11/12 settings of efficiency, input*base, or weighting attrs.

Definition at line 40 of file EvgenConfig.py.

40 def __setattr__(self, name, value):
41 if name in ["efficiency", "inputfilebase", "inputconfbase", "weighting"]:
42 msg = "evgenConfig.%s is not used in MC14 production. " % name + \
43 "Please update your JO file, having read the docs at " + \
44 "https://twiki.cern.ch/twiki/bin/viewauth/AtlasProtected/AtlasMcProductionMC14"
45 raise TransformConfigError(msg)
46 object.__setattr__(self, name, value)
47
48

Member Data Documentation

◆ __slots__

tuple python.EvgenConfig.EvgenConfig.__slots__ = ()
staticprivate

Definition at line 7 of file EvgenConfig.py.

◆ auxfiles

list python.EvgenConfig.EvgenConfig.auxfiles = ["PDGTABLE.MeV", "pdt.table", "DECAY.DEC", "Bdecays0.dat", "Bs2Jpsiphi.DEC","G4particle_acceptlist.txt","susyParticlePdgid.txt"]

Definition at line 32 of file EvgenConfig.py.

◆ categories

python.EvgenConfig.EvgenConfig.categories = ListOfStrings("Category keywords for this dataset, e.g. 'L1:Top', 'L2:RareTop'")
static

Definition at line 14 of file EvgenConfig.py.

◆ contact

list python.EvgenConfig.EvgenConfig.contact = ListOfStrings("Contact person for this dataset. Leave empty for 'MC group'")
static

Definition at line 12 of file EvgenConfig.py.

◆ description

python.EvgenConfig.EvgenConfig.description = String("Human readable description of the dataset content")
static

Definition at line 9 of file EvgenConfig.py.

◆ doNotSaveItems

python.EvgenConfig.EvgenConfig.doNotSaveItems = ListOfStrings("List of StreamEVGEN items to NOT save in output file - note occurs BEFORE extraSaveItems are added")
static

Definition at line 22 of file EvgenConfig.py.

◆ extraSaveItems

python.EvgenConfig.EvgenConfig.extraSaveItems = ListOfStrings("List of extra StreamEVGEN items to save in output file - note occurs AFTER doNotSaveItems are removed")
static

Definition at line 23 of file EvgenConfig.py.

◆ findJets

python.EvgenConfig.EvgenConfig.findJets = Boolean("Schedule jet finding algorithms for each defined jet container", False)
static

Definition at line 21 of file EvgenConfig.py.

◆ generators

python.EvgenConfig.EvgenConfig.generators = ListOfStrings("List of used generators", allowedValues=KnownGenerators)
static

Definition at line 8 of file EvgenConfig.py.

◆ inputconfcheck

python.EvgenConfig.EvgenConfig.inputconfcheck = String("A regex to check that the config file needed for some generators has a valid name")
static

Definition at line 16 of file EvgenConfig.py.

◆ inputfilecheck

python.EvgenConfig.EvgenConfig.inputfilecheck = String("A regex to check that the input file needed for some generators has a valid name")
static

Definition at line 15 of file EvgenConfig.py.

◆ inputFilesPerJob

python.EvgenConfig.EvgenConfig.inputFilesPerJob = Integer("number of input files per job",0, AllowedExpression("value >= 0"))
static

Definition at line 24 of file EvgenConfig.py.

◆ keywords

python.EvgenConfig.EvgenConfig.keywords = ListOfStrings("Search keywords for this dataset, e.g. 'QCD', 'EW', 'minbias', ...")
static

Definition at line 13 of file EvgenConfig.py.

◆ maxeventsstrategy

str python.EvgenConfig.EvgenConfig.maxeventsstrategy = "ABORT"

Definition at line 34 of file EvgenConfig.py.

◆ minevents

int python.EvgenConfig.EvgenConfig.minevents = 0

Definition at line 37 of file EvgenConfig.py.

◆ nEventsPerJob

int python.EvgenConfig.EvgenConfig.nEventsPerJob = Integer("number of input events per job",0, AllowedExpression("value >= 0"))
static

Definition at line 25 of file EvgenConfig.py.

◆ notes

python.EvgenConfig.EvgenConfig.notes = String("Extra information about this process e.g. known current problems")
static

Definition at line 11 of file EvgenConfig.py.

◆ obsolete

python.EvgenConfig.EvgenConfig.obsolete = Boolean("Are JOs/common fragment obsolete", False)
static

Definition at line 26 of file EvgenConfig.py.

◆ PDGparams

python.EvgenConfig.EvgenConfig.PDGparams = Boolean("Do we use the standard PDG values for masses, widths etc. ", False)
static

Definition at line 27 of file EvgenConfig.py.

◆ process

python.EvgenConfig.EvgenConfig.process = String("Specific information about the physics process being generated")
static

Definition at line 10 of file EvgenConfig.py.

◆ saveJets

python.EvgenConfig.EvgenConfig.saveJets = Boolean("Save truth jet collections in the output file if they are available", False)
static

Definition at line 19 of file EvgenConfig.py.

◆ savePileupTruthParticles

python.EvgenConfig.EvgenConfig.savePileupTruthParticles = Boolean("Save truth particle collections, if available, for pileup-overlay output", False)
static

Definition at line 20 of file EvgenConfig.py.

◆ specialConfig

str python.EvgenConfig.EvgenConfig.specialConfig = String("Special configuration for subsequent prod steps")
static

Definition at line 17 of file EvgenConfig.py.

◆ tune

python.EvgenConfig.EvgenConfig.tune = String("Generator shower/hadronisation/MPI tune name")
static

Definition at line 18 of file EvgenConfig.py.


The documentation for this class was generated from the following file: