![]() |
ATLAS Offline Software
|
Public Types | |
| typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type | result |
Public Member Functions | |
| __init__ (self, context='') | |
| __setattr__ (self, name, n_value) | |
| __str__ (self) | |
| is_locked (self) | |
| help (self) | |
| import_JobProperties (self, module_name) | |
| import_Flags (self, module_name) | |
| add_Container (self, new_container) | |
| add_JobProperty (self, new_flag) | |
| del_JobProperty (self, del_flag) | |
| del_Container (self, del_container) | |
| lock_JobProperties (self) | |
| unlock_JobProperties (self) | |
| print_JobProperties (self, mode='minimal') | |
| set_JobProperties (self, data) | |
| __getattribute__ (self, name) | |
Protected Attributes | |
| _context_name = context_name | |
Static Protected Attributes | |
| _log = Logging.logging.getLogger('JobPropertyContainer::') | |
| _nInstancesContextList = list() | |
| bool | _locked = False |
Private Attributes | |
| __name__ = self.__class__.__name__ | |
| __class__ | |
| __doc__ | |
Container for the JobProperties.
By definition it will contain a minimal set of flags,
but this set can be increased during the job configuration
using the "import_JobProperties" or "add_JobProperty"
methods. In this way it can be adapted to the diferent
job needs.
A JobPropertyContainer can contain other JobProperty
containers, that can be added using the "add_Container"
method.
There is a top global job properties container instance
which is called "jobproperties" that has to be used as starting
point.
Definition at line 444 of file JobProperties.py.
|
inherited |
Definition at line 90 of file EDM_MasterSearch.h.
| python.JobProperties.JobPropertyContainer.__init__ | ( | self, | |
| context = '' ) |
Each JobPropertyContainer has only one possible instance
in a given context.
Definition at line 464 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.__getattribute__ | ( | self, | |
| name ) |
Definition at line 757 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.__setattr__ | ( | self, | |
| name, | |||
| n_value ) |
Definition at line 481 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.__str__ | ( | self | ) |
Definition at line 514 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.add_Container | ( | self, | |
| new_container ) |
Adds a container of JobProperties of the type JobPropertyContainer to the existing container.
Definition at line 590 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.add_JobProperty | ( | self, | |
| new_flag ) |
Add one JobProperty to the present container. The new JobProperty added must have a name without '_' and subclass the base class "JobProperty".
Definition at line 605 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.del_Container | ( | self, | |
| del_container ) |
Deletes one sub-container of the present container.
Definition at line 634 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.del_JobProperty | ( | self, | |
| del_flag ) |
Deletes one JobProperty from the present container.
Definition at line 620 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.help | ( | self | ) |
Prints the documentation generated with the JobProperty
container.
Definition at line 536 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.import_Flags | ( | self, | |
| module_name ) |
OBSOLETE: Use import_JobProperties
Import modules with JobProperties specific to a given job
configuration.
The new specific set of JobProperties added must have a name
without '_' and subclass the base class "JobProperty".
IMPORTANT: "import_Flags" method is calling the new method
"import_JobProperties". For some time import_Flags
it will work but it will be removed soon
Definition at line 574 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.import_JobProperties | ( | self, | |
| module_name ) |
Import modules with JobProperties specific to a given job configuration. The new specific set of JobProperties added must have a name without '_' and subclass the base class "JobProperty".
Definition at line 546 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.is_locked | ( | self | ) |
Definition at line 533 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.lock_JobProperties | ( | self | ) |
Locks the Values of the JobProperties
Definition at line 647 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.print_JobProperties | ( | self, | |
| mode = 'minimal' ) |
Prints all the JobProperties in the container.
It will print also the JobProperties within the sub-containers
present in the container.
The available options are: 'minimal','full','tree','tree&value','tree&valuenondefault'
Definition at line 673 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.set_JobProperties | ( | self, | |
| data ) |
It can be used to set several job properties in different
JobContainers in one step.
The expected data must be a dict as for example:
data={'JobProperties.SimFlags':{'init_Level':2,'SeedsG4':.98},
'JobProperties.Digitization':{'writeMuonDigit':False}
}
Definition at line 728 of file JobProperties.py.
| python.JobProperties.JobPropertyContainer.unlock_JobProperties | ( | self | ) |
Unlocks the Values of the JobProperties
Definition at line 660 of file JobProperties.py.
|
private |
Definition at line 541 of file JobProperties.py.
|
private |
Definition at line 542 of file JobProperties.py.
|
private |
Definition at line 474 of file JobProperties.py.
|
protected |
Definition at line 475 of file JobProperties.py.
|
staticprotected |
Definition at line 462 of file JobProperties.py.
|
staticprotected |
Definition at line 460 of file JobProperties.py.
|
staticprotected |
Definition at line 461 of file JobProperties.py.