Skip to content
Snippets Groups Projects
Commit 730ef27b authored by Dominik Smith's avatar Dominik Smith Committed by Felix Weiglhofer
Browse files

cbm::tof::Clusterizer: Small cosmetic change.

parent 5f65d60d
No related branches found
No related tags found
1 merge request!1391Online-capable TOF hitfinder.
......@@ -410,8 +410,8 @@ namespace cbm::algo::tof
CbmTofDigi* xDigiC = std::next(digiIt, 2)->first;
double timeDifN = (xDigiC->GetSide() == xDigiA->GetSide()) ? timeDifN = xDigiC->GetTime() - xDigiB->GetTime()
: timeDifN = xDigiC->GetTime() - xDigiA->GetTime();
const double timeDifN = (xDigiC->GetSide() == xDigiA->GetSide()) ? xDigiC->GetTime() - xDigiB->GetTime()
: xDigiC->GetTime() - xDigiA->GetTime();
double posYN = fParams.fSigVel * timeDifN * 0.5;
if (xDigiC->GetSide() != 1.) { posYN *= -1.; }
......
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