Commit 2c52568e authored by Lennart Huth's avatar Lennart Huth
Browse files

nicer print, as requested by @simonsp in \!183

parent 60231a92
......@@ -146,8 +146,8 @@ void AlignmentDUTResidual::MinimiseResiduals(Int_t&, Double_t*, Double_t& result
// Loop over all tracks
for(auto& track : globalTracks) {
LOG(TRACE) << "track has chi2 " << track->chi2();
LOG(TRACE) << "- track has gradient x " << track->direction(track->clusters().at(0)->detectorID()).X();
LOG(TRACE) << "- track has gradient y " << track->direction(track->clusters().at(0)->detectorID()).Y();
auto detector = track->clusters().at(0)->detectorID();
LOG(TRACE) << "- track has gradient " << track->direction(detector) << " at detector " << detector;
// Find the cluster that needs to have its position recalculated
for(auto& associatedCluster : track->associatedClusters()) {
......
Markdown is supported
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