Skip to content
Snippets Groups Projects
Commit ce71f1cf authored by Thomas Strebler's avatar Thomas Strebler
Browse files

Remove unnecessary SG::AuxElement::Decorator

parent 80082336
No related branches found
No related tags found
2 merge requests!787692025-03-24: merge of 24.0 into main,!78662Fix GNNHS VertexDecoratorAlg failure (ATLASRECTS-8178)
/*
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
*/
#include "VertexDecoratorAlg.h"
......@@ -211,8 +211,7 @@ namespace InDetGNNHardScatterSelection
dec_ntrk(*vertex) = number_tracks;
static const SG::AuxElement::Decorator<float> acc_sumPt("sumPt");
if(not acc_sumPt.isAvailable(*vertex)){
if(!dec_sumPt.isAvailable()){
dec_sumPt(*vertex) = sumPt;
}
dec_chi2Over_ndf(*vertex) = vertex->chiSquared() / vertex->numberDoF();
......
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