20 CHECK( Base::initialize() );
27 REPORT_MESSAGE (MSG::ERROR) <<
"Could not retrieve TrackToVertexTool";
28 return StatusCode::FAILURE;
31 return StatusCode::SUCCESS;
47 beamSpot = beamSpotHandle->beamVtx().position();
49 return m_trackToVertexTool->perigeeAtVertex(Gaudi::Hive::currentContext(), track, beamSpot).release();
#define ATH_CHECK
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.
#define CHECK(...)
Evaluate an expression and check for errors.
Associate from a TrackParticle to its perigee at the beam spot.
ToolHandle< Reco::ITrackToVertex > m_trackToVertexTool
virtual StatusCode initialize() override
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
virtual const Trk::TrackParameters * get(const xAOD::TrackParticle &p) override
Return the target object.
virtual void releaseObject(const Trk::TrackParameters *p) override
Release an object retrieved from the association.
Eigen::Matrix< double, 3, 1 > Vector3D
Block filler tool for noisy FEB information.
ParametersBase< TrackParametersDim, Charged > TrackParameters
TrackParticle_v1 TrackParticle
Reference the current persistent version: