Commit 76238d5c authored by Lennart Huth's avatar Lennart Huth
Browse files

Down and up again

parent b324071d
......@@ -58,7 +58,7 @@ void Multiplet::fit() {
// Calculate the angle
ROOT::Math::XYZVector slopeUp = m_upstream->getDirection(m_scattererPosition);
ROOT::Math::XYZVector slopeDown = m_upstream->getDirection(m_scattererPosition);
ROOT::Math::XYZVector slopeDown = m_downstream->getDirection(m_scattererPosition);
//
ROOT::Math::XYZVector kinks = (slopeDown /= slopeDown.z()) - (slopeUp /= slopeUp.z());
m_kinkAtScatterer = ROOT::Math::XYVector(kinks.x(), kinks.y());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment