ATLAS Offline Software
InDetTrackSelectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef InDetTrackSelectorTool_InDetTrackSelectorTool_H
6 #define InDetTrackSelectorTool_InDetTrackSelectorTool_H
7 
9 #include "GaudiKernel/ToolHandle.h"
11 #include "TrkEventPrimitives/ParticleHypothesis.h"//enum, do not fwd declare
12 #include "TrkParameters/TrackParameters.h" //typedef
13 
31 namespace Trk
32 {
33  class ITrackSummaryTool;
34  class Vertex;
35  class IExtrapolator;
36  class Track;
37  class TrackParticleBase;
38 }
39 
40 namespace InDet
41 {
43  {
44 
45  public:
46 
47  virtual StatusCode initialize() override;
48 
49  InDetTrackSelectorTool(const std::string& t, const std::string& n, const IInterface* p);
50 
52 
53  virtual bool decision(const Trk::Track& track,const Trk::Vertex* vertex) const override;
54 
55  virtual bool decision(const Trk::TrackParticleBase& track,const Trk::Vertex* vertex) const override;
56 
57  virtual bool decision(const xAOD::TrackParticle&,const xAOD::Vertex*) const override {
58  ATH_MSG_WARNING("xAOD::TrackParticle selection not implemented yet");
59  return false;
60  }
61 
62  private:
63 
65 
66  double m_minPt;
67  double m_IPz0Max;
68  double m_maxZ0;
69  double m_maxD0;
73  ToolHandle<Trk::ITrackSummaryTool> m_trackSumTool; //<! Track summary tool
75 
76  ToolHandle<Trk::IExtrapolator> m_extrapolator; //<! Extrapolator tool
77 
78  }; //end of class definitions
79 } //end of namespace definitions
80 
81 #endif //TrkMultipleVertexSeedFinders_PVFindingTrackSelectoTool_H
Trk::ITrackSelectorTool
The abstract interface base class for track selector tools.
Definition: ITrackSelectorTool.h:35
Trk::Vertex
Definition: Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h:26
InDet::InDetTrackSelectorTool::m_minPt
double m_minPt
Minimum Pt of tracks.
Definition: InDetTrackSelectorTool.h:66
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
TrackParameters.h
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition: Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::InDetTrackSelectorTool::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
Definition: InDetTrackSelectorTool.h:76
InDet::InDetTrackSelectorTool::m_numberOfPixelHits
int m_numberOfPixelHits
Check for silicon hits ?
Definition: InDetTrackSelectorTool.h:71
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::InDetTrackSelectorTool::~InDetTrackSelectorTool
~InDetTrackSelectorTool()
InDet::InDetTrackSelectorTool::m_maxD0overSigmaD0
double m_maxD0overSigmaD0
Maximum d0/sigmad0 of tracks.
Definition: InDetTrackSelectorTool.h:70
InDet::InDetTrackSelectorTool::m_numberOfBLayerHits
int m_numberOfBLayerHits
Definition: InDetTrackSelectorTool.h:72
InDet::InDetTrackSelectorTool::m_IPz0Max
double m_IPz0Max
max.
Definition: InDetTrackSelectorTool.h:67
Trk::TrackParticleBase
Definition: TrackParticleBase.h:41
Trk::ParticleHypothesis
ParticleHypothesis
Definition: ParticleHypothesis.h:25
InDet::InDetTrackSelectorTool
Definition: InDetTrackSelectorTool.h:43
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::InDetTrackSelectorTool::m_trackSumToolAvailable
bool m_trackSumToolAvailable
Definition: InDetTrackSelectorTool.h:74
AthAlgTool.h
InDet::InDetTrackSelectorTool::InDetTrackSelectorTool
InDetTrackSelectorTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: InDetTrackSelectorTool.cxx:23
InDet::InDetTrackSelectorTool::initialize
virtual StatusCode initialize() override
Definition: InDetTrackSelectorTool.cxx:52
Trk::ParametersBase
Definition: ParametersBase.h:55
ParticleHypothesis.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
InDet::InDetTrackSelectorTool::m_maxZ0
double m_maxZ0
Maximum z0 of tracks.
Definition: InDetTrackSelectorTool.h:68
InDet::InDetTrackSelectorTool::decision
virtual bool decision(const xAOD::TrackParticle &, const xAOD::Vertex *) const override
Definition: InDetTrackSelectorTool.h:57
InDet::InDetTrackSelectorTool::m_maxD0
double m_maxD0
Maximum d0 of tracks.
Definition: InDetTrackSelectorTool.h:69
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
InDet::InDetTrackSelectorTool::decision
virtual bool decision(const Trk::Track &track, const Trk::Vertex *vertex) const override
Definition: InDetTrackSelectorTool.cxx:76
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
InDet::InDetTrackSelectorTool::m_trackSumTool
ToolHandle< Trk::ITrackSummaryTool > m_trackSumTool
Definition: InDetTrackSelectorTool.h:73
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
AthAlgTool
Definition: AthAlgTool.h:26
ITrackSelectorTool.h