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 using CLHEP::mm;
16 
28 namespace Trk {
29  class IExtrapolator;
30  class ITrackSelectorTool;
31  class Track;
32  class TrackParticleBase;
33 }
34 
35 namespace InDet
36 {
38  {
39 
40  public:
42  virtual StatusCode initialize() override;
43 
45  InDetIsoTrackSelectorTool(const std::string& t, const std::string& n, const IInterface* p);
47 
49  virtual bool decision(const Trk::AtaStraightLine&, const Trk::Track& track) const override;
50 
52  virtual bool decision(const Trk::AtaStraightLine&, const Trk::TrackParticleBase& trackParticle) const override;
53 
55  virtual bool decision(const Trk::AtaStraightLine&, const Trk::TrackParameters& trackPars) const override;
56 
57  private:
59  BooleanProperty m_robustCuts{this, "RobustCuts", true};
60  BooleanProperty m_applySinThetaCorrection{this, "SinThetaCorrection", true};
61  DoubleProperty m_d0max{this, "maxD0", 1.5*mm};
62  DoubleProperty m_z0stMax{this, "maxZ0", 1.5*mm};
64  DoubleProperty m_d0Significance{this, "maxD0overSigmaD0", 3.};
65  DoubleProperty m_z0Significance{this, "maxZ0overSigmaZ0", 3.};
66  double m_d0Significance2 = 0.0;
67  double m_z0Significance2 = 0.0;
68 
69  ToolHandle<Trk::IExtrapolator> m_extrapolator
70  {this, "Extrapolator", "Trk::Extrapolator/InDetExtrapolator"};
72  ToolHandle<Trk::ITrackSelectorTool> m_trackSelector{this, "TrackSelector", ""};
73 
74  }; //end of class definitions
75 } //end of namespace definitions
76 
77 #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:64
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:59
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:70
InDet::InDetIsoTrackSelectorTool::m_z0Significance
DoubleProperty m_z0Significance
Definition: InDetIsoTrackSelectorTool.h:65
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:61
Trk::TrackParticleBase
Definition: TrackParticleBase.h:41
InDet::InDetIsoTrackSelectorTool::m_z0stMax
DoubleProperty m_z0stMax
Definition: InDetIsoTrackSelectorTool.h:62
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:60
Trk::ParametersBase
Definition: ParametersBase.h:55
InDet::InDetIsoTrackSelectorTool::m_d0Significance2
double m_d0Significance2
Definition: InDetIsoTrackSelectorTool.h:66
InDet::InDetIsoTrackSelectorTool::m_trackSelector
ToolHandle< Trk::ITrackSelectorTool > m_trackSelector
Extra checks on hits & holes.
Definition: InDetIsoTrackSelectorTool.h:72
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:38
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
InDet::InDetIsoTrackSelectorTool::m_z0Significance2
double m_z0Significance2
Definition: InDetIsoTrackSelectorTool.h:67
InDet::InDetIsoTrackSelectorTool::~InDetIsoTrackSelectorTool
~InDetIsoTrackSelectorTool()
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
AthAlgTool
Definition: AthAlgTool.h:26