Definition at line 38 of file LArCellBinning_test.py.
◆ execute()
def LArCellBinning_test.CreateDataAlg.execute |
( |
|
self | ) |
|
Definition at line 39 of file LArCellBinning_test.py.
40 ctx = self.getContext()
41 mgr = self.condStore[
'CaloDetDescrManager'].find (ctx.eventID())
42 ccc = ROOT.CaloCellContainer()
43 for i
in range (mgr.element_size()):
44 elem = mgr.get_element (ROOT.IdentifierHash (i))
45 cc=ROOT.CaloCell(elem,10000,0,0,0)
47 ROOT.SetOwnership (cc,
False)
49 ccc.updateCaloIterators()
50 self.msg.
info(
"Recorded CaloCellContainer %i",ccc.size())
51 self.evtStore.record (ccc,
'AllCalo')
53 return StatusCode.Success
The documentation for this class was generated from the following file: