00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef STSSDSTRIPLIST_HH
00015 #define STSSDSTRIPLIST_HH
00016
00017 #include "StSsdDynamicControl.h"
00018 #include "StSsdStrip.hh"
00019 class StSpaListNoise;
00020
00021 class StSsdStripList {
00022 public:
00023 StSsdStripList();
00024 ~StSsdStripList();
00025 StSsdStripList(const StSsdStripList & originalStripList);
00026 StSsdStripList& operator=(const StSsdStripList originalStripList);
00027
00028 StSsdStrip* next(StSsdStrip *ptr);
00029 StSsdStrip* prev(StSsdStrip *ptr);
00030 StSsdStrip* first();
00031 StSsdStrip* last();
00032 StSsdStrip* getStrip(Int_t idStrip);
00033 Int_t addNewStrip(StSsdStrip *ptr);
00034 Int_t removeStrip(StSsdStrip *ptr);
00035 void exchangeTwoStrips(StSsdStrip *ptr1, StSsdStrip *ptr2);
00036 void updateStrip(StSsdStrip *ptr);
00037 void updateStripList(StSpaListNoise *ptr);
00038 void sortStrip();
00039 StSsdStripList* addStripList(StSsdStripList *list);
00040 void setPedestalSigma(Int_t iStrip, Int_t iPedestal, Int_t iSigma, StSsdDynamicControl *dynamicControl);
00041 Int_t getSize();
00042 int* getListAdc(Int_t idStrip, Int_t SizeCluster);
00043 Int_t isSorted();
00044
00045 private:
00046 Int_t mListLength;
00047 StSsdStrip *mFirstStrip;
00048 StSsdStrip *mLastStrip;
00049 };
00050 #endif