BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcSegList.h
Go to the documentation of this file.
1#ifndef DCHSEGLIST_H
2#define DCHSEGLIST_H
3
4// MdcSegList.hh -- holds list of track segs. Actually holds array of
5// linked lists, one list for each superlayer.
6
7// Interface Dependencies ----------------------------------------------
8
10
11class MdcSegFinder;
12class MdcDetector;
13class GmsList;
14class MdcSeg;
15class MdcSuperLayer;
16
17// End Interface Dependencies -----------------------------------------
18
19// Class definition//
21
22 friend class MdcSegFinder;
23
24public:
25 MdcSegList(int nSupers, const MdcSegParams segParms);
27
28 // void newParams(const MdcSegParams &segPar);
29 void setPlot(int lPlt);
30 void plot() const;
31 const GmsList *oneList(int slayIndex) const;
32 void append(MdcSeg *aSeg);
33 int count() const;
34
35 void destroySegs();
36 MdcSeg *getSeed( int iview, int goodOnly );
37 void resetSeed(const MdcDetector *gm);
38 MdcSegParams *segPar() {return &segParam;}
39
40private:
41 MdcSegParams segParam;
42 GmsList *segList; // eff. array (by slayer) of lists of segments
43 int _nsupers;
44 MdcSeg *seedSeg[3]; // next seed segment to be returned for given view
45 const MdcSuperLayer *seedSlay[3]; // slayer of next seed
46
47 void sortByPhi();
48 void zeroSeed();
49 void tagAmbig();
50 void deleteDups(bool drop);
51 void massageSegs();
52};
53
54#endif
55
56
57
58
59
60
61
int count() const
Definition: MdcSegList.cxx:419
void append(MdcSeg *aSeg)
Definition: MdcSegList.cxx:257
const GmsList * oneList(int slayIndex) const
Definition: MdcSegList.cxx:412
MdcSeg * getSeed(int iview, int goodOnly)
Definition: MdcSegList.cxx:139
void resetSeed(const MdcDetector *gm)
Definition: MdcSegList.cxx:57
void plot() const
Definition: MdcSegList.cxx:75
void setPlot(int lPlt)
Definition: MdcSegList.cxx:406
void destroySegs()
Definition: MdcSegList.cxx:92
MdcSegParams * segPar()
Definition: MdcSegList.h:38
Definition: MdcSeg.h:42