ATLAS Offline Software
Public Member Functions | List of all members
LArCellBinning_test.CreateDataAlg Class Reference
Inheritance diagram for LArCellBinning_test.CreateDataAlg:
Collaboration diagram for LArCellBinning_test.CreateDataAlg:

Public Member Functions

def execute (self)
 

Detailed Description

Definition at line 38 of file LArCellBinning_test.py.

Member Function Documentation

◆ execute()

def LArCellBinning_test.CreateDataAlg.execute (   self)

Definition at line 39 of file LArCellBinning_test.py.

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 

The documentation for this class was generated from the following file:
grepfile.info
info
Definition: grepfile.py:38
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20