ATLAS Offline Software
SingleTrackConversionTool.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 INDETCONVERSIONFINDERTOOLS_SINGLETRACKCONVERSION_H
6 #define INDETCONVERSIONFINDERTOOLS_SINGLETRACKCONVERSION_H
7 
9 #include "GaudiKernel/ToolHandle.h"
10 
13 
14 namespace Trk {
15 class Track;
16 class ITrackSummaryTool;
17 class IExtrapolator;
18 }
19 
20 namespace InDet {
21 class ConversionFinderUtils;
22 
30 {
31 
32 public:
33  SingleTrackConversionTool(const std::string& type,
34  const std::string& name,
35  const IInterface* parent);
36  virtual ~SingleTrackConversionTool() = default;
37 
38  static const InterfaceID& interfaceID();
39  virtual StatusCode initialize() override;
40  virtual StatusCode finalize() override;
41 
44  const xAOD::TrackParticle*,
45  xAOD::VertexContainer* container) const;
48 
49 protected:
50  DoubleProperty m_minInitR
51  {this, "MinInitialHitRadius", 70.,
52  "Minimum initial hit radius in order to consider track as coming from photon conversion"};
53  DoubleProperty m_minInitR_noBLay
54  {this, "MinInitialHitRadius_noBlay", 120.,
55  "Minimum initial hit radius in order to consider track as coming from photon conversion"};
56  DoubleProperty m_singleThreshold
57  {this, "MinRatioOfHLhits", 0.1,
58  "Minimum ratio of HL hits for a track to be labeled as electron"};
59  IntegerProperty m_maxBLhits
60  {this, "MaxBLayerHits", 0, "Maximum number of blayer hits"};
61  BooleanProperty m_PIDonlyForXe
62  {this, "PIDonlyForXe", false, "Only check TRT PID if all hits are Xe hits"};
63 };
64 
65 }
66 #endif // INDETCONVERSIONFINDERTOOLS_SINGLETRACKCONVERSION_H
67 
VertexContainerFwd.h
InDet::SingleTrackConversionTool::initialize
virtual StatusCode initialize() override
Definition: SingleTrackConversionTool.cxx:60
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SingleTrackConversionTool::m_minInitR_noBLay
DoubleProperty m_minInitR_noBLay
Definition: SingleTrackConversionTool.h:54
InDet::SingleTrackConversionTool::selectSingleTrackParticleConversion
bool selectSingleTrackParticleConversion(const xAOD::TrackParticle *) const
Select single track conversion candidates.
Definition: SingleTrackConversionTool.cxx:211
InDet::SingleTrackConversionTool::m_maxBLhits
IntegerProperty m_maxBLhits
Definition: SingleTrackConversionTool.h:60
InDet::SingleTrackConversionTool::interfaceID
static const InterfaceID & interfaceID()
Definition: SingleTrackConversionTool.cxx:53
InDet::SingleTrackConversionTool::m_minInitR
DoubleProperty m_minInitR
Definition: SingleTrackConversionTool.h:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
InDet::SingleTrackConversionTool::buildSingleTrackParticleConversion
xAOD::Vertex * buildSingleTrackParticleConversion(const xAOD::TrackParticle *, xAOD::VertexContainer *container) const
Build single track conversion candidate.
Definition: SingleTrackConversionTool.cxx:76
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
InDet::SingleTrackConversionTool::~SingleTrackConversionTool
virtual ~SingleTrackConversionTool()=default
InDet::SingleTrackConversionTool
Definition: SingleTrackConversionTool.h:30
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrackParticleFwd.h
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
InDet::SingleTrackConversionTool::m_singleThreshold
DoubleProperty m_singleThreshold
Definition: SingleTrackConversionTool.h:57
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
AthAlgTool
Definition: AthAlgTool.h:26
InDet::SingleTrackConversionTool::finalize
virtual StatusCode finalize() override
Definition: SingleTrackConversionTool.cxx:67
InDet::SingleTrackConversionTool::m_PIDonlyForXe
BooleanProperty m_PIDonlyForXe
Definition: SingleTrackConversionTool.h:62
InDet::SingleTrackConversionTool::SingleTrackConversionTool
SingleTrackConversionTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: SingleTrackConversionTool.cxx:42