Skip to content
Snippets Groups Projects
Commit 8b73535d authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch '22.0-LArCellTimeFix' into 'master'

Fix Time unit for LArCell

See merge request atlas/athena!27202
parents d468030a a4fe86b7
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "StoreGate/ReadHandle.h" #include "StoreGate/ReadHandle.h"
#include "StoreGate/ReadCondHandle.h" #include "StoreGate/ReadCondHandle.h"
#include "GaudiKernel/SystemOfUnits.h"
#include <bitset> #include <bitset>
...@@ -159,7 +160,7 @@ LArCellBuilderFromLArRawChannelTool::process (CaloCellContainer* theCellContaine ...@@ -159,7 +160,7 @@ LArCellBuilderFromLArRawChannelTool::process (CaloCellContainer* theCellContaine
*pCell = LArCell (theDDE, *pCell = LArCell (theDDE,
id, id,
rawChan.energy(), rawChan.energy(),
rawChan.time(), rawChan.time()*Gaudi::Units::picosecond/Gaudi::Units::nanosecond, // convert time from ps (LArRawChannel) to ns
rawChan.quality(), rawChan.quality(),
rawChan.provenance(), rawChan.provenance(),
rawChan.gain()); 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