ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
xAODRootTest.xAODTestCopy Class Reference
Collaboration diagram for xAODRootTest.xAODTestCopy:

Public Member Functions

def __init__ (self, readPrefix='', writePrefix=None)
 
def execute (self, tree, event)
 

Public Attributes

 readPrefix
 
 writePrefix
 

Detailed Description

Definition at line 259 of file xAODRootTest.py.

Constructor & Destructor Documentation

◆ __init__()

def xAODRootTest.xAODTestCopy.__init__ (   self,
  readPrefix = '',
  writePrefix = None 
)

Definition at line 260 of file xAODRootTest.py.

260  def __init__ (self, readPrefix = '', writePrefix = None):
261  self.readPrefix = readPrefix
262  self.writePrefix = writePrefix
263  return
264 

Member Function Documentation

◆ execute()

def xAODRootTest.xAODTestCopy.execute (   self,
  tree,
  event 
)

Definition at line 265 of file xAODRootTest.py.

265  def execute (self, tree, event):
266  CHECK (event.copy (self.readPrefix + 'cvec'))
267  CHECK (event.copy (self.readPrefix + 'cinfo'))
268  CHECK (event.copy (self.readPrefix + 'ctrig'))
269  CHECK (event.copy (self.readPrefix + 'cvecWD'))
270  CHECK (event.copy (self.readPrefix + 'cview'))
271  CHECK (event.copy (self.readPrefix + 'pvec'))
272  CHECK (event.copy (self.readPrefix + 'hvec'))
273  CHECK (event.copy (self.readPrefix + 'jvecContainer'))
274  CHECK (event.copy (self.readPrefix + 'jvecInfo'))
275  CHECK (event.copy (self.readPrefix + 'plinksContainer'))
276  CHECK (event.copy (self.readPrefix + 'plinksInfo'))
277  #CHECK (event.copy (self.readPrefix + 'hview'))
278 
279  if self.writePrefix != None:
280  cinfo = getattr (tree, self.readPrefix + 'cinfo')
281  copy_obj (event, cinfo, self.writePrefix + 'cinfo')
282 
283  cvec = getattr (tree, self.readPrefix + 'cvec')
284  copy_vec (event, cvec, self.writePrefix + 'cvec')
285 
286  ctrig = getattr (tree, self.readPrefix + 'ctrig')
287  copy_vec (event, ctrig, self.writePrefix + 'ctrig')
288 
289  cvecwd = getattr (tree, self.readPrefix + 'cvecWD')
290  copy_vec (event, cvecwd, self.writePrefix + 'cvecWD')
291 
292  cview = getattr (tree, self.readPrefix + 'cview')
293  copy_view (event, cview, self.writePrefix + 'cview')
294 
295  pvec = getattr (tree, self.readPrefix + 'pvec')
296  copy_vec (event, pvec, self.writePrefix + 'pvec')
297 
298  hvec = getattr (tree, self.readPrefix + 'hvec')
299  copy_vec (event, hvec, self.writePrefix + 'hvec')
300 
301  jvec = getattr (tree, self.readPrefix + 'jvecContainer')
302  copy_vec (event, jvec, self.writePrefix + 'jvecContainer')
303 
304  jvecinfo = getattr (tree, self.readPrefix + 'jvecInfo')
305  copy_obj (event, jvecinfo, self.writePrefix + 'jvecInfo')
306 
307  plinks = getattr (tree, self.readPrefix + 'plinksContainer')
308  copy_vec (event, plinks, self.writePrefix + 'plinksContainer')
309 
310  plinksinfo = getattr (tree, self.readPrefix + 'plinksInfo')
311  copy_obj (event, plinksinfo, self.writePrefix + 'plinksInfo')
312 
313  #hview = getattr (tree, self.readPrefix + 'hview')
314  #copy_view (event, hview, self.writePrefix + 'hview')
315 
316  return
317 
318 

Member Data Documentation

◆ readPrefix

xAODRootTest.xAODTestCopy.readPrefix

Definition at line 261 of file xAODRootTest.py.

◆ writePrefix

xAODRootTest.xAODTestCopy.writePrefix

Definition at line 262 of file xAODRootTest.py.


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