BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkDifPoca Class Reference

#include <TrkDifPoca.h>

+ Inheritance diagram for TrkDifPoca:

Public Member Functions

 TrkDifPoca (const TrkDifTraj &traj1, double flt1, const Trajectory &traj2, double flt2, double precision=1.e-5)
 
 TrkDifPoca (const TrkDifTraj &traj, double flt, const HepPoint3D &pt, double precision=1.e-5)
 
 ~TrkDifPoca ()
 
const DifNumberdifDoca () const
 
double doca () const
 
const HepVector derivs () const
 
void fetchDerivs (HepVector &) const
 
 TrkDifPoca (const TrkDifTraj &traj1, double flt1, const Trajectory &traj2, double flt2, double precision=1.e-5)
 
 TrkDifPoca (const TrkDifTraj &traj, double flt, const HepPoint3D &pt, double precision=1.e-5)
 
 ~TrkDifPoca ()
 
const DifNumberdifDoca () const
 
double doca () const
 
const HepVector derivs () const
 
void fetchDerivs (HepVector &) const
 
- Public Member Functions inherited from TrkPocaBase
const TrkErrCodestatus () const
 
double flt1 () const
 
double flt2 () const
 
double precision ()
 
const TrkErrCodestatus () const
 
double flt1 () const
 
double flt2 () const
 
double precision ()
 

Additional Inherited Members

- Protected Member Functions inherited from TrkPocaBase
 TrkPocaBase (double flt1, double flt2, double precision)
 
 TrkPocaBase (double flt1, double precision)
 
virtual ~TrkPocaBase ()
 
void minimize (const Trajectory &traj1, double f1, const Trajectory &traj2, double f2)
 
void minimize (const Trajectory &traj1, double f1, const HepPoint3D &pt)
 
void stepTowardPoca (const Trajectory &traj1, const Trajectory &traj2)
 
void stepToPointPoca (const Trajectory &traj, const HepPoint3D &pt)
 
 TrkPocaBase (double flt1, double flt2, double precision)
 
 TrkPocaBase (double flt1, double precision)
 
virtual ~TrkPocaBase ()
 
void minimize (const Trajectory &traj1, double f1, const Trajectory &traj2, double f2)
 
void minimize (const Trajectory &traj1, double f1, const HepPoint3D &pt)
 
void stepTowardPoca (const Trajectory &traj1, const Trajectory &traj2)
 
void stepToPointPoca (const Trajectory &traj, const HepPoint3D &pt)
 
- Protected Attributes inherited from TrkPocaBase
double _precision
 
double _flt1
 
double _flt2
 
TrkErrCode _status
 
- Static Protected Attributes inherited from TrkPocaBase
static double _maxDist = 1.e7
 
static int _maxTry = 500
 
static double _extrapToler = 2.
 

Detailed Description

Constructor & Destructor Documentation

◆ TrkDifPoca() [1/4]

TrkDifPoca::TrkDifPoca ( const TrkDifTraj traj1,
double  flt1,
const Trajectory traj2,
double  flt2,
double  precision = 1.e-5 
)

Definition at line 25 of file TrkDifPoca.cxx.

27 : TrkPocaBase(f1,f2,prec), _doca(-9999.,0)
28{
29 minimize(traj1,f1,traj2,f2);
30 if (status().failure()) return;
31 calcDist(traj1,traj2);
32
33}
TFile * f1
void minimize(const Trajectory &traj1, double f1, const Trajectory &traj2, double f2)
Definition: TrkPocaBase.cxx:32

◆ TrkDifPoca() [2/4]

TrkDifPoca::TrkDifPoca ( const TrkDifTraj traj,
double  flt,
const HepPoint3D pt,
double  precision = 1.e-5 
)

Definition at line 36 of file TrkDifPoca.cxx.

38 : TrkPocaBase(f1,prec), _doca(-9999.,0)
39{
40 minimize(traj,f1,pt);
41 if (status().failure()) return;
42 calcDist(traj,pt);
43}

◆ ~TrkDifPoca() [1/2]

TrkDifPoca::~TrkDifPoca ( )
inline

Definition at line 39 of file InstallArea/include/TrkBase/TrkBase/TrkDifPoca.h.

39{};

◆ TrkDifPoca() [3/4]

TrkDifPoca::TrkDifPoca ( const TrkDifTraj traj1,
double  flt1,
const Trajectory traj2,
double  flt2,
double  precision = 1.e-5 
)

◆ TrkDifPoca() [4/4]

TrkDifPoca::TrkDifPoca ( const TrkDifTraj traj,
double  flt,
const HepPoint3D pt,
double  precision = 1.e-5 
)

◆ ~TrkDifPoca() [2/2]

TrkDifPoca::~TrkDifPoca ( )
inline

Member Function Documentation

◆ derivs() [1/2]

const HepVector TrkDifPoca::derivs ( ) const
inline

Definition at line 66 of file InstallArea/include/TrkBase/TrkBase/TrkDifPoca.h.

66{return _doca.derivatives();}
HepVector derivatives() const
Definition: DifNumber.cxx:46

Referenced by TrkHitOnTrk::getFitStuff().

◆ derivs() [2/2]

const HepVector TrkDifPoca::derivs ( ) const
inline

◆ difDoca() [1/2]

const DifNumber & TrkDifPoca::difDoca ( ) const
inline

Definition at line 65 of file InstallArea/include/TrkBase/TrkBase/TrkDifPoca.h.

65{return _doca;}

◆ difDoca() [2/2]

const DifNumber & TrkDifPoca::difDoca ( ) const
inline

◆ doca() [1/2]

double TrkDifPoca::doca ( ) const
inline

◆ doca() [2/2]

double TrkDifPoca::doca ( ) const
inline

◆ fetchDerivs() [1/2]

void TrkDifPoca::fetchDerivs ( HepVector &  dv) const
inline

Definition at line 67 of file InstallArea/include/TrkBase/TrkBase/TrkDifPoca.h.

67{_doca.fetchDerivatives(dv);}
void fetchDerivatives(HepVector &v) const
Definition: DifNumber.cxx:41

Referenced by TrkHitOnTrk::getFitStuff().

◆ fetchDerivs() [2/2]

void TrkDifPoca::fetchDerivs ( HepVector &  ) const
inline

The documentation for this class was generated from the following files: