BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkFit.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkFit.h,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4//
5// Description:
6// Implements a few basic TrkAbsFit functions (most are left for TrkRep and
7// subclasses).
8//
9// Environment:
10// Software developed for the BaBar Detector at the SLAC B-Factory.
11//
12// Author(s): Steve Schaffner
13// modified by Justin Albert
14//------------------------------------------------------------------------
15
16#ifndef TRKFIT_HH
17#define TRKFIT_HH
18
19#include "TrkBase/TrkAbsFit.h"
21
22// Class interface //
23class TrkFit : public TrkAbsFit {
24
25public:
27 virtual bool validFlightLength(double fltL,double tolerance=0.0) const;
28 void printType(std::ostream& ostr) const;
29
30 virtual int nActive() const = 0;
31 virtual int nSvt() const = 0;
32 virtual int nMdc() const = 0;
33 virtual PdtPid::PidType particleType() const = 0;
34 virtual TrkExchangePar helix(double fltL) const = 0;
35 virtual double arrivalTime(double fltL) const = 0;
36 virtual double startFoundRange() const = 0;
37 virtual double endFoundRange() const = 0;
38
39protected:
40 TrkFit();
41 virtual ~TrkFit();
42private:
43 // Preempt
44 TrkFit& operator= (const TrkFit&);
45 TrkFit(const TrkFit &);
46};
47#endif
PidType
Definition: PdtPid.h:11
Definition: TrkFit.h:23
virtual int nActive() const =0
void printType(std::ostream &ostr) const
Definition: TrkFit.cxx:31
virtual TrkExchangePar helix(double fltL) const =0
virtual ~TrkFit()
Definition: TrkFit.cxx:21
virtual int nMdc() const =0
virtual ChisqConsistency chisqConsistency() const =0
TrkFit()
Definition: TrkFit.cxx:26
virtual double startFoundRange() const =0
virtual double endFoundRange() const =0
virtual bool validFlightLength(double fltL, double tolerance=0.0) const
Definition: TrkFit.cxx:38
virtual PdtPid::PidType particleType() const =0
virtual int nSvt() const =0
virtual double arrivalTime(double fltL) const =0