Remove mutable/ setters() const from TrackInfo
The track Info was carrying 4 mutables allowing for this pattern.
note the setter() const
pattern
0302 /**
0303 * Method re-setting the ParticleHypothesis
0304 */
0305 void setParticleHypothesis(const ParticleHypothesis& hypothesis) const;
0367 /**
0368 * A bitset providing information on the properties
0369 * of the track.
0370 */
0371 mutable std::bitset<NumberOfTrackProperties> m_properties;
This is not playing well in a MT environment. Fix this and modify some of the clients I could see in an immediate way.
Mentiong @mhodgkin (with whom we discussed this a bit) and @goetz as this appears in the reco Integration list of mutables to be fixed.
Edited by Christos Anastopoulos