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 337 of file xAODRootTest.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 338 of file xAODRootTest.py.

338  def __init__ (self, decorName, offset=0, readPrefix = ''):
339  self.readPrefix = readPrefix
340  self.offset = offset
341  self.decor = ROOT.SG.Decorator(int)(decorName)
342  return
343 
344 

Member Function Documentation

◆ execute()

def xAODRootTest.xAODTestPDecor.execute (   self,
  event 
)

Definition at line 345 of file xAODRootTest.py.

345  def execute (self, event):
346  cvec = event[self.readPrefix + 'cvec']
347  assert cvec.setOption (self.decor.auxid(), ROOT.SG.AuxDataOption ('nbins', 23))
348  for c in cvec:
349  self.decor.set(c, self.offset + c.anInt())
350  return
351 

Member Data Documentation

◆ decor

xAODRootTest.xAODTestPDecor.decor

Definition at line 341 of file xAODRootTest.py.

◆ offset

xAODRootTest.xAODTestPDecor.offset

Definition at line 340 of file xAODRootTest.py.

◆ readPrefix

xAODRootTest.xAODTestPDecor.readPrefix

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