]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSdigitSSD.h
Remove AliTRDv2
[u/mrichter/AliRoot.git] / ITS / AliITSdigitSSD.h
index fc1a66fcac89b492896f156af7889c8d5add47bc..f6a3d5dbbd210e06a5beb48698109d357db94766 100644 (file)
@@ -2,6 +2,9 @@
 #define ALIITSDIGITSSD_H
 /* Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice     */
+////////////////////////////////////////////////////////
+// Digit class for SSD                                //
+////////////////////////////////////////////////////////
 
 #include <AliITSdigit.h>
 
@@ -20,7 +23,7 @@ class AliITSdigitSSD: public AliITSdigit {
     Int_t  GetSignal() const {/* returns signal*/return fSignal;}
     Int_t  GetStripNumber() const {/* returns strip number*/return fCoord2;}
     //returns 1  when side P and 0 when side N
-    Int_t  IsSideP() const {return fCoord1;}
+    Int_t  IsSideP() const {if(fCoord1==0) return 1; else return 0; }
     // returns pointer to the array of tracks which make this digit
     virtual Int_t *GetTracks() {return &fTracks[0];}
     // returns the pointer to the array of hits which made this digit
@@ -43,6 +46,9 @@ class AliITSdigitSSD: public AliITSdigit {
     virtual void SetHit(Int_t i,Int_t hit){fHits[i]=hit;}
     void Print(ostream *os); // Class ascii print function
     void Read(istream *os);  // Class ascii read function
+    virtual void Print(Option_t *option="") const {TObject::Print(option);}
+    virtual Int_t Read(const char *name) {return TObject::Read(name);}
+
 
  protected:
     static const Int_t fgkSssd = 10; // size of fTracks and fHits arrays