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

Public Member Functions

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

Public Attributes

 readPrefix
 

Detailed Description

Definition at line 192 of file xAODRootTest.py.

Constructor & Destructor Documentation

◆ __init__()

def xAODRootTest.xAODTestRead.__init__ (   self,
  readPrefix = '' 
)

Definition at line 193 of file xAODRootTest.py.

193  def __init__ (self, readPrefix = ''):
194  self.readPrefix = readPrefix
195  return
196 
197 

Member Function Documentation

◆ execute()

def xAODRootTest.xAODTestRead.execute (   self,
  tree,
  event = None 
)

Definition at line 198 of file xAODRootTest.py.

198  def execute (self, tree, event=None):
199  print (self.readPrefix + 'cvec')
200  vec = getattr (tree, self.readPrefix + 'cvec')
201  for c in vec:
202  dump_c (c)
203 
204  print (self.readPrefix + 'cinfo')
205  cinfo = getattr (tree, self.readPrefix + 'cinfo')
206  dump_c (cinfo)
207 
208  print (self.readPrefix + 'ctrig')
209  ctrig = getattr (tree, self.readPrefix + 'ctrig')
210  for c in ctrig:
211  dump_c (c)
212 
213  vec = getattr (tree, self.readPrefix + 'cvecWD')
214  print (self.readPrefix + 'cvecWD' + ' ', vec.meta1)
215  for c in vec:
216  dump_c (c)
217 
218  vec = getattr (tree, self.readPrefix + 'cview')
219  print (self.readPrefix + 'cview')
220  for c in vec:
221  dump_c (c)
222 
223  print (self.readPrefix + 'pvec')
224  vec = getattr (tree, self.readPrefix + 'pvec')
225  for p in vec:
226  dump_xaodobj (p)
227 
228  print (self.readPrefix + 'hvec')
229  vec = getattr (tree, self.readPrefix + 'hvec')
230  for h in vec:
231  dump_xaodobj (h)
232 
233  print (self.readPrefix + 'jvecContainer')
234  vec = getattr (tree, self.readPrefix + 'jvecContainer')
235  for h in vec:
236  dump_xaodobj (h)
237 
238  print (self.readPrefix + 'jvecInfo')
239  jvecInfo = getattr (tree, self.readPrefix + 'jvecInfo')
240  dump_xaodobj (jvecInfo)
241 
242  print (self.readPrefix + 'plinksContainer')
243  vec = getattr (tree, self.readPrefix + 'plinksContainer')
244  for h in vec:
245  dump_plinks (h)
246 
247  print (self.readPrefix + 'plinksInfo')
248  plinksInfo = getattr (tree, self.readPrefix + 'plinksInfo')
249  dump_plinks (plinksInfo)
250 
251  #vec = getattr (tree, self.readPrefix + 'hview')
252  #print (self.readPrefix + 'hview')
253  #for h in vec:
254  # dump_h (h)
255 
256  return
257 
258 

Member Data Documentation

◆ readPrefix

xAODRootTest.xAODTestRead.readPrefix

Definition at line 194 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