Skip to content

Commit

Permalink
time walk correction per scin ID
Browse files Browse the repository at this point in the history
  • Loading branch information
kkacprzak committed Mar 27, 2024
1 parent b185d0a commit 2d91cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModularDetectorAnalysis/SignalTransformerTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ double SignalTransformerTools::calculateAverageTime(JPetMatrixSignal& mtxSig, bo
auto tot = mtxSig.getToT();
if (tot != 0.0)
{
auto p1 = calibTree.get("time_walk.param_a", 0.0);
auto p1 = calibTree.get("scin." + to_string(scinID) + ".time_walk_a", 0.0);
timeWalkCorrection = p1 / mtxSig.getToT();
}

Expand Down

0 comments on commit 2d91cdf

Please sign in to comment.