|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #ifndef TrkJetVxFitter_InDetJetFitterUtils_H
23 #define TrkJetVxFitter_InDetJetFitterUtils_H
26 #include "GaudiKernel/ToolHandle.h"
27 #include "CLHEP/Matrix/SymMatrix.h"
28 #include "CLHEP/Matrix/Matrix.h"
29 #include "CLHEP/Vector/LorentzVector.h"
42 class LinearizedTrack;
45 class LinkToTrackParticleBase;
47 class TrackParticleBase;
48 class VxVertexOnJetAxis;
53 static const InterfaceID IID_InDetJetFitterUtils(
"InDetJetFitterUtils", 1, 0);
61 return IID_InDetJetFitterUtils;
89 double highestMomMass,
90 double lowestMomMass)
const;
93 double highestMomMass,
94 double lowestMomMass)
const;
113 const std::vector<const Trk::ITrackLink*> & vectorOfTracks) ;
116 const std::vector<const Trk::LinkToTrackParticleBase*> & vectorOfTracks) ;
119 const std::vector<const Trk::LinkToTrackParticleBase*> & vectorOfNeutrals) ;
122 const std::vector<const xAOD::Vertex*> & vectorOfVxCandidates) ;
125 const std::vector<const xAOD::Vertex*> & vectorOfCandidates) ;
139 ToolHandle<Trk::IVertexLinearizedTrackFactory>
m_LinearizedTrackFactory {
this,
"LinearizedTrackFactory",
"Trk::FullLinearizedTrackFactory/FullLinearizedTrackFactory",
""};
140 ToolHandle<Trk::IExtrapolator>
m_extrapolator {
this,
"Extrapolator",
"Trk::Extrapolator/InDetExtrapolator",
""};
Vertex_v1 Vertex
Define the latest version of the vertex class.
virtual StatusCode initialize() override
std::pair< double, double > compatibility(const Trk::TrackParameters &measPerigee, const Trk::RecVertex &vertex) const
static bool checkIfTrackIsInVector(const Trk::ITrackLink *trackToCheck, const std::vector< const Trk::ITrackLink * > &vectorOfTracks)
VxVertexOnJetAxis inherits from Vertex.
ToolHandle< Trk::IExtrapolator > m_extrapolator
static bool checkIfTrackIsInNeutralTrackVector(const Trk::ITrackLink *trackToCheck, const std::vector< const Trk::LinkToTrackParticleBase * > &vectorOfNeutrals)
static bool checkIfVxCandidateIsInVector(const xAOD::Vertex *vertexToCheck, const std::vector< const xAOD::Vertex * > &vectorOfCandidates)
#define AmgSymMatrix(dim)
#define AmgMatrix(rows, cols)
Trk::RecVertex inherits from Trk::Vertex.
ToolHandle< Trk::IVertexLinearizedTrackFactory > m_LinearizedTrackFactory
::StatusCode StatusCode
StatusCode definition for legacy code.
std::pair< double, double > getDistanceAndErrorBetweenTwoVertices(const xAOD::Vertex &, const Trk::RecVertex &) const
std::pair< double, double > getD0andZ0IP(const Trk::TrackParameters &trackPerigee, const Trk::Vertex &vertexToExtrapolateTo) const
int getTwoTrackVtxCharge(const Trk::VxCandidate &myVxCandidate) const
static const InterfaceID & interfaceID()
bool m_linearizedTrackFactoryIsAvailable
InDetJetFitterUtils(const std::string &t, const std::string &n, const IInterface *p)
Ensure that the ATLAS eigen extensions are properly loaded.
static CLHEP::HepLorentzVector fourMomentumAtVertex(const Trk::VxVertexOnJetAxis &)
static double get3DLifetimeSignOfTrack(const Trk::TrackParameters &track, const Amg::Vector3D &jetMomentum, const Trk::RecVertex &primaryVertex)
Eigen::Matrix< double, 3, 1 > Vector3D
double getTwoTrackVtxMass(const Trk::VxCandidate &myVxCandidate, double highestMomMass, double lowestMomMass) const
Class describing a Vertex.
std::pair< double, double > getD0andZ0IPSig(const Trk::TrackParameters &trackPerigee, const Trk::RecVertex &vertex) const
std::pair< AmgMatrix(3, 3), AmgSymMatrix(3)> getPosMomentumAndMomentumCovMatrix(const Trk::LinearizedTrack *linTrack, const AmgSymMatrix(3) &vrt_cov, const AmgSymMatrix(3) &vrt_weight) const
static bool checkIfTrackIsInV0CandidatesVector(const Trk::ITrackLink *trackToCheck, const std::vector< const xAOD::Vertex * > &vectorOfVxCandidates)
const Trk::LinkToTrackParticleBase * findNeutralTrackParticleBase(const std::vector< const Trk::LinkToTrackParticleBase * > &, const Trk::VxCandidate &) const