Public Member Functions | Public Attributes | List of all members
file_size_ana.Node Class Reference

Public Member Functions

def __init__ (self, t, s)
 
def __str__ (self)
 
def __repr__ (self)
 
def FullSize (self)
 

Public Attributes

 title
 
 size
 
 children
 

Detailed Description

Definition at line 37 of file file_size_ana.py.

Constructor & Destructor Documentation

def file_size_ana.Node.__init__ (   self,
  t,
  s 
)

Definition at line 38 of file file_size_ana.py.

38  def __init__(self, t, s):
39  self.title = t
40  self.size = s
41  self.children = []
42 
def __init__(self, t, s)

Member Function Documentation

def file_size_ana.Node.__repr__ (   self)
def file_size_ana.Node.__str__ (   self)
def file_size_ana.Node.FullSize (   self)

Definition at line 49 of file file_size_ana.py.

References g4n::NeutronFate.children, file_size_ana.Node.children, file_size_ana.Node.size, and sum.

Referenced by file_size_ana.Node.__repr__(), and file_size_ana.Node.__str__().

49  def FullSize(self):
50  return sum([c.FullSize() for c in self.children], self.size)
51 
Double_t sum
Definition: plot.C:31

Member Data Documentation

file_size_ana.Node.children

Definition at line 41 of file file_size_ana.py.

Referenced by file_size_ana.Node.FullSize().

file_size_ana.Node.size

Definition at line 40 of file file_size_ana.py.

Referenced by file_size_ana.Node.FullSize().

file_size_ana.Node.title

The documentation for this class was generated from the following file: