00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: MdcSegGrouperCsmc.h,v 1.5 2009/12/16 09:02:47 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 MDCSEGGROUPERCSMC_HH 00021 #define MDCSEGGROUPERCSMC_HH 00022 #include "MdcTrkRecon/MdcSegGrouper.h" 00023 00024 class MdcSegList; 00025 class TrkContext; 00026 00027 // Class interface // 00028 class MdcSegGrouperCsmc : public MdcSegGrouper { 00029 00030 public: 00031 MdcSegGrouperCsmc(const MdcDetector *gm, int debug); 00032 ~MdcSegGrouperCsmc() { }; 00033 00034 void fillWithSegs( const MdcSegList *inSegs); 00035 virtual int incompWithSeg(const MdcSeg *refSeg, const MdcSeg *testSeg); 00036 virtual int incompWithGroup(MdcSeg **segGroup, const MdcSeg *testSeg, 00037 int iply); 00038 void resetComb(const class MdcSeg *); 00039 virtual MdcTrack* storePar(MdcTrack* trk, double parms[2], double chisq, 00040 TrkContext&, double trackT0); 00041 00042 private: 00043 const MdcSeg *_seed; 00044 00045 // Preempt 00046 MdcSegGrouperCsmc& operator= (const MdcSegGrouperCsmc&) ; 00047 }; 00048 #endif 00049 00050 00051 00052 00053 00054 00055