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

Public Member Functions

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

Public Attributes

 readPrefix
 
 offset
 
 decor
 

Detailed Description

Definition at line 341 of file xAODRootTest.py.

Constructor & Destructor Documentation

◆ __init__()

def xAODRootTest.xAODTestPDecor.__init__ (   self,
  decorName,
  offset = 0,
  readPrefix = '' 
)

Definition at line 342 of file xAODRootTest.py.

342  def __init__ (self, decorName, offset=0, readPrefix = ''):
343  self.readPrefix = readPrefix
344  self.offset = offset
345  self.decor = ROOT.SG.Decorator(int)(decorName)
346  return
347 
348 

Member Function Documentation

◆ execute()

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

Definition at line 349 of file xAODRootTest.py.

349  def execute (self, tree, event=None):
350  cvec = getattr (tree, self.readPrefix + 'cvec')
351  assert cvec.setOption (self.decor.auxid(), ROOT.SG.AuxDataOption ('nbins', 23))
352  for c in cvec:
353  self.decor.set(c, self.offset + c.anInt())
354  return
355 

Member Data Documentation

◆ decor

xAODRootTest.xAODTestPDecor.decor

Definition at line 345 of file xAODRootTest.py.

◆ offset

xAODRootTest.xAODTestPDecor.offset

Definition at line 344 of file xAODRootTest.py.

◆ readPrefix

xAODRootTest.xAODTestPDecor.readPrefix

Definition at line 343 of file xAODRootTest.py.


The documentation for this class was generated from the following file:
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:232
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18