BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcxReco/include/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 "CLHEP/Alist/AList.h"
25#include "MdcxReco/MdcxFittedHel.h"
26#include "MdcxReco/MdcxSeg.h"
27#include "MdcxReco/MdcxSegPatterns.h"
28#include <fstream>
29#include <iostream>
30
31class MdcxHit;
32class MdcDetector;
33
34class MdcxFindSegs {
35public:
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;}
42 inline const HepAList<MdcxSeg>& 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; }
47
48protected:
50 // HepAList<MdcxFittedHel> MdcxSeglist;
51 MdcxFittedHel trial( int i1, int i2, int i3, int i4, int amb );
52 MdcxFittedHel trial( int i1, int i2, int i3, int amb );
53 void KillList() { HepAListDeleteAll( MdcxSeglist ); }
54 int sl; //, w0, w1, w2, w3, w4, w5;
55 // int pat;
57 int nseg;
58 // int amb;
59 const MdcDetector* gm;
61 int m_debug;
63
64 static int wireGroups[11][288][16];
65}; // endof MdcxFindSegs
66
67#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