diff --git a/LArCalorimeter/LArCellRec/src/LArCellBuilderFromLArRawChannelTool.cxx b/LArCalorimeter/LArCellRec/src/LArCellBuilderFromLArRawChannelTool.cxx index 10a27aafa119d081db28badf0665dd96bc53f782..825ddc43fa50d371869c1a9749941edb8d7077be 100644 --- a/LArCalorimeter/LArCellRec/src/LArCellBuilderFromLArRawChannelTool.cxx +++ b/LArCalorimeter/LArCellRec/src/LArCellBuilderFromLArRawChannelTool.cxx @@ -24,6 +24,7 @@ #include "StoreGate/ReadHandle.h" #include "StoreGate/ReadCondHandle.h" +#include "GaudiKernel/SystemOfUnits.h" #include <bitset> @@ -159,7 +160,7 @@ LArCellBuilderFromLArRawChannelTool::process (CaloCellContainer* theCellContaine *pCell = LArCell (theDDE, id, rawChan.energy(), - rawChan.time(), + rawChan.time()*Gaudi::Units::picosecond/Gaudi::Units::nanosecond, // convert time from ps (LArRawChannel) to ns rawChan.quality(), rawChan.provenance(), rawChan.gain());