ATLAS Offline Software
ConversionFinderUtils.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETCONVERSIONFINDERTOOLS_CONVERSIONFINDERUTILS_H
6 #define INDETCONVERSIONFINDERTOOLS_CONVERSIONFINDERUTILS_H
7 
10 #include "xAODTracking/Vertex.h"
11 
12 class MsgStream;
13 
14 namespace Trk {
15  class Track;
16 }
17 
18 namespace InDet {
19 
27  class ConversionFinderUtils final : public AthAlgTool {
28 
29  public:
30  ConversionFinderUtils (const std::string& type,const std::string& name, const IInterface* parent);
31 
33 
34  static const InterfaceID& interfaceID();
35 
36  virtual StatusCode initialize() override;
37 
38  virtual StatusCode finalize() override;
39 
42  static double momFraction(const Trk::TrackParameters* per1,
43  const Trk::TrackParameters* per2) ;
45  double distBetweenTracks(const Trk::Track* trk_pos,
46  const Trk::Track* trk_neg) const;
48  static std::unique_ptr<Trk::Track> addNewPerigeeToTrack(
49  const Trk::Track* track, const Trk::Perigee* mp);
52 
53  };
54 
55 }
56 #endif // INDETCONVERSIONFINDERTOOLS_CONVERSIONFINDERUTILS_H
57 
InDet::ConversionFinderUtils
Definition: ConversionFinderUtils.h:27
TrackParticle.h
InDet::ConversionFinderUtils::initialize
virtual StatusCode initialize() override
Definition: ConversionFinderUtils.cxx:44
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::ConversionFinderUtils::ConversionFinderUtils
ConversionFinderUtils(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ConversionFinderUtils.cxx:29
InDet::ConversionFinderUtils::~ConversionFinderUtils
virtual ~ConversionFinderUtils()
InDet::ConversionFinderUtils::interfaceID
static const InterfaceID & interfaceID()
Definition: ConversionFinderUtils.cxx:39
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
Trk::ParametersBase
Definition: ParametersBase.h:55
Vertex.h
InDet::ConversionFinderUtils::correctVxCandidate
static xAOD::Vertex * correctVxCandidate(xAOD::Vertex *, Amg::Vector3D)
Correct VxCandidate with respect to a user defined vertex.
Definition: ConversionFinderUtils.cxx:163
InDet::ConversionFinderUtils::finalize
virtual StatusCode finalize() override
Definition: ConversionFinderUtils.cxx:48
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::ConversionFinderUtils::momFraction
static double momFraction(const Trk::TrackParameters *per1, const Trk::TrackParameters *per2)
helper functions
Definition: ConversionFinderUtils.cxx:56
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
InDet::ConversionFinderUtils::distBetweenTracks
double distBetweenTracks(const Trk::Track *trk_pos, const Trk::Track *trk_neg) const
Approximate distance of minimum approach between tracks in pair.
Definition: ConversionFinderUtils.cxx:70
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
AthAlgTool
Definition: AthAlgTool.h:26
InDet::ConversionFinderUtils::addNewPerigeeToTrack
static std::unique_ptr< Trk::Track > addNewPerigeeToTrack(const Trk::Track *track, const Trk::Perigee *mp)
Add new perigee to track.
Definition: ConversionFinderUtils.cxx:133