- if (fTotalSignal>sx) fTotalSignal-=sx;
- }
-
- Bool_t GetRightNeighbour() const {
- // comment to be written
- return fRightNeighbour;
- }
- Bool_t GetLeftNeighbour() const {
- // comment to be written
- return fLeftNeighbour;
- }
- void SetRightNeighbour(Bool_t nei) {
- // comment to be written
- fRightNeighbour=nei;
- }
- void SetLeftNeighbour(Bool_t nei) {
- // comment to be written
- fLeftNeighbour=nei;
- }
- Bool_t GetSide(){
- // comment to be written
- return fSide;
- }
- Int_t CheckSatus(Int_t *tracks){
- //check if digits comes from the same track
- return 0;
- }
- Int_t *GetTracks(Int_t &nt);
- void Consume(){
- // comment
- fConsumed = kTRUE;
- }
- Bool_t IsConsumed() const{
- // comment
- return fConsumed;
- }
- Bool_t IsCrossingWith(Int_t idx);
-
-protected:
-
- Bool_t fSide; //True if P
- TObjArray *fDigits; //Pointer to List of Digitsbelonging to AliITS
-
- Int_t fNDigits; //Number of digits that make up that cluster
- TArrayI *fDigitsIndex; // Digit indexes in fDigits array
-
- Int_t fNCrosses; //Number of crossed one side clusters on the other siede
- // (max 8 : it is not aribtrary)
- TArrayI *fCrossedClusterIndexes; //Array of inedexes of crossed clusters (in TClonesArray)
- // not in TArrayI in package
-
- Bool_t fLeftNeighbour; // comment to be written
- Bool_t fRightNeighbour; // comment to be written
- Bool_t fConsumed; // comment to be written
-
- Float_t fTotalSignal; // comment to be written
- Int_t fTrack[10]; // comment to be written
- Int_t fNTrack; // comment to be written
-
- Double_t CentrOfGravity();
- Double_t EtaAlgorithm();
-
-private:
-
-/*************************************/
-/*************************************/
- ClassDef(AliITSclusterSSD,1) // Cluster class for reconstructing SSD
+ Int_t GetFirstDigitStripNo(){return GetDigitStripNo(0);}
+ Int_t GetLastDigitStripNo(){// comment to be written
+ return GetDigitStripNo(fNDigits-1);}
+ //splits this one side cluster for two
+ Int_t SplitCluster(Int_t where,Int_t *outdigits);
+ void AddCross(Int_t clIndex); //Add index of cluster that it crosses with
+ //return index of cluster that it crosses with
+ Int_t GetCross(Int_t crIndex) const ;
+ Int_t GetCrossNo() const {// Returns number of crosses
+ return fNCrosses;}
+ void DelCross(Int_t index);
+ Double_t GetPosition();
+ Double_t GetPositionError() const;
+ Float_t GetTotalSignal();
+ Float_t GetTotalSignalError();
+ void CutTotalSignal(Float_t sx) {// comment to be written
+ if (fTotalSignal>sx) fTotalSignal-=sx;}
+ Bool_t GetRightNeighbour() const {// comment to be written
+ return fRightNeighbour;}
+ Bool_t GetLeftNeighbour() const {// comment to be written
+ return fLeftNeighbour;}
+ void SetRightNeighbour(Bool_t nei) {// comment to be written
+ fRightNeighbour=nei;}
+ //comment to be written
+ void SetLeftNeighbour(Bool_t nei){fLeftNeighbour=nei;}
+ void SetNTracks(Int_t ntracks) {fNTracks=ntracks;}// set ntracks
+ Int_t GetNTracks() const {return fNTracks;}// comment to be written
+ Bool_t GetSide() const {return fSide;}// comment to be written
+ Int_t CheckSatus(Int_t *) const {return 0;}//check if dig's comes from same track
+ Int_t *GetTracks(Int_t &nt);
+ void Consume(){// comment
+ fConsumed = kTRUE;}
+ Bool_t IsConsumed() const{// comment
+ return fConsumed;}
+ Bool_t IsCrossingWith(Int_t idx) const;
+ protected:
+ Bool_t fSide; //True if P
+ TObjArray *fDigits; //Pointer to List of Digitsbelonging to AliITS
+ Int_t fNDigits; //Number of digits that make up that cluster
+ TArrayI *fDigitsIndex; // Digit indexes in fDigits array
+ Int_t fNCrosses; //Number of crossed one side clusters on the
+ // other side (max 8 : it is not aribtrary)
+ TArrayI *fCrossedClusterIndexes; //Array of inedexes of crossed clusters
+ // (in TClonesArray)
+ // not in TArrayI in package
+ Bool_t fLeftNeighbour; // comment to be written
+ Bool_t fRightNeighbour; // comment to be written
+ Bool_t fConsumed; // comment to be written
+ Float_t fTotalSignal; // comment to be written
+ Int_t fTrack[10]; // comment to be written
+ Int_t fNTracks; // comment to be written
+
+ Double_t CentrOfGravity();
+ Double_t EtaAlgorithm();
+ ClassDef(AliITSclusterSSD,1) // Cluster class for reconstructing SSD