ATLAS Offline Software
InDetUsedInFitTrackDecoratorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETUSEDINFITTRACKDECORATORTOOL_INDETUSEDINFITTRACKDECORATORTOOL_H
6 #define INDETUSEDINFITTRACKDECORATORTOOL_INDETUSEDINFITTRACKDECORATORTOOL_H
7 
8 // Framework include(s):
9 #include "AsgTools/AsgTool.h"
12 
13 // EDM include(s):
16 
17 // Tool include(s)
19 
20 // STL includes:
21 #include <string>
22 
28 namespace InDet {
29 
32  : public asg::AsgTool,
34  {
35 
37 
38 
39  // Public methods:
41  public:
42 
45 
47  InDetUsedInFitTrackDecoratorTool(const std::string& name);
48 
51 
53 
56 
58  virtual StatusCode initialize() override;
59 
61  virtual StatusCode finalize() override;
62 
64 
67 
69  virtual void decorate(const xAOD::TrackParticleContainer* trkCont, const xAOD::VertexContainer* vtxCont) const override;
70  virtual void decorate() const override;
71 
73 
75  // Private data:
77  private:
78 
81 
83  std::string m_vtxDecoName;
84 
86  std::string m_wgtDecoName;
87 
90 
93 
95 
96  private:
97 
100 
103 
106 
108 
109  }; // class: InDetUsedInFitTrackDecoratorTool
110 } // namespace: InDet
111 
112 #endif // end: INDETUSEDINFITTRACKDECORATORTOOL_INDETUSEDINFITTRACKDECORATORTOOL_H
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
InDet::InDetUsedInFitTrackDecoratorTool::decorate
virtual void decorate() const override
Definition: InDetUsedInFitTrackDecoratorTool.cxx:142
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
VertexContainerFwd.h
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::InDetUsedInFitTrackDecoratorTool::m_vtxDecoName
std::string m_vtxDecoName
Name of the per-track decoration for the AMVF fit vertices.
Definition: InDetUsedInFitTrackDecoratorTool.h:83
InDet::InDetUsedInFitTrackDecoratorTool::m_vtxContKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vtxContKey
Name of the primary vertex container (needed for container-less function calls)
Definition: InDetUsedInFitTrackDecoratorTool.h:92
InDet::InDetUsedInFitTrackDecoratorTool::InDetUsedInFitTrackDecoratorTool
InDetUsedInFitTrackDecoratorTool(const std::string &name)
Constructor.
Definition: InDetUsedInFitTrackDecoratorTool.cxx:25
InDet::InDetUsedInFitTrackDecoratorTool::m_wgtDecoKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_wgtDecoKey
Per-track decorator for the AMVF fit weights.
Definition: InDetUsedInFitTrackDecoratorTool.h:105
InDet::InDetUsedInFitTrackDecoratorTool::m_wgtDecoName
std::string m_wgtDecoName
Name of the per-track decoration for the AMVF fit weights.
Definition: InDetUsedInFitTrackDecoratorTool.h:86
SG::ReadHandleKey< xAOD::TrackParticleContainer >
IInDetUsedInFitTrackDecoratorTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::InDetUsedInFitTrackDecoratorTool::finalize
virtual StatusCode finalize() override
Function finalizing the tool.
Definition: InDetUsedInFitTrackDecoratorTool.cxx:75
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
InDet::InDetUsedInFitTrackDecoratorTool::m_trkContKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkContKey
Name of the track particle container (needed for container-less function calls)
Definition: InDetUsedInFitTrackDecoratorTool.h:89
DataVector< xAOD::TrackParticle_v1 >
InDet::InDetUsedInFitTrackDecoratorTool::~InDetUsedInFitTrackDecoratorTool
~InDetUsedInFitTrackDecoratorTool()
Destructor.
InDet::IInDetUsedInFitTrackDecoratorTool
Definition: IInDetUsedInFitTrackDecoratorTool.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
InDet::InDetUsedInFitTrackDecoratorTool::m_vtxDecoKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_vtxDecoKey
Per-track decorator for the AMVF fit vertices.
Definition: InDetUsedInFitTrackDecoratorTool.h:102
WriteDecorHandleKey.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
InDet::InDetUsedInFitTrackDecoratorTool
Implementation of the hardscatter selection tool.
Definition: InDetUsedInFitTrackDecoratorTool.h:34
AsgTool.h
TrackParticleContainerFwd.h
InDet::InDetUsedInFitTrackDecoratorTool::initialize
virtual StatusCode initialize() override
Function initialising the tool.
Definition: InDetUsedInFitTrackDecoratorTool.cxx:44