/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/src/TrkFit.cxx

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: TrkFit.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
00004 //
00005 // Description:
00006 //     
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author(s): Steve Schaffner
00012 //
00013 //------------------------------------------------------------------------
00014 //#include "BaBar/BaBar.hh"
00015 #include "TrkBase/TrkFit.h"
00016 #include <iostream>
00017 #include "MdcRecoUtil/Pdt.h"
00018 using std::ostream;
00019 
00020 //------------------------------------------------------------------------
00021 TrkFit::~TrkFit() {
00022 //------------------------------------------------------------------------
00023 }
00024 
00025 //------------------------------------------------------------------------
00026 TrkFit::TrkFit() {
00027 //------------------------------------------------------------------------
00028 }
00029 
00030 void 
00031 TrkFit::printType(ostream& ostr) const 
00032 {
00033   ostr << "Particle type: " << Pdt::lookup( particleType() )->name();
00034 }
00035 
00036 // default implementation of validFlightLength
00037 bool
00038 TrkFit::validFlightLength(double fltl,double tolerance) const {
00039   return fltl+tolerance >= startValidRange() &&
00040     fltl-tolerance <= endValidRange();
00041 }

Generated on Tue Nov 29 23:13:40 2016 for BOSS_7.0.2 by  doxygen 1.4.7