]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSdigitSSD.h
fITSModuleIndexInfo is now copied from the AliITStrackV2 to the AliESDtrack (A. Dainese)
[u/mrichter/AliRoot.git] / ITS / AliITSdigitSSD.h
1 #ifndef ALIITSDIGITSSD_H
2 #define ALIITSDIGITSSD_H
3 /* Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 ////////////////////////////////////////////////////////
6 // Digit class for SSD                                //
7 ////////////////////////////////////////////////////////
8
9 #include <AliITSdigit.h>
10
11 //______________________________________________________________________
12 class AliITSdigitSSD: public AliITSdigit {
13
14  public:
15     AliITSdigitSSD(); //default constructor
16     //Standard constructor with digits
17     AliITSdigitSSD(const Int_t *digits);
18     //Standard constructor with digits, tracks, and hits
19     AliITSdigitSSD(const Int_t *digits,const Int_t *tracks,const Int_t *hits);
20     virtual ~AliITSdigitSSD(){/* destructor */}
21     // returns the array size used to store Tracks and Hits
22     // static Int_t GetNTracks() {return fgkSssd;}
23     Int_t  GetSignal() const {/* returns signal*/return fSignal;}
24     Int_t  GetStripNumber() const {/* returns strip number*/return fCoord2;}
25     //returns 1  when side P and 0 when side N
26     Int_t  IsSideP() const {if(fCoord1==0) return 1; else return 0; }
27     // returns the pointer to the array of hits which made this digit
28     // returns TArrayI of unduplicated track numbers (summed over hits).
29     virtual Int_t GetListOfTracks(TArrayI &t);
30     void Print(ostream *os); // Class ascii print function
31     void Read(istream *os);  // Class ascii read function
32     virtual void Print(Option_t *option="") const {TObject::Print(option);}
33     virtual Int_t Read(const char *name) {return TObject::Read(name);}
34
35
36  protected:
37     
38     
39     ClassDef(AliITSdigitSSD,3)   // Simulated digit object for SSD
40
41 };
42 // Input and output functions for standard C++ input/output.
43 ostream &operator<<(ostream &os,AliITSdigitSSD &source);
44 istream &operator>>(istream &os,AliITSdigitSSD &source);
45
46 #endif