ATLAS Offline Software
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 
14 static const InterfaceID IID_TrkDistanceFinderNeutralCharged("TrkDistanceFinderNeutralCharged", 1,0);
15 
16 namespace MagField {
17  class AtlasFieldCache;
18 }
19 
20 namespace 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  {
36  return IID_TrkDistanceFinderNeutralCharged;
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 
46 namespace Error {
47  struct NewtonProblem {
48  const char* p;
49  NewtonProblem(const char* q) {p=q; }
50  };
51 }
52 
53 }
54 #endif
Trk::TrkDistanceFinderNeutralCharged::m_precision
double m_precision
Definition: TrkDistanceFinderNeutralCharged.h:37
TrackParameters.h
Trk::TrkDistanceFinderNeutralCharged::TrkDistanceFinderNeutralCharged
TrkDistanceFinderNeutralCharged(const std::string &t, const std::string &n, const IInterface *p)
Definition: TrkDistanceFinderNeutralCharged.cxx:22
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
Trk::TrkDistanceFinderNeutralCharged::getPointAndDistance
std::pair< Amg::Vector3D, double > getPointAndDistance(const Trk::NeutralTrack &, const Trk::Perigee &, double &, MagField::AtlasFieldCache &fieldCache) const
Definition: TrkDistanceFinderNeutralCharged.cxx:37
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::Error::NewtonProblem::p
const char * p
Definition: TrkDistanceFinderNeutralCharged.h:48
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
AthAlgTool.h
Trk::TrkDistanceFinderNeutralCharged::m_maxloopnumber
double m_maxloopnumber
Definition: TrkDistanceFinderNeutralCharged.h:43
Trk::Error::NewtonProblem
Definition: TrkDistanceFinderNeutralCharged.h:47
MagField
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: ForwardRegionFieldSvc.h:27
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrkDistanceFinderNeutralCharged::~TrkDistanceFinderNeutralCharged
~TrkDistanceFinderNeutralCharged()
Trk::Error::NewtonProblem::NewtonProblem
NewtonProblem(const char *q)
Definition: TrkDistanceFinderNeutralCharged.h:49
Trk::NeutralTrack
Definition: NeutralTrack.h:10
Trk::TrkDistanceFinderNeutralCharged
Definition: TrkDistanceFinderNeutralCharged.h:23
MagField::AtlasFieldCache
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: AtlasFieldCache.h:43
extractSporadic.q
list q
Definition: extractSporadic.py:98
NeutralTrack.h
L1Topo::Error
Error
The different types of error that can be flagged in the L1TopoRDO.
Definition: Error.h:16
Trk::TrkDistanceFinderNeutralCharged::interfaceID
static const InterfaceID & interfaceID()
Definition: TrkDistanceFinderNeutralCharged.h:34
AthAlgTool
Definition: AthAlgTool.h:26