StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSstPointList.hh
1 //$Id: StSstPointList.hh,v 1.1 2015/06/23 16:26:19 jeromel Exp $
2 //
3 //$Log: StSstPointList.hh,v $
4 //Revision 1.1 2015/06/23 16:26:19 jeromel
5 //First version created from the SSD code and reshaped
6 //
7 //Revision 1.1 2015/04/19 17:30:32 bouchet
8 //initial commit ; SST codes
9 //
10 
11 //fork from the SSD code, move along - see history therein
12 
13 #ifndef STSSTPOINTLIST_HH
14 #define STSSTPOINTLIST_HH
15 
16 #include "StSstPoint.hh"
17 
19 {
20  public:
22  ~StSstPointList();
23  StSstPointList(const StSstPointList & originalPointList);
24  StSstPointList& operator=(const StSstPointList originalPointList);
25 
26  StSstPoint* next(StSstPoint *ptr);
27  StSstPoint* prev(StSstPoint *ptr);
28  StSstPoint* first();
29  StSstPoint* last();
30  Int_t getSize();
31  Int_t addNewPoint(StSstPoint *ptr);
32  Int_t removePoint(StSstPoint *ptr);
33  void exchangeTwoPoints(StSstPoint *ptr1,StSstPoint *ptr2);
34  StSstPointList* addPointList(StSstPointList *list);
35  StSstPointList* substractPointList(StSstPointList *list);
36  StSstPointList* removeMultipleCount();
37  StSstPointList* sortPoint();
38 
39  Int_t renumHits(Int_t last);
40 
41  private:
42  Int_t mListLength;
43  StSstPoint *mFirstPoint;
44  StSstPoint *mLastPoint;
45 };
46 #endif