00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: MdcSegGrouperSt.h,v 1.6 2011/05/16 06:52:13 zhangy Exp $ 00004 // 00005 // Description: 00006 // 00007 // 00008 // Environment: 00009 // Software developed for the BaBar Detector at the SLAC B-Factory. 00010 // 00011 // Authors: Steve Schaffner 00012 // 00013 // Copyright (C) 1996 The Board of Trustees of 00014 // 00015 // History: 00016 // Migration for BESIII MDC 00017 // The Leland Stanford Junior University. All Rights Reserved. 00018 //------------------------------------------------------------------------ 00019 00020 #ifndef MDCSEGGROUPERST_HH 00021 #define MDCSEGGROUPERST_HH 00022 #include "MdcTrkRecon/MdcSegGrouper.h" 00023 00024 class MdcSegList; 00025 class MdcTrack; 00026 class TrkContext; 00027 00028 // Class interface // 00029 class MdcSegGrouperSt : public MdcSegGrouper { 00030 00031 public: 00032 MdcSegGrouperSt(const MdcDetector *gm, int debug); 00033 ~MdcSegGrouperSt() { }; 00034 void fillWithSegs(const MdcSegList *inSegs, const MdcTrack *axialTrack); 00035 //void testFillWithSegs(const MdcSegList *inSegs, const MdcTrack *axialTrack); 00036 void plotStereo() const; 00037 virtual int incompWithSeg(const MdcSeg *refSeg, const MdcSeg *testSeg); 00038 virtual int incompWithGroup(MdcSeg **segGroup, const MdcSeg *testSeg, 00039 int iply); 00040 void resetComb(const MdcSeg *seed = 0); 00041 virtual MdcTrack* storePar(MdcTrack* trk, double parms[2], double chisq, 00042 TrkContext&, double trackT0); 00043 00044 //double calcParByHits(MdcSeg **segGroup, int nToUse, const TrkExchangePar &par, double& qual, int& nSegFit, double param[2]); 00045 00046 private: 00047 void resetList(); 00048 00049 // Preempt 00050 MdcSegGrouperSt& operator= (const MdcSegGrouperSt&); 00051 }; 00052 #endif 00053 00054 00055 00056 00057 00058 00059