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

Public Member Functions

def __init__ (self)
 
def add (self, o)
 

Private Attributes

 __chunksize
 
 __i
 
 __chunks
 

Detailed Description

Definition at line 319 of file root_pickle.py.

Constructor & Destructor Documentation

◆ __init__()

def python.root_pickle.Saver.__init__ (   self)

Definition at line 320 of file root_pickle.py.

320  def __init__ (self):
321  self.__chunksize = 65536
322  self.__i = self.__chunksize
323  self.__chunks = []
324  return
325 

Member Function Documentation

◆ add()

def python.root_pickle.Saver.add (   self,
  o 
)

Definition at line 326 of file root_pickle.py.

326  def add (self, o):
327  if self.__i >= self.__chunksize:
328  self.__chunks.append ([None] * self.__chunksize)
329  self.__i = 0
330  self.__chunks[-1][self.__i] = o
331  self.__i += 1
332  return
333 
334 

Member Data Documentation

◆ __chunks

python.root_pickle.Saver.__chunks
private

Definition at line 323 of file root_pickle.py.

◆ __chunksize

python.root_pickle.Saver.__chunksize
private

Definition at line 321 of file root_pickle.py.

◆ __i

python.root_pickle.Saver.__i
private

Definition at line 322 of file root_pickle.py.


The documentation for this class was generated from the following file:
add
bool add(const std::string &hname, TKey *tobj)
Definition: fastadd.cxx:55
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18