StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSstStripList.hh
1 //$Id: StSstStripList.hh,v 1.2 2016/06/10 19:27:47 bouchet Exp $
2 //
3 //$Log: StSstStripList.hh,v $
4 //Revision 1.2 2016/06/10 19:27:47 bouchet
5 //coverity : FORWARD_NULL
6 //
7 //Revision 1.1 2015/06/23 16:26:19 jeromel
8 //First version created from the SSD code and reshaped
9 //
10 //Revision 1.1 2015/04/19 17:30:32 bouchet
11 //initial commit ; SST codes
12 //
13 
14 //fork from the SSD code, move along - see history therein
15 
16 #ifndef STSSTSTRIPLIST_HH
17 #define STSSTSTRIPLIST_HH
18 
19 #include "StSstDynamicControl.h"
20 #include "StSstStrip.hh"
21 class StSpaListNoise;
22 
24  public:
26  ~StSstStripList();
27  StSstStripList(const StSstStripList & originalStripList);
28  StSstStripList& operator=(const StSstStripList originalStripList);
29 
30  StSstStrip* next(StSstStrip *ptr);
31  StSstStrip* prev(StSstStrip *ptr);
32  StSstStrip* first();
33  StSstStrip* last();
34  StSstStrip* getStrip(Int_t idStrip);
35  Int_t addNewStrip(StSstStrip *ptr);
36  Int_t removeStrip(StSstStrip *ptr); //
37  void exchangeTwoStrips(StSstStrip *ptr1, StSstStrip *ptr2);
38  void updateStrip(StSstStrip *ptr); //
39  void updateStripList(StSpaListNoise *ptr);
40  void sortStrip();
41  void setPedestalSigma(Int_t iStrip, Int_t iPedestal, Int_t iSigma, StSstDynamicControl *dynamicControl);
42  Int_t getSize();
43  int* getListAdc(Int_t idStrip, Int_t SizeCluster);
44  Int_t isSorted();
45 
46  private:
47  Int_t mListLength;
48  StSstStrip *mFirstStrip;
49  StSstStrip *mLastStrip;
50 };
51 #endif