ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexWeightCalculators
TrkVertexWeightCalculators
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
8
#include <
AnaAlgorithm/AnaAlgorithm.h
>
9
#include <
AsgDataHandles/ReadHandleKey.h
>
10
#include <
AsgDataHandles/WriteDecorHandleKey.h
>
11
#include <
AsgTools/ToolHandle.h
>
12
#include <
TrkVertexFitterInterfaces/IVertexWeightCalculator.h
>
13
#include <
xAODTracking/VertexContainerFwd.h
>
14
15
#include <string>
16
25
class
DecorateVertexScoreAlg
:
public
EL::AnaAlgorithm
{
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
:
34
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexContainer_key
{
35
this
,
"VertexContainer"
,
"PrimaryVertices"
,
"The input Vertex container"
};
36
37
SG::WriteDecorHandleKey<xAOD::VertexContainer>
m_vertexScoreDecor_key
{
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
AnaAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
IVertexWeightCalculator.h
ToolHandle.h
VertexContainerFwd.h
DecorateVertexScoreAlg::execute
StatusCode execute() override
Definition
DecorateVertexScoreAlg.cxx:22
DecorateVertexScoreAlg::m_vertexContainer_key
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
Definition
DecorateVertexScoreAlg.h:34
DecorateVertexScoreAlg::m_vertexScoreDecor_key
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_vertexScoreDecor_key
Definition
DecorateVertexScoreAlg.h:37
DecorateVertexScoreAlg::initialize
virtual StatusCode initialize() override
Definition
DecorateVertexScoreAlg.cxx:15
DecorateVertexScoreAlg::m_vertexWeightCalculator
ToolHandle< Trk::IVertexWeightCalculator > m_vertexWeightCalculator
Definition
DecorateVertexScoreAlg.h:41
DecorateVertexScoreAlg::DecorateVertexScoreAlg
DecorateVertexScoreAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Definition
DecorateVertexScoreAlg.cxx:11
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
Generated on
for ATLAS Offline Software by
1.17.0