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 273 of file root_pickle.py.

Constructor & Destructor Documentation

◆ __init__()

def python.root_pickle.Saver.__init__ (   self)

Definition at line 274 of file root_pickle.py.

274  def __init__ (self):
275  self.__chunksize = 65536
276  self.__i = self.__chunksize
277  self.__chunks = []
278  return
279 

Member Function Documentation

◆ add()

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

Definition at line 280 of file root_pickle.py.

280  def add (self, o):
281  if self.__i >= self.__chunksize:
282  self.__chunks.append ([None] * self.__chunksize)
283  self.__i = 0
284  self.__chunks[-1][self.__i] = o
285  self.__i += 1
286  return
287 
288 

Member Data Documentation

◆ __chunks

python.root_pickle.Saver.__chunks
private

Definition at line 277 of file root_pickle.py.

◆ __chunksize

python.root_pickle.Saver.__chunksize
private

Definition at line 275 of file root_pickle.py.

◆ __i

python.root_pickle.Saver.__i
private

Definition at line 276 of file root_pickle.py.


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