ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_AllTracksSelectionTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
3*/
4
6
8 const std::string& n,
9 const IInterface* p)
10 : base_class(t, n, p) {}
11
13 return StatusCode::SUCCESS;
14}
15
17 const xAOD::TrackParticle* track_particle) const {
18 bool passes_cuts = track_particle->pt() / 1.e3 > 1.;
19 passes_cuts &= std::abs(track_particle->eta()) > 2.4;
20 return passes_cuts;
21}
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
virtual StatusCode initialize() override final
virtual bool trackPassesSelection(const xAOD::TrackParticle *track_particle) const override final
HGTD_AllTracksSelectionTool(const std::string &, const std::string &, const IInterface *)
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
TrackParticle_v1 TrackParticle
Reference the current persistent version: