22 return StatusCode::SUCCESS;
32 return StatusCode::FAILURE;
38 float pT = track->pt();
44 return StatusCode::SUCCESS;
56 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
An algorithm that can be simultaneously executed in multiple threads.
std::atomic< unsigned int > m_nTracksBelow
Counter for tracks that have pT below the cut.
std::atomic< unsigned int > m_nTracksAbove
Counter for tracks that have pT above the cut.
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectionTool
Tool handle for the track selection tool.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackKey
Read handle for the offline object container - set to ID tracks by default.
virtual StatusCode initialize() override
ReadxAOD(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode finalize() override
Gaudi::Property< float > m_cut
pT cut in MeV
virtual bool isValid() override final
Can the handle be successfully dereferenced?
TrackParticle_v1 TrackParticle
Reference the current persistent version: