1 #ifndef ALIITSRAWCLUSTERSPD_H
2 #define ALIITSRAWCLUSTERSPD_H
4 #include "AliITSRawCluster.h"
6 ////////////////////////////////////////////////////
7 // Cluster classes for set:ITS //
8 // Raw Clusters for SPD //
10 ////////////////////////////////////////////////////
12 class AliITSRawClusterSPD : public AliITSRawCluster {
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
21 void Add(AliITSRawClusterSPD* clJ);
22 Bool_t Brother(AliITSRawClusterSPD* cluster,Float_t dz,Float_t dx) const;
23 void PrintInfo() const;
25 Float_t Q() const {// Q
27 Float_t Z() const {// Z
29 Float_t X() const {// X
31 Int_t NclZ() const {// NclZ
33 Int_t NclX() const {// NclX
35 Int_t XStart() const {//XStart
37 Int_t XStop() const {//XStop
39 Int_t XStartf() const {//XStartf
41 Int_t XStopf() const {//XStopf
43 Float_t ZStart() const {//ZStart
45 Float_t ZStop() const {//ZStop
47 Int_t Zend() const {//Zend
49 Int_t NTracks() const {//NTracks
51 Int_t Module() const {//Returns module where this cluster came from
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) {
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
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
74 ClassDef(AliITSRawClusterSPD,2) // AliITSRawCluster class for SPD