StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSstClusterList.hh
1 //$Id: StSstClusterList.hh,v 1.1 2015/06/23 16:26:19 jeromel Exp $
2 //
3 //$Log: StSstClusterList.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:31 bouchet
8 //initial commit ; SST codes
9 //
10 
11 //fork from the SSD code, move along - see history therein
12 
13 #ifndef STSSTCLUSTERLIST_HH
14 #define STSSTCLUSTERLIST_HH
15 #include "Rtypes.h"
17 class StSstCluster;
18 class StSstStripList;
19 
21 {
22  public:
25 
26  StSstCluster* next(StSstCluster *ptr);
27  StSstCluster* prev(StSstCluster *ptr);
28  StSstCluster* first();
29  StSstCluster* last();
30  Int_t addNewCluster(StSstCluster *ptr);
31  void exchangeTwoClusters(StSstCluster *ptr1, StSstCluster *ptr2);
32  void sortCluster();
33  void renumCluster();
34  Int_t removeCluster(StSstCluster *ptr);
35  Int_t getSize();
36  Int_t splitCluster(StSstClusterControl *clusterControl, StSstCluster *CurrentCluster, Int_t *ListAdc, StSstStripList *currentStripList);
37  Int_t isSorted();
38 
39  private:
40  StSstClusterList(const StSstClusterList & originalClusterList);
41  StSstClusterList& operator=(const StSstClusterList originalClusterList);
42 
43  Int_t mListLength;
44  StSstCluster *mFirstCluster;
45  StSstCluster *mLastCluster;
46 };
47 #endif