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 155 of file Tools/PyUtils/python/Dso.py.

Constructor & Destructor Documentation

◆ __init__()

def python.Dso.CxxDsoDb.__init__ (   self)

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

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

Member Function Documentation

◆ _to_py()

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

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

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

◆ capabilities()

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

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

188  def capabilities(self, libname):
189  return list(self._cxx.capabilities(libname))
190 

◆ content()

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

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

207  def content(self, pedantic):
208  return self._to_py(self._cxx.content(pedantic))
209 

◆ db()

def python.Dso.CxxDsoDb.db (   self)

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

175  def db(self):
176  return self._to_py(self._cxx.db())
177 

◆ dict_duplicates()

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

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

194  def dict_duplicates(self, pedantic=False):
195  return self._to_py(self._cxx.dict_duplicates(pedantic))
196 

◆ dso_files()

def python.Dso.CxxDsoDb.dso_files (   self)

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

211  def dso_files(self):
212  return list(self._cxx.dso_files())
213 

◆ dsoFiles()

def python.Dso.CxxDsoDb.dsoFiles (   self)

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

215  def dsoFiles(self):
216  return self.dso_files
217 

◆ duplicates()

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

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

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

◆ has_type()

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

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

182  def has_type(self, typename):
183  return self._cxx.has_type(typename)
184 

◆ libs()

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

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

204  def libs(self, detailed=False):
205  return list(self._cxx.libs(detailed))
206 

◆ load_type()

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

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

185  def load_type(self, typename):
186  return self._cxx.load_type(typename)
187 

◆ pf()

def python.Dso.CxxDsoDb.pf (   self)

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

179  def pf(self):
180  return self._to_py(self._cxx.pf())
181 

◆ pf_duplicates()

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

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

199  def pf_duplicates(self, pedantic=False):
200  return self._to_py(self._cxx.pf_duplicates(pedantic))
201 

Member Data Documentation

◆ _cxx

python.Dso.CxxDsoDb._cxx
private

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

◆ dictDuplicates

python.Dso.CxxDsoDb.dictDuplicates
static

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

◆ pfDuplicates

python.Dso.CxxDsoDb.pfDuplicates
static

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


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