diff --git a/Tracking/TrkVertexFitter/TrkVertexTools/src/SecVertexMergingTool.cxx b/Tracking/TrkVertexFitter/TrkVertexTools/src/SecVertexMergingTool.cxx index 59c79e2bf00db08d75ae380c3adf7b965451994e..e4bbb70750e28ed75db1c4a0e8cc9c44275c515f 100644 --- a/Tracking/TrkVertexFitter/TrkVertexTools/src/SecVertexMergingTool.cxx +++ b/Tracking/TrkVertexFitter/TrkVertexTools/src/SecVertexMergingTool.cxx @@ -70,11 +70,11 @@ namespace Trk{ "radiiPattern" ); **/ - SG::AuxElement::Decorator<float> mDecor_sumPt2("sumPt2"); - SG::AuxElement::Decorator<float> mDecor_mass("mass"); - SG::AuxElement::Decorator<float> mDecor_energy("ee"); - SG::AuxElement::Decorator<int> mDecor_nrobbed("nrobbed"); - SG::AuxElement::Decorator<int> mDecor_intrk("NumInputTrk"); + static const SG::AuxElement::Decorator<float> mDecor_sumPt2("sumPt2"); + static const SG::AuxElement::Decorator<float> mDecor_mass("mass"); + static const SG::AuxElement::Decorator<float> mDecor_energy("ee"); + static const SG::AuxElement::Decorator<int> mDecor_nrobbed("nrobbed"); + static const SG::AuxElement::Decorator<int> mDecor_intrk("NumInputTrk"); // add remerged flags to all std::vector<bool> remerged(MyVxCont.size(), false);