/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcxReco/MdcxReco-00-01-59/MdcxReco/MdcxFindSegs.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: MdcxFindSegs.h,v 1.6 2009/12/16 08:59:13 zhangy Exp $
00004 //
00005 // Description: 
00006 //      Class Header for |MdcxFindSegs| 
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author List:
00012 //      S. Wagner
00013 //
00014 // Copyright Information:
00015 //      Copyright (C) 1994      BEPCII
00016 // 
00017 // History:
00018 //      Migration for BESIII MDC
00019 //
00020 //------------------------------------------------------------------------
00021 #ifndef _MDCXSEGS_
00022 #define _MDCXSEGS_
00023 
00024 #include <iostream>
00025 #include <fstream>
00026 #include "CLHEP/Alist/AList.h"
00027 #include "MdcxReco/MdcxFittedHel.h"
00028 #include "MdcxReco/MdcxSeg.h"
00029 #include "MdcxReco/MdcxSegPatterns.h"
00030 
00031 class MdcxHit;
00032 class MdcDetector;
00033 
00034 class MdcxFindSegs{
00035   public:
00036   MdcxFindSegs(MdcDetector* g, const HepAList<MdcxHit> &l, int m_debug = 0);
00037   MdcxFindSegs(const HepAList<MdcxHit> &l, int debug = 0);
00038   virtual ~MdcxFindSegs( );
00039   void initWireGroups(void);
00040   void process();
00041   //  inline const HepAList<MdcxFittedHel> &GetMdcxSeglist(){return MdcxSeglist;}
00042   inline const HepAList<MdcxSeg> &GetMdcxSeglist(){return MdcxSeglist;}
00043   void appendseg(MdcxFittedHel& fithel, int pat, int amb);
00044   void printseg(MdcxFittedHel& fithel, int pat,int amb,int subtry=0);
00045   void print(std::ostream &o,int pmax=10)const;
00046   inline void setDebug(bool debug=0){m_debug = debug;}
00047 protected:
00048   HepAList<MdcxSeg> MdcxSeglist; 
00049   //  HepAList<MdcxFittedHel> MdcxSeglist; 
00050   MdcxFittedHel trial(int i1, int i2, int i3, int i4, int amb);
00051   MdcxFittedHel trial(int i1, int i2, int i3, int amb);
00052   void KillList(){HepAListDeleteAll(MdcxSeglist);}
00053   int sl;//, w0, w1, w2, w3, w4, w5;
00054   //int pat;
00055   MdcxFittedHel fithel; 
00056   int nseg;
00057   //int amb;
00058   const MdcDetector* gm;
00059   HepAList<MdcxHit> dchitlist;
00060   int m_debug;
00061   MdcxSegPatterns m_segPat;
00062 
00063   static int wireGroups[11][288][16];
00064 };//endof MdcxFindSegs
00065 
00066 #endif

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