ATLAS Offline Software
Loading...
Searching...
No Matches
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
14namespace Trk {
15class Track;
17class IExtrapolator;
18}
19
20namespace InDet {
22
28
30{
31
32public:
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
48
49protected:
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Some helper tools like: hits counter.
xAOD::Vertex * buildSingleTrackParticleConversion(const xAOD::TrackParticle *, xAOD::VertexContainer *container) const
Build single track conversion candidate.
SingleTrackConversionTool(const std::string &type, const std::string &name, const IInterface *parent)
bool selectSingleTrackParticleConversion(const xAOD::TrackParticle *) const
Select single track conversion candidates.
virtual StatusCode initialize() override
virtual ~SingleTrackConversionTool()=default
Interface class for the extrapolation AlgTool, it inherits from IAlgTool Detailed information about p...
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.