Commit 543db667 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

Track: add missing class members to copy constructor

parent 97f0d9b0
......@@ -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) {
......
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