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 ClassDef(AliITSdigit,1) // Real data digit object for set:ITS
33 //___________________________________________
34 class AliITSdigitSPD: public AliITSdigit {
38 // debugging -- goes to the dictionary
39 Int_t fTracks[3]; // tracks making this digit
40 Int_t fHits[3]; // hits associated to the tracks
41 // 3 hits temporarily - it will be only 1
46 AliITSdigitSPD(Int_t *digits);
47 AliITSdigitSPD(Int_t *digits, Int_t *tracks, Int_t *hits);
49 virtual ~AliITSdigitSPD(){
52 virtual int *GetTracks() {
53 // returns pointer to the array of tracks which make this digit
57 ClassDef(AliITSdigitSPD,1) // Simulated digit object for SPD
60 //___________________________________________
61 class AliITSdigitSDD: public AliITSdigit {
65 // debugging -- goes to the dictionary
66 Int_t fTracks[3]; // tracks making this digit
67 Int_t fHits[3]; // hits associated to the tracks
68 // 3 hits temporarily - it will be only 1
69 Float_t fTcharges[3]; // charge per track making this digit
70 Float_t fPhysics; // signal particles contribution to signal
75 AliITSdigitSDD(Float_t phys,Int_t *digits);
76 AliITSdigitSDD( Float_t phys, Int_t *digits, Int_t *tracks, Int_t *hits, Float_t *charges);
78 virtual ~AliITSdigitSDD(){
81 virtual int *GetTracks() {
82 // returns pointer to the array of tracks which make this digit
86 ClassDef(AliITSdigitSDD,1) // Simulated digit object for SDD
89 //_____________________________________________________________________________
91 class AliITSTransientDigit : public AliITSdigitSDD {
93 TObjArray *fTrackList; // track list
95 AliITSTransientDigit() {
99 AliITSTransientDigit(Float_t phys,Int_t *digits);
100 virtual ~AliITSTransientDigit() {
104 AliITSTransientDigit(const AliITSTransientDigit &source); // copy constructor
105 AliITSTransientDigit& operator=(const AliITSTransientDigit &source); // ass. operator
106 TObjArray *TrackList() {
107 // returns pointer to the TObjArray of tracks and associated charges
111 ClassDef(AliITSTransientDigit,1) // Transient digit for set: ITS
114 //___________________________________________
115 class AliITSdigitSSD: public AliITSdigit {
119 // debugging -- goes to the dictionary
120 Int_t fTracks[3]; // tracks making this digit
121 Int_t fHits[3]; // hits associated to the tracks
122 // 3 hits temporarily - it will be only 1
126 AliITSdigitSSD(Int_t *digits);
127 AliITSdigitSSD(Int_t *digits, Int_t *tracks, Int_t *hits);
129 virtual ~AliITSdigitSSD(){
133 Int_t GetSignal() const {
138 Int_t GetStripNumber() const {
139 // returns strip number
143 Int_t IsSideP() const {
144 //returns 1 when side P and 0 when side N
148 virtual int *GetTracks() {
149 // returns pointer to the array of tracks which make this digit
153 ClassDef(AliITSdigitSSD,1) // Simulated digit object for SSD