Skip to content
Snippets Groups Projects
Commit a96d8b22 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'STEP_tmp_alloc_1' into 'master'

Avoid unused reserve (pointed by heaptrack). In the actual path ,we use this, resize happens

See merge request !60383
parents 5aaa16fc 1eec5ff0
1 merge request!60383Avoid unused reserve (pointed by heaptrack). In the actual path ,we use this, resize happens
......@@ -357,9 +357,8 @@ public:
bool m_detailedElossFlag{ true };
bool m_straggling{ true };
bool m_solenoid{ false };
bool m_matPropOK{
true
}; //!< Switch for turning off material effects temporarily
//!< Switch for turning off material effects temporarily
bool m_matPropOK{ true };
bool m_brem{ false };
bool m_includeBgradients{ true };
bool m_includeGgradient{ false };
......@@ -399,10 +398,7 @@ public:
const Trk::BinnedMaterial* m_binMat{ nullptr };
//!< cache of TrackStateOnSurfaces
std::vector<const Trk::TrackStateOnSurface*>* m_matstates{
nullptr
}; //!< cache of TrackStateOnSurfaces
std::vector<const Trk::TrackStateOnSurface*>* m_matstates{ nullptr };
//!< cache of intersections
std::vector<std::pair<std::unique_ptr<Trk::TrackParameters>, int>>*
m_identifiedParameters{ nullptr };
......@@ -426,7 +422,7 @@ public:
CLHEP::HepRandomEngine* m_randomEngine { nullptr };
const EventContext& m_ctx;
Cache (const EventContext& ctx) : m_ctx (ctx) { m_currentDist.reserve(100); }
Cache (const EventContext& ctx) : m_ctx (ctx) {}
};
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment