Commit f3001623 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'fix_copytrack' into 'v1.0-stable'

Track: Add missing class members to copy constructor

See merge request !225
parents ed0e9648 1228b162
Pipeline #1283973 passed with stages
in 19 minutes and 48 seconds
......@@ -16,8 +16,12 @@ Track::Track(const Track& track) : Object(track.detectorID(), track.timestamp())
Cluster* cluster = new Cluster(*assoc_cluster);
addAssociatedCluster(cluster);
}
m_state = track.m_state;
closestCluster = track.closestCluster;
m_chi2 = track.m_chi2;
m_ndof = track.m_ndof;
m_chi2ndof = track.m_chi2ndof;
m_direction = track.m_direction;
m_state = track.m_state;
}
void Track::addCluster(const Cluster* cluster) {
......
......@@ -16,4 +16,4 @@ chi2ndof_cut = 8
time_cut_frameedge = 10ns
#DEPENDS test_write.conf
#PASS Total efficiency of detector W0013_G02: 99.9056%, measured with 178783/178952 matched/total tracks
#PASS Total efficiency of detector W0013_G02: 99.9082%, measured with 163232/163382 matched/total tracks
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