17 return StatusCode::SUCCESS;
24 if (!trackContainerHandle.isValid())
27 return StatusCode::FAILURE;
32 ATH_MSG_INFO(
"I found the track collection, with "<<trackContainerHandle->size()<<
" entries");
36 if (!xAODTrackHandle.isValid())
39 return StatusCode::FAILURE;
41 ATH_MSG_INFO(
"I found the xAOD track collection, with "<<xAODTrackHandle->size()<<
" entries");
44 auto param = t->perigeeParameters();
45 ATH_MSG_INFO(
"xAOD Track param: d0 "<<t->d0()<<
" z0 "<<t->z0()<<
" pt "<<t->pt()<<
" eta "<<t->eta()<<
" phi "<<t->phi());
50 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_xAODTracks
SG::ReadHandleKey< TrackCollection > m_EFTracks
virtual StatusCode initialize() override final
uncomment and implement methods as required
ProtoTrackReportingAlg(const std::string &name, ISvcLocator *pSvcLocator)
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
TrackParticle_v1 TrackParticle
Reference the current persistent version: