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 54 of file checkTP.py.

Constructor & Destructor Documentation

◆ __init__()

def checkTP.Columbo.__init__ (   self)

Definition at line 56 of file checkTP.py.

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

Member Function Documentation

◆ loadDicts()

def checkTP.Columbo.loadDicts (   self,
  klassName 
)

Definition at line 68 of file checkTP.py.

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

Member Data Documentation

◆ gbl

checkTP.Columbo.gbl

Definition at line 62 of file checkTP.py.

◆ report

checkTP.Columbo.report

Definition at line 65 of file checkTP.py.

◆ Type

checkTP.Columbo.Type

Definition at line 63 of file checkTP.py.


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