ATLAS Offline Software
Loading...
Searching...
No Matches
DecorateVertexScoreAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DECORATEVERTEXSCOREALG_H
6#define DECORATEVERTEXSCOREALG_H
7
11#include <AsgTools/ToolHandle.h>
14
15#include <string>
16
26 public:
27 DecorateVertexScoreAlg(const std::string& name,
28 ISvcLocator* svcLoc = nullptr);
29
30 virtual StatusCode initialize() override;
31 StatusCode execute() override;
32
33 private:
35 this, "VertexContainer", "PrimaryVertices", "The input Vertex container"};
36
38 this, "VertexScoreDecor", m_vertexContainer_key, "score",
39 "The output decoration for the score vertices"};
40
41 ToolHandle<Trk::IVertexWeightCalculator> m_vertexWeightCalculator{
42 this, "VertexWeightCalculator", "BDTVertexWeightCalculator",
43 "The tool to compute the score"};
44};
45
46#endif // DECORATEVERTEXSCOREALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode execute() override
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_vertexScoreDecor_key
virtual StatusCode initialize() override
ToolHandle< Trk::IVertexWeightCalculator > m_vertexWeightCalculator
DecorateVertexScoreAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
the (new) base class for EventLoop algorithms
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.