Skip to content
Snippets Groups Projects
Commit 107f8e8c authored by Christos Anastopoulos's avatar Christos Anastopoulos Committed by Julien Maurer
Browse files

InDetConversionFinderTools: rm un-needed TrackParticleBase dependency

InDetConversionFinderTools: rm un-needed TrackParticleBase dependency
parent b78f5e2b
No related branches found
No related tags found
2 merge requests!641212023-07-04: Daily sweep of 23.0 into master,!64070InDetConversionFinderTools: rm un-needed TrackParticleBase dependency
......@@ -12,8 +12,9 @@ atlas_add_library( InDetConversionFinderToolsLib
PUBLIC_HEADERS InDetConversionFinderTools
PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES AthenaBaseComps GaudiKernel GeoPrimitives InDetRecToolInterfaces Particle TrkEventPrimitives TrkParameters TrkParticleBase TrkToolInterfaces TrkTrack TrkVertexFitterInterfaces TrkVertexSeedFinderUtilsLib xAODTracking
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AthLinks InDetPrepRawData TrkMeasurementBase TrkRIO_OnTrack TrkSurfaces VxVertex )
LINK_LIBRARIES AthenaBaseComps GaudiKernel GeoPrimitives InDetRecToolInterfaces Particle TrkEventPrimitives
TrkParameters TrkToolInterfaces TrkTrack TrkVertexFitterInterfaces TrkVertexSeedFinderUtilsLib xAODTracking
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AthLinks InDetPrepRawData TrkMeasurementBase TrkRIO_OnTrack TrkSurfaces VxVertex )
atlas_add_component( InDetConversionFinderTools
src/components/*.cxx
......
/*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef INDETCONVERSIONFINDERTOOLS_CONVERSIONFINDERUTILS_H
......@@ -57,9 +57,6 @@ namespace InDet {
const Trk::Perigee* mp) ;
/** Correct VxCandidate with respect to a user defined vertex. */
static xAOD::Vertex* correctVxCandidate(xAOD::Vertex*, Amg::Vector3D) ;
/** Get measured track parameters at first hit. Trk::TrackParticleBase interface. */
static const Trk::TrackParameters* getTrkParticleParameters(
const Trk::TrackParticleBase*) ;
};
......
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef INDETCONVERSIONFINDERTOOLS_SINGLETRACKCONVERSION_H
......@@ -13,7 +13,6 @@
namespace Trk {
class Track;
class TrackParticleBase;
class ITrackSummaryTool;
class IExtrapolator;
}
......
/*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
/***************************************************************************
......@@ -215,20 +215,6 @@ namespace InDet {
return nullptr;
}
/**
* return first track particle parameters
*/
const Trk::TrackParameters*
ConversionFinderUtils::getTrkParticleParameters(
const Trk::TrackParticleBase* track)
{
std::vector<const Trk::TrackParameters*>::const_iterator vpb = track->trackParameters().begin();
std::vector<const Trk::TrackParameters*>::const_iterator vpe = track->trackParameters().end();
for(;vpb != vpe; ++vpb) if((*vpb)->position().perp()>=10.) return (*vpb);
return nullptr;
}
/* add recalculated perigees to the track*/
const Trk::Track*
ConversionFinderUtils::addNewPerigeeToTrack(const Trk::Track* track,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment