ATLAS Offline Software
PhysicsAnalysis
D3PDMaker
TrackD3PDMaker
src
TrackParticlePerigeeAtPVAssociationTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4
*/
11
#ifndef TRACKD3PDMAKER_TRACKPARTICLEPERIGEEATPVASSOCIATIONTOOL_H
12
#define TRACKD3PDMAKER_TRACKPARTICLEPERIGEEATPVASSOCIATIONTOOL_H
13
14
#include "
D3PDMakerUtils/SingleAssociationTool.h
"
15
#include "
D3PDMakerUtils/SGKeyResolver.h
"
16
#include "
ITrackToVertex/ITrackToVertex.h
"
17
#include "
xAODTracking/TrackParticle.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
TrkParameters/TrackParameters.h
"
20
21
22
namespace
Rec
{
23
class
TrackParticle
;
24
}
25
26
namespace
D3PD
{
27
31
class
TrackParticlePerigeeAtPVAssociationTool
32
:
public
SingleAssociationTool
<Types<Rec::TrackParticle, xAOD::TrackParticle>, Trk::TrackParameters>
33
{
34
public
:
35
typedef
SingleAssociationTool<Types<Rec::TrackParticle, xAOD::TrackParticle>
,
Trk::TrackParameters
>
Base
;
36
43
TrackParticlePerigeeAtPVAssociationTool
(
const
std::string&
type
,
44
const
std::string&
name
,
45
const
IInterface*
parent
);
46
47
48
virtual
StatusCode
initialize
()
override
;
49
50
57
virtual
const
Trk::TrackParameters
*
get
(
const
Rec::TrackParticle
&
p
)
override
;
58
59
66
virtual
const
Trk::TrackParameters
*
get
(
const
xAOD::TrackParticle
&
p
)
override
;
67
68
69
virtual
void
releaseObject
(
const
Trk::TrackParameters
*
p
)
override
;
70
71
private
:
72
73
/* StoreGate keys **/
74
std::string
m_vxCandidate
;
75
76
/* Track to vertex extrapolator **/
77
ToolHandle<Reco::ITrackToVertex>
m_trackToVertexTool
78
{
this
,
"TrackToVertexTool"
,
"Reco::TrackToVertex"
,
""
};
79
80
/* Key resolver. */
81
SGKeyResolver
m_resolver
;
82
};
83
84
85
}
// namespace D3PD
86
87
88
89
#endif // not TRACKD3PDMAKER_TRACKPARTICLEPERIGEEATPVASSOCIATIONTOOL_H
TrackParameters.h
D3PD::TrackParticlePerigeeAtPVAssociationTool::get
virtual const Trk::TrackParameters * get(const Rec::TrackParticle &p) override
Return the target object.
Definition:
TrackParticlePerigeeAtPVAssociationTool.cxx:55
D3PD::TrackParticlePerigeeAtPVAssociationTool::TrackParticlePerigeeAtPVAssociationTool
TrackParticlePerigeeAtPVAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition:
TrackParticlePerigeeAtPVAssociationTool.cxx:28
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition:
SingleAssociationTool.h:133
D3PD::TrackParticlePerigeeAtPVAssociationTool::Base
SingleAssociationTool< Types< Rec::TrackParticle, xAOD::TrackParticle >, Trk::TrackParameters > Base
Definition:
TrackParticlePerigeeAtPVAssociationTool.h:35
D3PD::SGKeyResolver
Helper to resolve the SG key to use.
Definition:
SGKeyResolver.h:40
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition:
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
D3PD::TrackParticlePerigeeAtPVAssociationTool::initialize
virtual StatusCode initialize() override
Definition:
TrackParticlePerigeeAtPVAssociationTool.cxx:39
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
D3PD
Block filler tool for noisy FEB information.
Definition:
CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition:
FakeTrackBuilder.h:10
SGKeyResolver.h
Helper to resolve the SG key to use.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::TrackParticlePerigeeAtPVAssociationTool::m_resolver
SGKeyResolver m_resolver
Definition:
TrackParticlePerigeeAtPVAssociationTool.h:81
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
Trk::ParametersBase
Definition:
ParametersBase.h:55
ITrackToVertex.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
D3PD::TrackParticlePerigeeAtPVAssociationTool::m_trackToVertexTool
ToolHandle< Reco::ITrackToVertex > m_trackToVertexTool
Definition:
TrackParticlePerigeeAtPVAssociationTool.h:78
D3PD::TrackParticlePerigeeAtPVAssociationTool::m_vxCandidate
std::string m_vxCandidate
Definition:
TrackParticlePerigeeAtPVAssociationTool.h:74
D3PD::TrackParticlePerigeeAtPVAssociationTool::releaseObject
virtual void releaseObject(const Trk::TrackParameters *p) override
Release an object retrieved from the association.
Definition:
TrackParticlePerigeeAtPVAssociationTool.cxx:127
Rec::TrackParticle
Definition:
Reconstruction/Particle/Particle/TrackParticle.h:47
TrackParticle.h
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
D3PD::TrackParticlePerigeeAtPVAssociationTool
Associate from a VxCandidate to its perigee at primary vertex.
Definition:
TrackParticlePerigeeAtPVAssociationTool.h:33
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
Generated on Thu Nov 7 2024 21:29:06 for ATLAS Offline Software by
1.8.18