/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-45/MdcTrkRecon/MdcSegFinder.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: MdcSegFinder.h,v 1.4 2010/07/19 06:41:49 zhangy Exp $
00004 //
00005 // Description:
00006 //     Find straight-line segments in the DCH and put them into MdcSegList
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 MDCSEGFINDER_H
00021 #define MDCSEGFINDER_H
00022 
00023 #include "MdcTrkRecon/MdcSegPatterns.h"
00024 
00025 class MdcSegList;
00026 class MdcSegUsage;
00027 template <class K, class V> class MdcMap;
00028 class MdcHit;
00029 class MdcDetector;
00030 class MdcLine;
00031 class MdcSuperLayer;
00032 class MdcSeg;
00033 class MdcHitMap;
00034 
00035 // Class interface //
00036 class MdcSegFinder {
00037 
00038 public:
00039   MdcSegFinder(int useAllAmbig);
00040   ~MdcSegFinder() { };
00041   int createSegs(const MdcDetector *gm, MdcSegList &segs,       //return nSeg
00042               const MdcMap<const MdcHit*, MdcSegUsage*>& usedHits, const MdcHitMap* map,double tbunch);
00043   MdcSegPatterns* thePattList() {return &patternList;}
00044 
00045 private:        
00046   MdcSegPatterns patternList;  // allowed hit-patterns to form segments
00047   int tryPatterns(MdcHit *groupHits[8], unsigned groupWord, int nhit, 
00048        int lPrevHit, int npatt, int *allowedPatt, const MdcSuperLayer *slayer, 
00049        MdcSegList &segs, const MdcMap<const MdcHit*, MdcSegUsage*>& usedHits, const MdcHitMap*, 
00050                   double bunchTime);
00051 
00052   bool _addHits;
00053   // Preempt assignment:
00054   MdcSegFinder&   operator= (const MdcSegFinder&);
00055   MdcSegFinder(const MdcSegFinder &);
00056 };
00057 #endif
00058 
00059 
00060 
00061 
00062 
00063 
00064 

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