#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>
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
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