]>
Commit | Line | Data |
---|---|---|
84ab81bf | 1 | #ifndef ALIITSRECPOINTU_H |
2 | #define ALIITSRECPOINTU_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | ///////////////////////////////////////////////////////////////// | |
8 | // Class to set the local coordinates in ITS Upgrade recpoint // | |
9 | ///////////////////////////////////////////////////////////////// | |
10 | ||
11 | #include <AliITSRecPoint.h> | |
12 | ||
13 | ||
14 | class AliITSRecPointU : public AliITSRecPoint { | |
15 | ||
16 | public : | |
17 | AliITSRecPointU(); | |
18 | virtual ~AliITSRecPointU() {}; // distructor | |
19 | AliITSRecPointU(const AliITSRecPointU& pt); | |
20 | AliITSRecPointU& operator=(const AliITSRecPointU &source); | |
21 | ||
22 | void SetLocalCoord(Float_t x, Float_t z) {fXloc=x; fZloc=z;} | |
0ac80088 | 23 | void SetModule(Int_t i){fModule=i;} |
9b615954 | 24 | void SetNTracksIdMC(Int_t nLabels) {fNTracksIdMC = nLabels;} |
25 | void AddTrackID(Int_t tid); | |
26 | ||
28798685 | 27 | Int_t GetModule() const {return fModule;} |
9b615954 | 28 | Int_t GetNTracksIdMC() const {return fNTracksIdMC;} |
28798685 | 29 | Int_t GetTrackID(Int_t ipart) const {if(ipart<0 || ipart >=kMaxLab) return -1; else return fTrackIdMC[ipart];} |
9b615954 | 30 | |
caadc8fb | 31 | enum {kMaxLab=24}; // maximum number of MC labels associated to the cluster |
32 | void CleanLabels() {SetNTracksIdMC(0); for(Int_t i=0; i<kMaxLab ; i++) fTrackIdMC[i]=-3; } | |
33 | ||
9b615954 | 34 | virtual void Print(Option_t* option = "") const; |
0ac80088 | 35 | |
36 | protected: | |
9b615954 | 37 | |
28798685 | 38 | Int_t fModule; // segmentation element within the same layer |
9b615954 | 39 | Int_t fNTracksIdMC; // total number of associated MC labels (could be more than 3!) |
40 | Int_t fTrackIdMC[kMaxLab]; // MC track labels | |
84ab81bf | 41 | |
42 | ClassDef(AliITSRecPointU,1) // AliITSRecPointU class | |
43 | ||
44 | }; | |
45 | #endif |