39 def execute (self):
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)
46 ccc.push_back (cc)
47 ROOT.SetOwnership (cc, False)
48 ccc.order()
49 ccc.updateCaloIterators()
50 self.msg.info("Recorded CaloCellContainer %i",ccc.size())
51 self.evtStore.record (ccc, 'AllCalo')
52
53 return StatusCode.Success
54
55
56