/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/TrkReco/TrkReco-00-08-59-patch4-slc6tag/TrkReco/TCircleFitter.h

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 // $Id: TCircleFitter.h,v 1.12 2012/05/28 05:16:29 maoh Exp $
00003 //-----------------------------------------------------------------------------
00004 // Filename : TCircleFitter.h
00005 // Section  : Tracking
00006 // Owner    : Yoshi Iwasaki
00007 // Email    : yoshihito.iwasaki@kek.jp
00008 //-----------------------------------------------------------------------------
00009 // Description : A class to fit a TTrackBase object to a circle.
00010 //               See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
00011 //-----------------------------------------------------------------------------
00012 
00013 #ifndef TCIRCLEFITTER_FLAG_
00014 #define TCIRCLEFITTER_FLAG_
00015 
00016 #ifdef TRKRECO_DEBUG_DETAIL
00017 #ifndef TRKRECO_DEBUG
00018 #define TRKRECO_DEBUG
00019 #endif
00020 #endif
00021 #define HEP_SHORT_NAMES
00022 
00023 #include "TrkReco/TMFitter.h"
00024 //#include "helix/Helix.h"
00025 //#include "TrkReco/Helix.h"
00026 #include "TrackUtil/Helix.h"
00027 
00028 class TMLink;
00029 class TCircle;
00030 
00032 class TCircleFitter : public TMFitter {
00033 
00034   public:
00036     TCircleFitter(const std::string & name);
00037 
00039     virtual ~TCircleFitter();
00040 
00041   public:// Selectors
00043     void dump(const std::string & message = std::string(""),
00044               const std::string & prefix = std::string("")) const;
00045 
00046   public:// Modifiers
00047     virtual int fit(TTrackBase &) const;
00048 
00049   private:
00050     mutable double _charge;
00051     mutable double _radius;
00052     mutable HepPoint3D _center;
00053 };
00054 
00055 //-----------------------------------------------------------------------------
00056 
00057 #ifdef TRKRECO_NO_INLINE
00058 #define inline
00059 #else
00060 #undef inline
00061 #define TCIRCLEFITTER_INLINE_DEFINE_HERE
00062 #endif
00063 
00064 #ifdef TCIRCLEFITTER_INLINE_DEFINE_HERE
00065 
00066 #endif
00067 
00068 #undef inline
00069 
00070 #endif /* TCIRCLEFITTER_FLAG_ */

Generated on Tue Nov 29 23:14:17 2016 for BOSS_7.0.2 by  doxygen 1.4.7