BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkFit Class Referenceabstract

#include <TrkFit.h>

+ Inheritance diagram for TrkFit:

Public Member Functions

virtual ChisqConsistency chisqConsistency () const =0
 
virtual bool validFlightLength (double fltL, double tolerance=0.0) const
 
void printType (std::ostream &ostr) const
 
virtual int nActive () const =0
 
virtual int nSvt () const =0
 
virtual int nMdc () const =0
 
virtual PdtPid::PidType particleType () const =0
 
virtual TrkExchangePar helix (double fltL) const =0
 
virtual double arrivalTime (double fltL) const =0
 
virtual double startFoundRange () const =0
 
virtual double endFoundRange () const =0
 
- Public Member Functions inherited from TrkAbsFit
virtual int charge () const =0
 
virtual double chisq () const =0
 
virtual int nDof () const =0
 
virtual const TrkDifTrajtraj () const =0
 
virtual HepPoint3D position (double fltL) const =0
 
virtual Hep3Vector direction (double fltL) const =0
 
virtual Hep3Vector momentum (double fltL=0.) const =0
 
virtual double pt (double fltL=0.) const =0
 
virtual BesPointErr positionErr (double fltL) const =0
 
virtual BesVectorErr directionErr (double fltL) const =0
 
virtual BesVectorErr momentumErr (double fltL) const =0
 
virtual HepMatrix posmomCov (double fltL) const =0
 
virtual void getAllCovs (double fltL, HepSymMatrix &xxCov, HepSymMatrix &ppCov, HepMatrix &xpCov) const =0
 
virtual void getAllWeights (double fltL, HepVector &pos, HepVector &mom, HepSymMatrix &xxWeight, HepSymMatrix &ppWeight, HepMatrix &xpWeight) const =0
 
virtual double startValidRange () const =0
 
virtual double endValidRange () const =0
 
virtual void printAll (std::ostream &ostr) const =0
 
virtual void print (std::ostream &ostr) const =0
 

Protected Member Functions

 TrkFit ()
 
virtual ~TrkFit ()
 
- Protected Member Functions inherited from TrkAbsFit
 TrkAbsFit ()
 
virtual ~TrkAbsFit ()
 

Detailed Description

Definition at line 23 of file TrkFit.h.

Constructor & Destructor Documentation

◆ TrkFit()

TrkFit::TrkFit ( )
protected

Definition at line 26 of file TrkFit.cxx.

26 {
27//------------------------------------------------------------------------
28}

◆ ~TrkFit()

TrkFit::~TrkFit ( )
protectedvirtual

Definition at line 21 of file TrkFit.cxx.

21 {
22//------------------------------------------------------------------------
23}

Member Function Documentation

◆ arrivalTime()

virtual double TrkFit::arrivalTime ( double  fltL) const
pure virtual

Implemented in TrkRep, and TrkLineRep.

◆ chisqConsistency()

virtual ChisqConsistency TrkFit::chisqConsistency ( ) const
pure virtual

Implemented in TrkRep.

◆ endFoundRange()

virtual double TrkFit::endFoundRange ( ) const
pure virtual

Implemented in TrkRep.

◆ helix()

◆ nActive()

◆ nMdc()

virtual int TrkFit::nMdc ( ) const
pure virtual

Implemented in TrkRep.

◆ nSvt()

virtual int TrkFit::nSvt ( ) const
pure virtual

Implemented in TrkRep.

◆ particleType()

virtual PdtPid::PidType TrkFit::particleType ( ) const
pure virtual

Implemented in TrkRep.

Referenced by printType().

◆ printType()

void TrkFit::printType ( std::ostream &  ostr) const

Definition at line 31 of file TrkFit.cxx.

32{
33 ostr << "Particle type: " << Pdt::lookup( particleType() )->name();
34}
const char * name() const
Definition: PdtEntry.h:53
static PdtEntry * lookup(const std::string &name)
Definition: Pdt.cxx:207
virtual PdtPid::PidType particleType() const =0

◆ startFoundRange()

virtual double TrkFit::startFoundRange ( ) const
pure virtual

Implemented in TrkRep.

◆ validFlightLength()

bool TrkFit::validFlightLength ( double  fltL,
double  tolerance = 0.0 
) const
virtual

Definition at line 38 of file TrkFit.cxx.

38 {
39 return fltl+tolerance >= startValidRange() &&
40 fltl-tolerance <= endValidRange();
41}
virtual double startValidRange() const =0
virtual double endValidRange() const =0

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