ATLAS Offline Software
InnerDetector
InDetRecTools
InDetSecVxFinderTool
InDetSecVxFinderTool
JetFitterTrackSelectorTool.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
/*
6
* This tooltakes the input track collection of a jet candidate
7
* It runs a filter on track quality
8
* And separates tracks into primary vertex and secondary vertex tracks
9
* By computing their compatibility with the primary vertex
10
*/
11
12
#ifndef JETFITTER_TRACKSELECTOR_TOOL_H
13
#define JETFITTER_TRACKSELECTOR_TOOL_H 1
14
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "GaudiKernel/ToolHandle.h"
17
18
#include "
VxJetVertex/SelectedTracksInJet.h
"
19
#include "
xAODTracking/Vertex.h
"
20
21
#include "
TrkExInterfaces/IExtrapolator.h
"
22
#include "
InDetSecVxFinderTool/InDetJetFitterUtils.h
"
23
#include "
TrkToolInterfaces/ITrackSelectorTool.h
"
24
#include "
xAODTracking/TrackParticleContainer.h
"
25
26
#include "
TrkLinks/LinkToXAODTrackParticle.h
"
27
#include "
TrkTrackLink/ITrackLink.h
"
28
29
#include "
VxVertex/RecVertex.h
"
30
31
namespace
InDet
{
32
33
static
const
InterfaceID IID_JetFitterTrackSelectorTool(
"JetFitterTrackSelectorTool"
, 1, 0);
34
35
class
JetFitterTrackSelectorTool
:
public
AthAlgTool
{
36
public
:
37
38
static
const
InterfaceID&
interfaceID
() {
39
return
IID_JetFitterTrackSelectorTool;
40
}
41
42
virtual
StatusCode
initialize
()
override
;
43
44
JetFitterTrackSelectorTool
(
const
std::string &
t
,
const
std::string &
n
,
const
IInterface *
p
);
45
~JetFitterTrackSelectorTool
();
46
47
/*
48
* method for performing track selection
49
*/
50
const
Trk::SelectedTracksInJet
*
doTrackSelection
(
const
xAOD::Vertex
&primaryVertex,
51
const
TLorentzVector &jetMomentum,
52
const
std::vector<const xAOD::IParticle *> &
inputTracks
)
const
;
53
57
std::vector<std::string>
trackDecorationNames
()
const
;
58
59
60
private
:
62
std::string
decorationName
()
const
;
63
64
int
computeTrackCompatibility
(
const
xAOD::Vertex
&primaryVertex,
65
const
TLorentzVector &jetMomentum,
66
const
xAOD::TrackParticle
&trk_iter )
const
;
67
68
private
:
69
ToolHandle< Trk::IExtrapolator >
m_extrapolator
{
this
,
"Extrapolator"
,
"Trk::Extrapolator/InDetExtrapolator"
,
""
};
70
ToolHandle< InDet::InDetJetFitterUtils >
m_jetFitterUtils
{
this
,
"InDetJetFitterUtils"
,
"InDet::InDetJetFitterUtils/InDetJetFitterUtils"
,
""
};
71
ToolHandle< Trk::ITrackSelectorTool >
m_trkFilter
{
this
,
"TrackSelector"
,
"InDet::InDetDetailedTrackSelectorTool"
,
""
};
72
73
private
:
74
Gaudi::Property< bool >
m_revertFromPositiveToNegativeTags
{
this
,
"revertFromPositiveToNegativeTags"
,
false
,
""
};
75
Gaudi::Property< double >
m_cutCompatibilityPrimaryVertexForPositiveLifetimeTracks
{
this
,
"cutCompPrimaryVertexForPosLifetimeTracks"
,1
e
-1,
""
};
76
Gaudi::Property< double >
m_cutCompatibilityPrimaryVertexForNegativeLifetimeTracks
{
this
,
"cutCompPrimaryVertexForNegLifetimeTracks"
,5
e
-2,
""
};
77
};
78
79
}
80
81
#endif
RecVertex.h
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
Trk::SelectedTracksInJet
Definition:
SelectedTracksInJet.h:62
InDet::JetFitterTrackSelectorTool::computeTrackCompatibility
int computeTrackCompatibility(const xAOD::Vertex &primaryVertex, const TLorentzVector &jetMomentum, const xAOD::TrackParticle &trk_iter) const
Definition:
JetFitterTrackSelectorTool.cxx:122
InDet::JetFitterTrackSelectorTool::m_trkFilter
ToolHandle< Trk::ITrackSelectorTool > m_trkFilter
Definition:
JetFitterTrackSelectorTool.h:71
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
InDetJetFitterUtils.h
InDet::JetFitterTrackSelectorTool
Definition:
JetFitterTrackSelectorTool.h:35
ITrackLink.h
IExtrapolator.h
SelectedTracksInJet.h
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
InDet::JetFitterTrackSelectorTool::m_cutCompatibilityPrimaryVertexForPositiveLifetimeTracks
Gaudi::Property< double > m_cutCompatibilityPrimaryVertexForPositiveLifetimeTracks
Definition:
JetFitterTrackSelectorTool.h:75
InDet::JetFitterTrackSelectorTool::m_cutCompatibilityPrimaryVertexForNegativeLifetimeTracks
Gaudi::Property< double > m_cutCompatibilityPrimaryVertexForNegativeLifetimeTracks
Definition:
JetFitterTrackSelectorTool.h:76
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
LinkToXAODTrackParticle.h
python.TrigInDetConfig.inputTracks
inputTracks
Definition:
TrigInDetConfig.py:183
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
InDet::JetFitterTrackSelectorTool::trackDecorationNames
std::vector< std::string > trackDecorationNames() const
Return a list of the names of track decorations created by this tool, in order to allow them to be lo...
Definition:
JetFitterTrackSelectorTool.cxx:117
InDet::JetFitterTrackSelectorTool::m_jetFitterUtils
ToolHandle< InDet::InDetJetFitterUtils > m_jetFitterUtils
Definition:
JetFitterTrackSelectorTool.h:70
InDet::JetFitterTrackSelectorTool::decorationName
std::string decorationName() const
Return the name of the decoration we produce.
Definition:
JetFitterTrackSelectorTool.cxx:100
InDet::JetFitterTrackSelectorTool::~JetFitterTrackSelectorTool
~JetFitterTrackSelectorTool()
Vertex.h
InDet::JetFitterTrackSelectorTool::initialize
virtual StatusCode initialize() override
Definition:
JetFitterTrackSelectorTool.cxx:17
InDet::JetFitterTrackSelectorTool::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
Definition:
JetFitterTrackSelectorTool.h:69
InDet::JetFitterTrackSelectorTool::doTrackSelection
const Trk::SelectedTracksInJet * doTrackSelection(const xAOD::Vertex &primaryVertex, const TLorentzVector &jetMomentum, const std::vector< const xAOD::IParticle * > &inputTracks) const
Definition:
JetFitterTrackSelectorTool.cxx:38
xAOD::Vertex_v1
Class describing a Vertex.
Definition:
Vertex_v1.h:42
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
AthAlgTool
Definition:
AthAlgTool.h:26
InDet::JetFitterTrackSelectorTool::JetFitterTrackSelectorTool
JetFitterTrackSelectorTool(const std::string &t, const std::string &n, const IInterface *p)
Definition:
JetFitterTrackSelectorTool.cxx:9
ITrackSelectorTool.h
InDet::JetFitterTrackSelectorTool::interfaceID
static const InterfaceID & interfaceID()
Definition:
JetFitterTrackSelectorTool.h:38
TrackParticleContainer.h
InDet::JetFitterTrackSelectorTool::m_revertFromPositiveToNegativeTags
Gaudi::Property< bool > m_revertFromPositiveToNegativeTags
Definition:
JetFitterTrackSelectorTool.h:74
Generated on Sun Dec 22 2024 21:12:30 for ATLAS Offline Software by
1.8.18