ATLAS Offline Software
InDetIsoTrackSelectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef InDetIsoTrackSelectorTool_InDetIsoTrackSelectorTool_H
6 #define InDetIsoTrackSelectorTool_InDetIsoTrackSelectorTool_H
7 
9 #include "GaudiKernel/ToolHandle.h"
12 
13 #include "CLHEP/Units/SystemOfUnits.h"
14 
15 
27 namespace Trk {
28  class IExtrapolator;
29  class ITrackSelectorTool;
30  class Track;
31  class TrackParticleBase;
32 }
33 
34 namespace InDet
35 {
37  {
38 
39  public:
41  virtual StatusCode initialize() override;
42 
44  InDetIsoTrackSelectorTool(const std::string& t, const std::string& n, const IInterface* p);
46 
48  virtual bool decision(const Trk::AtaStraightLine&, const Trk::Track& track) const override;
49 
51  virtual bool decision(const Trk::AtaStraightLine&, const Trk::TrackParticleBase& trackParticle) const override;
52 
54  virtual bool decision(const Trk::AtaStraightLine&, const Trk::TrackParameters& trackPars) const override;
55 
56  private:
58  BooleanProperty m_robustCuts{this, "RobustCuts", true};
59  BooleanProperty m_applySinThetaCorrection{this, "SinThetaCorrection", true};
60  DoubleProperty m_d0max{this, "maxD0", 1.5*CLHEP::mm};
61  DoubleProperty m_z0stMax{this, "maxZ0", 1.5*CLHEP::mm};
63  DoubleProperty m_d0Significance{this, "maxD0overSigmaD0", 3.};
64  DoubleProperty m_z0Significance{this, "maxZ0overSigmaZ0", 3.};
65  double m_d0Significance2 = 0.0;
66  double m_z0Significance2 = 0.0;
67 
68  ToolHandle<Trk::IExtrapolator> m_extrapolator
69  {this, "Extrapolator", "Trk::Extrapolator/InDetExtrapolator"};
71  ToolHandle<Trk::ITrackSelectorTool> m_trackSelector{this, "TrackSelector", ""};
72 
73  }; //end of class definitions
74 } //end of namespace definitions
75 
76 #endif //InDetIsoTrackSelectorTool_InDetIsoTrackSelectorTool_H
InDet::InDetIsoTrackSelectorTool::m_d0Significance
DoubleProperty m_d0Significance
Sophisticated cut window setting : d0/z0 significance - only when robustCuts off.
Definition: InDetIsoTrackSelectorTool.h:63
TrackParameters.h
InDet::InDetIsoTrackSelectorTool::InDetIsoTrackSelectorTool
InDetIsoTrackSelectorTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor / Destructor.
Definition: InDetIsoTrackSelectorTool.cxx:14
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::InDetIsoTrackSelectorTool::m_robustCuts
BooleanProperty m_robustCuts
Robust cut window setting.
Definition: InDetIsoTrackSelectorTool.h:58
IIsoTrackSelectorTool.h
Trk::IIsoTrackSelectorTool
The abstract interface base class for track selector tools targeted at isoloation.
Definition: IIsoTrackSelectorTool.h:29
InDet::InDetIsoTrackSelectorTool::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
Definition: InDetIsoTrackSelectorTool.h:69
InDet::InDetIsoTrackSelectorTool::m_z0Significance
DoubleProperty m_z0Significance
Definition: InDetIsoTrackSelectorTool.h:64
InDet::InDetIsoTrackSelectorTool::initialize
virtual StatusCode initialize() override
Athena AlgTool methods.
Definition: InDetIsoTrackSelectorTool.cxx:25
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::InDetIsoTrackSelectorTool::m_d0max
DoubleProperty m_d0max
Definition: InDetIsoTrackSelectorTool.h:60
Trk::TrackParticleBase
Definition: TrackParticleBase.h:41
InDet::InDetIsoTrackSelectorTool::m_z0stMax
DoubleProperty m_z0stMax
Definition: InDetIsoTrackSelectorTool.h:61
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
InDet::InDetIsoTrackSelectorTool::m_applySinThetaCorrection
BooleanProperty m_applySinThetaCorrection
Definition: InDetIsoTrackSelectorTool.h:59
Trk::ParametersBase
Definition: ParametersBase.h:55
InDet::InDetIsoTrackSelectorTool::m_d0Significance2
double m_d0Significance2
Definition: InDetIsoTrackSelectorTool.h:65
InDet::InDetIsoTrackSelectorTool::m_trackSelector
ToolHandle< Trk::ITrackSelectorTool > m_trackSelector
Extra checks on hits & holes.
Definition: InDetIsoTrackSelectorTool.h:71
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
InDet::InDetIsoTrackSelectorTool::decision
virtual bool decision(const Trk::AtaStraightLine &, const Trk::Track &track) const override
ESD type interface.
Definition: InDetIsoTrackSelectorTool.cxx:49
InDet::InDetIsoTrackSelectorTool
Definition: InDetIsoTrackSelectorTool.h:37
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
InDet::InDetIsoTrackSelectorTool::m_z0Significance2
double m_z0Significance2
Definition: InDetIsoTrackSelectorTool.h:66
InDet::InDetIsoTrackSelectorTool::~InDetIsoTrackSelectorTool
~InDetIsoTrackSelectorTool()
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
AthAlgTool
Definition: AthAlgTool.h:26