Definition at line 319 of file xAODRootTest.py.
◆ __init__()
def xAODRootTest.xAODTestDecor.__init__ |
( |
|
self, |
|
|
|
decorName, |
|
|
|
offset = 0 , |
|
|
|
readPrefix = '' |
|
) |
| |
Definition at line 320 of file xAODRootTest.py.
320 def __init__ (self, decorName, offset=0, readPrefix = ''):
321 self.readPrefix = readPrefix
323 self.decor = ROOT.SG.Decorator(int)(decorName)
◆ execute()
def xAODRootTest.xAODTestDecor.execute |
( |
|
self, |
|
|
|
tree, |
|
|
|
event = None |
|
) |
| |
Definition at line 327 of file xAODRootTest.py.
327 def execute (self, tree, event=None):
328 cvec = getattr (tree, self.readPrefix +
'cvec')
330 self.decor.
set(c, self.offset + c.anInt())
332 ctrig = getattr (tree, self.readPrefix +
'ctrig')
334 self.decor.
set(c, self.offset + c.anInt())
336 cinfo = getattr (tree, self.readPrefix +
'cinfo')
337 self.decor.
set(cinfo, self.offset + cinfo.anInt())
◆ decor
xAODRootTest.xAODTestDecor.decor |
◆ offset
xAODRootTest.xAODTestDecor.offset |
◆ readPrefix
xAODRootTest.xAODTestDecor.readPrefix |
The documentation for this class was generated from the following file:
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.