Definition at line 341 of file xAODRootTest.py.
◆ __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
345 self.decor = ROOT.SG.Decorator(int)(decorName)
◆ 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))
353 self.decor.
set(c, self.offset + c.anInt())
◆ decor
xAODRootTest.xAODTestPDecor.decor |
◆ offset
xAODRootTest.xAODTestPDecor.offset |
◆ readPrefix
xAODRootTest.xAODTestPDecor.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.