20 ATH_MSG_ERROR(
"No selection variables for the TrackParametersAtPV tool!");
21 return StatusCode::FAILURE;
28 return StatusCode::SUCCESS;
40 return StatusCode::FAILURE;
55 return StatusCode::FAILURE;
59 for (
const auto *trackIt : *tracks) {
60 track_z0_PV(*trackIt) = pv ? trackIt->z0() + trackIt->vz() - pv->z() : 999.;
63 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
Handle class for reading from StoreGate.
Handle class for adding a decoration to an object.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackZ0PVDecoKey
SG::ReadHandleKey< xAOD::VertexContainer > m_collVertexKey
virtual StatusCode initialize() override final
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_collTrackKey
virtual StatusCode addBranches(const EventContext &ctx) const override final
Check that the current event passes this filter.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
Handle class for adding a decoration to an object.
Vertex_v1 Vertex
Define the latest version of the vertex class.