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

Public Member Functions

def __init__ (self)
 
def write (self, s)
 
def getvalue (self)
 
def reopen (self)
 

Private Attributes

 _s
 
 _str
 

Detailed Description

Definition at line 105 of file root_pickle.py.

Constructor & Destructor Documentation

◆ __init__()

def python.root_pickle.Write_Wrapper.__init__ (   self)

Definition at line 106 of file root_pickle.py.

106  def __init__ (self):
107  self.reopen()
108 

Member Function Documentation

◆ getvalue()

def python.root_pickle.Write_Wrapper.getvalue (   self)

Definition at line 129 of file root_pickle.py.

129  def getvalue (self):
130  return self._s
131 

◆ reopen()

def python.root_pickle.Write_Wrapper.reopen (   self)

Definition at line 132 of file root_pickle.py.

132  def reopen (self):
133  self._s = ROOT.TObjString()
134  self._str = self._s.String()
135  return
136 
137 

◆ write()

def python.root_pickle.Write_Wrapper.write (   self,
  s 
)

Definition at line 109 of file root_pickle.py.

109  def write (self, s):
110  ss = self._str
111  log = []
112  for c in s:
113  code = c
114  if code == 0xff:
115  ss.Append (0xff)
116  ss.Append (0xfe)
117  log.append (0xff)
118  log.append (0xfe)
119  elif code == 0x00:
120  ss.Append (0xff)
121  ss.Append (0x01)
122  log.append (0xff)
123  log.append (0x01)
124  else:
125  ss.Append (code)
126  log.append (code)
127  return
128 

Member Data Documentation

◆ _s

python.root_pickle.Write_Wrapper._s
private

Definition at line 133 of file root_pickle.py.

◆ _str

python.root_pickle.Write_Wrapper._str
private

Definition at line 134 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
python.ByteStreamConfig.write
def write
Definition: Event/ByteStreamCnvSvc/python/ByteStreamConfig.py:248