BOSS
6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkFit.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkFit.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4
//
5
// Description:
6
//
7
//
8
// Environment:
9
// Software developed for the BaBar Detector at the SLAC B-Factory.
10
//
11
// Author(s): Steve Schaffner
12
//
13
//------------------------------------------------------------------------
14
//#include "BaBar/BaBar.hh"
15
#include "
TrkBase/TrkFit.h
"
16
#include <iostream>
17
#include "
MdcRecoUtil/Pdt.h
"
18
using
std::ostream;
19
20
//------------------------------------------------------------------------
21
TrkFit::~TrkFit
() {
22
//------------------------------------------------------------------------
23
}
24
25
//------------------------------------------------------------------------
26
TrkFit::TrkFit
() {
27
//------------------------------------------------------------------------
28
}
29
30
void
31
TrkFit::printType
(ostream& ostr)
const
32
{
33
ostr <<
"Particle type: "
<<
Pdt::lookup
(
particleType
() )->
name
();
34
}
35
36
// default implementation of validFlightLength
37
bool
38
TrkFit::validFlightLength
(
double
fltl,
double
tolerance)
const
{
39
return
fltl+tolerance >=
startValidRange
() &&
40
fltl-tolerance <=
endValidRange
();
41
}
Pdt.h
TrkFit.h
PdtEntry::name
const char * name() const
Definition:
PdtEntry.h:53
Pdt::lookup
static PdtEntry * lookup(const std::string &name)
Definition:
Pdt.cxx:207
TrkAbsFit::startValidRange
virtual double startValidRange() const =0
TrkAbsFit::endValidRange
virtual double endValidRange() const =0
TrkFit::printType
void printType(std::ostream &ostr) const
Definition:
TrkFit.cxx:31
TrkFit::~TrkFit
virtual ~TrkFit()
Definition:
TrkFit.cxx:21
TrkFit::TrkFit
TrkFit()
Definition:
TrkFit.cxx:26
TrkFit::validFlightLength
virtual bool validFlightLength(double fltL, double tolerance=0.0) const
Definition:
TrkFit.cxx:38
TrkFit::particleType
virtual PdtPid::PidType particleType() const =0
source
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-11
src
TrkFit.cxx
Generated by
1.9.6