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, event)
 

Public Attributes

 readPrefix
 
 offset
 
 decor
 

Detailed Description

Definition at line 332 of file xAODRootTest.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 333 of file xAODRootTest.py.

333  def __init__ (self, decorName, offset=0, readPrefix = ''):
334  self.readPrefix = readPrefix
335  self.offset = offset
336  self.decor = ROOT.SG.Decorator(int)(decorName)
337  return
338 
339 

Member Function Documentation

◆ execute()

def xAODRootTest.xAODTestPDecor.execute (   self,
  event 
)

Definition at line 340 of file xAODRootTest.py.

340  def execute (self, event):
341  cvec = event[self.readPrefix + 'cvec']
342  assert cvec.setOption (self.decor.auxid(), ROOT.SG.AuxDataOption ('nbins', 23))
343  for c in cvec:
344  self.decor.set(c, self.offset + c.anInt())
345  return
346 

Member Data Documentation

◆ decor

xAODRootTest.xAODTestPDecor.decor

Definition at line 336 of file xAODRootTest.py.

◆ offset

xAODRootTest.xAODTestPDecor.offset

Definition at line 335 of file xAODRootTest.py.

◆ readPrefix

xAODRootTest.xAODTestPDecor.readPrefix

Definition at line 334 of file xAODRootTest.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
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