]>
Commit | Line | Data |
---|---|---|
41b19549 | 1 | #ifndef ALIITSRAWCLUSTERSPD_H |
2 | #define ALIITSRAWCLUSTERSPD_H | |
3 | ||
4 | #include "AliITSRawCluster.h" | |
5 | ||
6 | //////////////////////////////////////////////////// | |
7 | // Cluster classes for set:ITS // | |
8 | // Raw Clusters for SPD // | |
9 | // // | |
10 | //////////////////////////////////////////////////// | |
11 | ||
12 | class AliITSRawClusterSPD : public AliITSRawCluster { | |
13 | public: | |
14 | AliITSRawClusterSPD(); | |
15 | AliITSRawClusterSPD(Float_t clz,Float_t clx,Float_t Charge, | |
16 | Int_t ClusterSizeZ,Int_t ClusterSizeX, | |
17 | Int_t xstart,Int_t xstop,Float_t zstart, | |
18 | Float_t zstop,Int_t zend,Int_t module); | |
19 | virtual ~AliITSRawClusterSPD() {// destructor | |
20 | } | |
21 | void Add(AliITSRawClusterSPD* clJ); | |
22 | Bool_t Brother(AliITSRawClusterSPD* cluster,Float_t dz,Float_t dx) const; | |
23 | void PrintInfo() const; | |
24 | // Getters | |
25 | Float_t Q() const {// Q | |
26 | return fQ ;} | |
27 | Float_t Z() const {// Z | |
28 | return fZ ;} | |
29 | Float_t X() const {// X | |
30 | return fX ;} | |
31 | Int_t NclZ() const {// NclZ | |
32 | return fNClZ ;} | |
33 | Int_t NclX() const {// NclX | |
34 | return fNClX ;} | |
35 | Int_t XStart() const {//XStart | |
36 | return fXStart;} | |
37 | Int_t XStop() const {//XStop | |
38 | return fXStop;} | |
39 | Int_t XStartf() const {//XStartf | |
40 | return fXStart;} | |
41 | Int_t XStopf() const {//XStopf | |
42 | return fXStop;} | |
43 | Float_t ZStart() const {//ZStart | |
44 | return fZStart;} | |
45 | Float_t ZStop() const {//ZStop | |
46 | return fZStop;} | |
47 | Int_t Zend() const {//Zend | |
48 | return fZend;} | |
49 | Int_t NTracks() const {//NTracks | |
50 | return fNTracks;} | |
51 | Int_t Module() const {//Returns module where this cluster came from | |
52 | return fModule;} | |
53 | void GetTracks(Int_t &track0,Int_t &track1,Int_t &track2) const {track0=fTracks[0]; track1=fTracks[1]; track2=fTracks[2];} | |
54 | void SetTracks(Int_t track0, Int_t track1, Int_t track2); | |
55 | void SetNTracks(Int_t ntracks) { | |
56 | // set ntracks | |
57 | fNTracks=ntracks; | |
58 | } | |
59 | protected: | |
60 | Float_t fX; // X of cluster | |
61 | Float_t fZ; // Z of cluster | |
62 | Float_t fQ; // Q of cluster | |
63 | Int_t fNClZ; // Cluster size in Z direction | |
64 | Int_t fNClX; // Cluster size in X direction | |
65 | Int_t fXStart; // number of first pixel in cluster | |
66 | Int_t fXStop; // number of last pixel in cluster | |
67 | Float_t fZStart; // number of first pixel in cluster | |
68 | Float_t fZStop; // number of last pixel in cluster | |
69 | Int_t fZend; // Zend | |
70 | Int_t fNTracks; // number of tracks created a cluster | |
71 | Int_t fTracks[3]; // tracks created a cluster | |
72 | Int_t fModule; // Module number for this culuster | |
73 | ||
74 | ClassDef(AliITSRawClusterSPD,2) // AliITSRawCluster class for SPD | |
75 | }; | |
76 | ||
77 | #endif |