Skip to content
Snippets Groups Projects

Fixing newly introduced warning in FastCaloSim

Closed Pavol Strizenec requested to merge pavol/athena:fixFastCaloSim_warning into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -60,7 +60,7 @@ def make_calo_cells (detStore, desc):
for addr, (e, gain, exp) in desc.items():
cellid = idhelper.cell_id (*addr)
elt = mgr.get_element (cellid)
assert elt != None
assert elt is not None
if addr[0] == TILE:
cc = ROOT.TileCell (elt, e)
else:
@@ -156,7 +156,7 @@ def testCfg (configFlags):
from FastCaloSim.AddNoiseCellBuilderToolConfig import AddNoiseCellBuilderToolCfg
acc = AddNoiseCellBuilderToolCfg (configFlags)
tool = acc.popPrivateTools()
acc.popPrivateTools()
result.merge (acc)
result.addEventAlgo (TestAlg ('TestAlg'))
Loading