Skip to content
Snippets Groups Projects
Commit a4fe86b7 authored by Guillaume Unal's avatar Guillaume Unal
Browse files

LArCalorimeter/LArCellRec/src/LArCellBuilderFromLArRawChannelTool.cxx : fix...

LArCalorimeter/LArCellRec/src/LArCellBuilderFromLArRawChannelTool.cxx : fix unit of cell time (missing ps to ns conversion)
parent 7bc38266
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment