BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
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"
28#include "MdcxReco/MdcxSeg.h"
30
31class MdcxHit;
32class MdcDetector;
33
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;
62
63 static int wireGroups[11][288][16];
64};//endof MdcxFindSegs
65
66#endif
MdcxFittedHel fithel
Definition: MdcxFindSegs.h:55
void appendseg(MdcxFittedHel &fithel, int pat, int amb)
MdcxSegPatterns m_segPat
Definition: MdcxFindSegs.h:61
HepAList< MdcxHit > dchitlist
Definition: MdcxFindSegs.h:59
virtual ~MdcxFindSegs()
HepAList< MdcxSeg > MdcxSeglist
Definition: MdcxFindSegs.h:48
const HepAList< MdcxSeg > & GetMdcxSeglist()
Definition: MdcxFindSegs.h:42
void initWireGroups(void)
void setDebug(bool debug=0)
Definition: MdcxFindSegs.h:46
MdcxFittedHel trial(int i1, int i2, int i3, int i4, int amb)
static int wireGroups[11][288][16]
Definition: MdcxFindSegs.h:63
void KillList()
Definition: MdcxFindSegs.h:52
void printseg(MdcxFittedHel &fithel, int pat, int amb, int subtry=0)
void print(std::ostream &o, int pmax=10) const
const MdcDetector * gm
Definition: MdcxFindSegs.h:58