4 ////////////////////////////////////////////////
5 // Digits classes for set:ITS //
6 ////////////////////////////////////////////////
11 //___________________________________________
12 class AliITSdigit: public TObject {
16 Int_t fCoord1; // Cell number on Z axis (SPD+SDD) , flag for side type (SSD)
17 Int_t fCoord2 ; // Cell number on X axis (SPD+SDD) , strip number (SSD)
18 Int_t fSignal; // Signal in ADC counts
23 fSignal=fCoord1=fCoord2=0;
25 AliITSdigit(Int_t *digits);
26 virtual ~AliITSdigit() {
30 virtual int *GetTracks() {return 0;}
31 virtual Int_t *GetHits() {return 0;}
33 ClassDef(AliITSdigit,1) // Real data digit object for set:ITS
36 //___________________________________________
37 class AliITSdigitSPD: public AliITSdigit {
41 // debugging -- goes to the dictionary
42 Int_t fTracks[3]; // tracks making this digit
43 Int_t fHits[3]; // hits associated to the tracks
44 // 3 hits temporarily - it will be only 1
49 AliITSdigitSPD(Int_t *digits);
50 AliITSdigitSPD(Int_t *digits, Int_t *tracks, Int_t *hits);
52 virtual ~AliITSdigitSPD(){
55 virtual int *GetTracks() {
56 // returns pointer to the array of tracks which make this digit
60 virtual Int_t *GetHits(){
61 // returns the pointer to the array of hits which made this digit
65 ClassDef(AliITSdigitSPD,1) // Simulated digit object for SPD
68 //___________________________________________
69 class AliITSdigitSDD: public AliITSdigit {
73 // debugging -- goes to the dictionary
74 Int_t fTracks[3]; // tracks making this digit
75 Int_t fHits[3]; // hits associated to the tracks
76 // 3 hits temporarily - it will be only 1
77 Float_t fTcharges[3]; // charge per track making this digit
78 Float_t fPhysics; // signal particles contribution to signal
83 AliITSdigitSDD(Float_t phys,Int_t *digits);
84 AliITSdigitSDD( Float_t phys, Int_t *digits, Int_t *tracks, Int_t *hits, Float_t *charges);
86 virtual ~AliITSdigitSDD(){
89 virtual int *GetTracks() {
90 // returns pointer to the array of tracks which make this digit
94 virtual Int_t *GetHits(){
95 // returns the pointer to the array of hits which made this digit
99 ClassDef(AliITSdigitSDD,1) // Simulated digit object for SDD
102 //_____________________________________________________________________________
104 class AliITSTransientDigit : public AliITSdigitSDD {
106 TObjArray *fTrackList; // track list
108 AliITSTransientDigit() {
112 AliITSTransientDigit(Float_t phys,Int_t *digits);
113 virtual ~AliITSTransientDigit() {
117 AliITSTransientDigit(const AliITSTransientDigit &source); // copy constructor
118 AliITSTransientDigit& operator=(const AliITSTransientDigit &source); // ass. operator
119 TObjArray *TrackList() {
120 // returns pointer to the TObjArray of tracks and associated charges
124 ClassDef(AliITSTransientDigit,1) // Transient digit for set: ITS
127 //___________________________________________
128 class AliITSdigitSSD: public AliITSdigit {
132 // debugging -- goes to the dictionary
133 Int_t fTracks[3]; // tracks making this digit
134 Int_t fHits[3]; // hits associated to the tracks
135 // 3 hits temporarily - it will be only 1
139 AliITSdigitSSD(Int_t *digits);
140 AliITSdigitSSD(Int_t *digits, Int_t *tracks, Int_t *hits);
142 virtual ~AliITSdigitSSD(){
146 Int_t GetSignal() const {
151 Int_t GetStripNumber() const {
152 // returns strip number
156 Int_t IsSideP() const {
157 //returns 1 when side P and 0 when side N
161 virtual int *GetTracks() {
162 // returns pointer to the array of tracks which make this digit
166 virtual Int_t *GetHits(){
167 // returns the pointer to the array of hits which made this digit
171 ClassDef(AliITSdigitSSD,1) // Simulated digit object for SSD