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

Public Member Functions

def __init__ (self)
 
def loadDicts (self, klassName)
 

Public Attributes

 gbl
 
 Type
 
 report
 

Detailed Description

Definition at line 56 of file checkTP.py.

Constructor & Destructor Documentation

◆ __init__()

def checkTP.Columbo.__init__ (   self)

Definition at line 58 of file checkTP.py.

58  def __init__(self):
59  object.__init__(self)
60  print ("")
61  print ("#"*80)
62  print ("## initializing...")
63  import cppyy
64  self.gbl = cppyy.gbl
65  self.Type = cppyy.gbl.RootType
66 
67  self.report = []
68  return
69 

Member Function Documentation

◆ loadDicts()

def checkTP.Columbo.loadDicts (   self,
  klassName 
)

Definition at line 70 of file checkTP.py.

70  def loadDicts(self, klassName):
71  klassNames = [klassName]
72  print ("## loading dictionary... [%s]" % klassName)
73 
74 
75  if klassName.startswith("std::_"):
76  return klassNames
77  #return []
78 
79 
80  if klassName in _cpp_builtins:
81  return klassNames
82 
83  loaded = False
84  try:
85  loaded = getattr (self.gbl, klassName)
86  except Exception as e:
87  print ("Error loading dict. for [%s]" % klassName)
88  print ("--> ", e)
89  if not loaded:
90  print ("Failed to load dict for [%s]" % klassName)
91  return klassNames
92  klass = self.Type.ByName(klassName)
93 
94  if not klass.IsStruct() and not klass.IsClass():
95  return klassNames
96 
97  for i in range(klass.BaseSize()):
98  baseKlassName = klass.BaseAt(i).Name()
99  klassNames.extend (self.loadDicts(baseKlassName))
100  pass

Member Data Documentation

◆ gbl

checkTP.Columbo.gbl

Definition at line 64 of file checkTP.py.

◆ report

checkTP.Columbo.report

Definition at line 67 of file checkTP.py.

◆ Type

checkTP.Columbo.Type

Definition at line 65 of file checkTP.py.


The documentation for this class was generated from the following file:
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18