ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.ConfigurationShelve.ConfigurationJar Class Reference
Inheritance diagram for python.ConfigurationShelve.ConfigurationJar:
Collaboration diagram for python.ConfigurationShelve.ConfigurationJar:

Public Member Functions

def __init__ (self, name)
 
def getName (self)
 
def content (self)
 
def __getstate__ (self)
 
def __setstate__ (self, d)
 
def __str__ (self)
 

Public Attributes

 name
 
 athMasterSeq
 
 athAlgSeq
 
 athOutSeq
 
 AppMgr
 
 ServiceMgr
 
 JobProperties
 

Detailed Description

Definition at line 78 of file ConfigurationShelve.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ConfigurationShelve.ConfigurationJar.__init__ (   self,
  name 
)

Definition at line 79 of file ConfigurationShelve.py.

79  def __init__( self, name ):
80  self.name = name
81 
82  from AthenaCommon.AppMgr import theApp, ServiceMgr
83  from AthenaCommon.JobProperties import jobproperties
84 
85  from . import AlgSequence as _as
86  self.athMasterSeq = _as.AthSequencer ("AthMasterSeq")
87  self.athAlgSeq = _as.AthSequencer ("AthAlgSeq")
88  self.athOutSeq = _as.AthSequencer ("AthOutSeq")
89 
90  self.AppMgr = theApp
91  self.ServiceMgr = ServiceMgr # takes care of AuditorSvc & ToolSvc
92  self.JobProperties = jobproperties
93 

Member Function Documentation

◆ __getstate__()

def python.ConfigurationShelve.ConfigurationJar.__getstate__ (   self)

Definition at line 100 of file ConfigurationShelve.py.

100  def __getstate__( self ):
101  d = dict()
102 
103  d[ 'name' ] = self.name
104 
105  d[ 'AthMasterSeq' ] = self.athMasterSeq
106  d[ 'AthAlgSeq' ] = self.athAlgSeq
107  d[ 'AthOutSeq' ] = self.athOutSeq
108  d[ 'AppMgr' ] = self.AppMgr
109  d[ 'Streams' ] = self.AppMgr._streams
110  d[ 'ServiceMgr' ] = self.ServiceMgr #takes care of {Auditor,Tool}Svc
111  d[ 'JobProperties' ] = self.JobProperties
112 
113  return d
114 

◆ __setstate__()

def python.ConfigurationShelve.ConfigurationJar.__setstate__ (   self,
  d 
)

Definition at line 115 of file ConfigurationShelve.py.

115  def __setstate__( self, d ):
116  # get handles to the global objects for convenience
117  self.__init__( d[ 'name' ] )
118 
119  # the mere existence of 'd' has done its work through the "magic"
120  # of instances shared on name for all configurables
121 
122  # now handle jobproperties
123  import AthenaCommon.JobProperties as JobProperties
124  JobProperties.jobproperties = d['JobProperties']
125 

◆ __str__()

def python.ConfigurationShelve.ConfigurationJar.__str__ (   self)

Definition at line 126 of file ConfigurationShelve.py.

126  def __str__(self):
127  import os
128  return os.linesep.join( [ "%s" % v for v in self.content().values() ] )
129 
130 

◆ content()

def python.ConfigurationShelve.ConfigurationJar.content (   self)

Definition at line 97 of file ConfigurationShelve.py.

97  def content( self ):
98  return self.__getstate__()
99 

◆ getName()

def python.ConfigurationShelve.ConfigurationJar.getName (   self)

Definition at line 94 of file ConfigurationShelve.py.

94  def getName( self ):
95  return self.name
96 

Member Data Documentation

◆ AppMgr

python.ConfigurationShelve.ConfigurationJar.AppMgr

Definition at line 90 of file ConfigurationShelve.py.

◆ athAlgSeq

python.ConfigurationShelve.ConfigurationJar.athAlgSeq

Definition at line 87 of file ConfigurationShelve.py.

◆ athMasterSeq

python.ConfigurationShelve.ConfigurationJar.athMasterSeq

Definition at line 86 of file ConfigurationShelve.py.

◆ athOutSeq

python.ConfigurationShelve.ConfigurationJar.athOutSeq

Definition at line 88 of file ConfigurationShelve.py.

◆ JobProperties

python.ConfigurationShelve.ConfigurationJar.JobProperties

Definition at line 92 of file ConfigurationShelve.py.

◆ name

python.ConfigurationShelve.ConfigurationJar.name

Definition at line 80 of file ConfigurationShelve.py.

◆ ServiceMgr

python.ConfigurationShelve.ConfigurationJar.ServiceMgr

Definition at line 91 of file ConfigurationShelve.py.


The documentation for this class was generated from the following file:
dumpTruth.getName
getName
Definition: dumpTruth.py:34
python.Bindings.values
values
Definition: Control/AthenaPython/python/Bindings.py:805
grepfile.content
string content
Definition: grepfile.py:56
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18