ATLAS Offline Software
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
python.Dso.CxxDsoDb Class Reference
Inheritance diagram for python.Dso.CxxDsoDb:
Collaboration diagram for python.Dso.CxxDsoDb:

Public Member Functions

def __init__ (self)
 
def db (self)
 
def pf (self)
 
def has_type (self, typename)
 
def load_type (self, typename)
 
def capabilities (self, libname)
 
def duplicates (self, libname, pedantic=False)
 
def dict_duplicates (self, pedantic=False)
 
def pf_duplicates (self, pedantic=False)
 
def libs (self, detailed=False)
 
def content (self, pedantic)
 
def dso_files (self)
 
def dsoFiles (self)
 

Static Public Attributes

 dictDuplicates
 
 pfDuplicates
 

Private Member Functions

def _to_py (self, cxx)
 

Private Attributes

 _cxx
 

Detailed Description

The repository of 'rootmap' files (location, content,...)

Definition at line 153 of file Tools/PyUtils/python/Dso.py.

Constructor & Destructor Documentation

◆ __init__()

def python.Dso.CxxDsoDb.__init__ (   self)

Definition at line 157 of file Tools/PyUtils/python/Dso.py.

157  def __init__(self):
158  import cppyy # noqa: F401
159  # import root
160  import PyUtils.RootUtils as ru
161  ROOT = ru.import_root()
162  self._cxx = ROOT.Ath.DsoDb.instance()
163 

Member Function Documentation

◆ _to_py()

def python.Dso.CxxDsoDb._to_py (   self,
  cxx 
)
private

Definition at line 164 of file Tools/PyUtils/python/Dso.py.

164  def _to_py(self, cxx):
165  dd = {}
166  kk = self._cxx.py_keys_from(cxx)
167  vv = self._cxx.py_vals_from(cxx)
168  for i in range(kk.size()):
169  dd[kk[i]] = list(vv[i])
170  return dd
171 

◆ capabilities()

def python.Dso.CxxDsoDb.capabilities (   self,
  libname 
)

Definition at line 186 of file Tools/PyUtils/python/Dso.py.

186  def capabilities(self, libname):
187  return list(self._cxx.capabilities(libname))
188 

◆ content()

def python.Dso.CxxDsoDb.content (   self,
  pedantic 
)

Definition at line 205 of file Tools/PyUtils/python/Dso.py.

205  def content(self, pedantic):
206  return self._to_py(self._cxx.content(pedantic))
207 

◆ db()

def python.Dso.CxxDsoDb.db (   self)

Definition at line 173 of file Tools/PyUtils/python/Dso.py.

173  def db(self):
174  return self._to_py(self._cxx.db())
175 

◆ dict_duplicates()

def python.Dso.CxxDsoDb.dict_duplicates (   self,
  pedantic = False 
)

Definition at line 192 of file Tools/PyUtils/python/Dso.py.

192  def dict_duplicates(self, pedantic=False):
193  return self._to_py(self._cxx.dict_duplicates(pedantic))
194 

◆ dso_files()

def python.Dso.CxxDsoDb.dso_files (   self)

Definition at line 209 of file Tools/PyUtils/python/Dso.py.

209  def dso_files(self):
210  return list(self._cxx.dso_files())
211 

◆ dsoFiles()

def python.Dso.CxxDsoDb.dsoFiles (   self)

Definition at line 213 of file Tools/PyUtils/python/Dso.py.

213  def dsoFiles(self):
214  return self.dso_files
215 

◆ duplicates()

def python.Dso.CxxDsoDb.duplicates (   self,
  libname,
  pedantic = False 
)

Definition at line 189 of file Tools/PyUtils/python/Dso.py.

189  def duplicates(self, libname, pedantic=False):
190  return self._to_py(self._cxx.duplicates(libname, pedantic))
191 

◆ has_type()

def python.Dso.CxxDsoDb.has_type (   self,
  typename 
)

Definition at line 180 of file Tools/PyUtils/python/Dso.py.

180  def has_type(self, typename):
181  return self._cxx.has_type(typename)
182 

◆ libs()

def python.Dso.CxxDsoDb.libs (   self,
  detailed = False 
)

Definition at line 202 of file Tools/PyUtils/python/Dso.py.

202  def libs(self, detailed=False):
203  return list(self._cxx.libs(detailed))
204 

◆ load_type()

def python.Dso.CxxDsoDb.load_type (   self,
  typename 
)

Definition at line 183 of file Tools/PyUtils/python/Dso.py.

183  def load_type(self, typename):
184  return self._cxx.load_type(typename)
185 

◆ pf()

def python.Dso.CxxDsoDb.pf (   self)

Definition at line 177 of file Tools/PyUtils/python/Dso.py.

177  def pf(self):
178  return self._to_py(self._cxx.pf())
179 

◆ pf_duplicates()

def python.Dso.CxxDsoDb.pf_duplicates (   self,
  pedantic = False 
)

Definition at line 197 of file Tools/PyUtils/python/Dso.py.

197  def pf_duplicates(self, pedantic=False):
198  return self._to_py(self._cxx.pf_duplicates(pedantic))
199 

Member Data Documentation

◆ _cxx

python.Dso.CxxDsoDb._cxx
private

Definition at line 162 of file Tools/PyUtils/python/Dso.py.

◆ dictDuplicates

python.Dso.CxxDsoDb.dictDuplicates
static

Definition at line 195 of file Tools/PyUtils/python/Dso.py.

◆ pfDuplicates

python.Dso.CxxDsoDb.pfDuplicates
static

Definition at line 200 of file Tools/PyUtils/python/Dso.py.


The documentation for this class was generated from the following file:
checkPlugins.capabilities
capabilities
Definition: checkPlugins.py:137
LArG4ShowerLibProcessing.libs
list libs
Definition: LArG4ShowerLibProcessing.py:49
CaloCondBlobAlgs_fillNoiseFromASCII.db
db
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:42
checkPlugins.dsoFiles
dsoFiles
Definition: checkPlugins.py:178
python.processes.powheg.ZZj_MiNNLO.ZZj_MiNNLO.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZj_MiNNLO.py:18
grepfile.content
string content
Definition: grepfile.py:56
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:194
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
python.output.AtlRunQueryRoot.pf
pf
Definition: AtlRunQueryRoot.py:988
generateReferenceFile.duplicates
duplicates
Definition: generateReferenceFile.py:24