BOSS 7.1.1
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
void append(MdcSeg *aSeg)
MdcSegList(int nSupers, const MdcSegParams segParms)
const GmsList * oneList(int slayIndex) const
MdcSeg * getSeed(int iview, int goodOnly)
void resetSeed(const MdcDetector *gm)
void plot() const
void setPlot(int lPlt)
void destroySegs()
MdcSegParams * segPar()
Definition MdcSegList.h:38