BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcxReco/MdcxReco-00-01-59/MdcxReco/MdcxFindSegs.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcxFindSegs.h,v 1.6 2009/12/16 08:59:13 zhangy Exp $
4//
5// Description:
6// Class Header for |MdcxFindSegs|
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author List:
12// S. Wagner
13//
14// Copyright Information:
15// Copyright (C) 1994 BEPCII
16//
17// History:
18// Migration for BESIII MDC
19//
20//------------------------------------------------------------------------
21#ifndef _MDCXSEGS_
22#define _MDCXSEGS_
23
24#include <iostream>
25#include <fstream>
26#include "CLHEP/Alist/AList.h"
27#include "MdcxReco/MdcxFittedHel.h"
28#include "MdcxReco/MdcxSeg.h"
29#include "MdcxReco/MdcxSegPatterns.h"
30
31class MdcxHit;
32class MdcDetector;
33
34class MdcxFindSegs{
35 public:
37 MdcxFindSegs(const HepAList<MdcxHit> &l, int debug = 0);
38 virtual ~MdcxFindSegs( );
39 void initWireGroups(void);
40 void process();
41 // inline const HepAList<MdcxFittedHel> &GetMdcxSeglist(){return MdcxSeglist;}
43 void appendseg(MdcxFittedHel& fithel, int pat, int amb);
44 void printseg(MdcxFittedHel& fithel, int pat,int amb,int subtry=0);
45 void print(std::ostream &o,int pmax=10)const;
46 inline void setDebug(bool debug=0){m_debug = debug;}
47protected:
49 // HepAList<MdcxFittedHel> MdcxSeglist;
50 MdcxFittedHel trial(int i1, int i2, int i3, int i4, int amb);
51 MdcxFittedHel trial(int i1, int i2, int i3, int amb);
52 void KillList(){HepAListDeleteAll(MdcxSeglist);}
53 int sl;//, w0, w1, w2, w3, w4, w5;
54 //int pat;
56 int nseg;
57 //int amb;
58 const MdcDetector* gm;
60 int m_debug;
62
63 static int wireGroups[11][288][16];
64};//endof MdcxFindSegs
65
66#endif
MdcxFittedHel trial(int i1, int i2, int i3, int amb)
void appendseg(MdcxFittedHel &fithel, int pat, int amb)
MdcxFindSegs(MdcDetector *g, const HepAList< MdcxHit > &l, int m_debug=0)
virtual ~MdcxFindSegs()
void process()
MdcxFindSegs(const HepAList< MdcxHit > &l, int debug=0)
void initWireGroups(void)
MdcxFittedHel trial(int i1, int i2, int i3, int i4, int amb)
void printseg(MdcxFittedHel &fithel, int pat, int amb, int subtry=0)
void print(std::ostream &o, int pmax=10) const