ATLAS Offline Software
Loading...
Searching...
No Matches
TrkDistanceFinderNeutralCharged.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DISTNEUCHARGED_H
6#define DISTNEUCHARGED_H
7
9#include <vector>
11#include "GaudiKernel/ToolHandle.h"
13
14static const InterfaceID IID_TrkDistanceFinderNeutralCharged("TrkDistanceFinderNeutralCharged", 1,0);
15
16namespace MagField {
17 class AtlasFieldCache;
18}
19
20namespace Trk {
21
23{
24
25
26 public:
27 TrkDistanceFinderNeutralCharged(const std::string& t, const std::string& n, const IInterface* p);
29
30 std::pair<Amg::Vector3D,double> getPointAndDistance(const Trk::NeutralTrack&,const Trk::Perigee&,
31 double &,
32 MagField::AtlasFieldCache &fieldCache) const;
33
34 static const InterfaceID& interfaceID()
35 {
37 };
38
39 private:
40
41 //parameters for precision
42 double m_precision;//as job option
43 double m_maxloopnumber;//as job option
44};
45
46namespace Error {
48 const char* p;
49 NewtonProblem(const char* q) {p=q; }
50 };
51}
52
53}
54#endif
static const InterfaceID IID_TrkDistanceFinderNeutralCharged("TrkDistanceFinderNeutralCharged", 1, 0)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
std::pair< Amg::Vector3D, double > getPointAndDistance(const Trk::NeutralTrack &, const Trk::Perigee &, double &, MagField::AtlasFieldCache &fieldCache) const
TrkDistanceFinderNeutralCharged(const std::string &t, const std::string &n, const IInterface *p)
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee