1 #ifndef ALIITSRAWCLUSTERSDD_H
2 #define ALIITSRAWCLUSTERSDD_H
4 #include "AliITSRawCluster.h"
6 ////////////////////////////////////////////////////
7 // Cluster classes for set:ITS //
8 // Raw Clusters for SDD //
10 ////////////////////////////////////////////////////
12 class AliITSRawClusterSDD : public AliITSRawCluster {
14 AliITSRawClusterSDD();
15 AliITSRawClusterSDD(Int_t wing,Float_t Anode,Float_t Time,Float_t Charge,
16 Float_t PeakAmplitude,Int_t PeakPosition,
17 Float_t Asigma,Float_t Tsigma,Float_t DriftPath,
18 Float_t AnodeOffset, Int_t Samples,
19 Int_t Tstart, Int_t Tstop,Int_t Tstartf,Int_t Tstopf,
20 Int_t Anodes, Int_t Astart, Int_t Astop);
21 AliITSRawClusterSDD( const AliITSRawClusterSDD & source);
22 virtual ~AliITSRawClusterSDD() {// destructor
24 void Add(AliITSRawClusterSDD* clJ);
25 Bool_t Brother(AliITSRawClusterSDD* cluster,Float_t dz,Float_t dx);
26 void PrintInfo() const;
28 void SetX(Float_t x) {fX=x;}
29 void SetZ(Float_t z) {fZ=z;}
30 void SetQ(Float_t q) {fQ=q;}
31 void SetAnode(Float_t anode) {fAnode=anode;}
32 void SetTime(Float_t time) {fTime=time;}
33 void SetAsigma(Float_t asigma) {fAsigma=asigma;}
34 void SetTsigma(Float_t tsigma) {fTsigma=tsigma;}
35 void SetWing(Int_t wing) {fWing=wing;}
36 void SetNanodes(Int_t na) {fNanodes=na;}
37 void SetNsamples(Int_t ns) {fMultiplicity=ns;}
38 void SetPeakAmpl(Float_t ampl) {fPeakAmplitude=ampl;}
39 void SetPeakPos(Int_t pos) {fPeakPosition=pos;}
41 Float_t X() const {//X
43 Float_t Z() const {//Z
45 Float_t Q() const {//Q
47 Float_t A() const {//A
49 Float_t T() const {//T
51 Float_t Asigma() const {//Asigma
53 Float_t Tsigma() const {//Tsigma
55 Float_t W() const {//W
57 Int_t Anodes() const {//Anodes
59 Int_t Samples() const {//Samples
60 return fMultiplicity;}
61 Float_t PeakAmpl() const {//PeakAmpl
62 return fPeakAmplitude ;}
63 Float_t SumAmpl() const {//PeakAmpl
64 return fSumAmplitude ;}
65 Int_t PeakPos() const {return fPeakPosition;}
66 Int_t Tstart() const {//Tstart
68 Int_t Tstartf() const {//Tstartf
70 Int_t Tstop() const {//Tstop
72 Int_t Tstopf() const {//Tstopf
74 Int_t Astart() const {//Astart
76 Int_t Astop() const {//Astop
79 Float_t fX; // X of cluster
80 Float_t fZ; // Z of cluster
81 Float_t fQ; // Q of cluster
82 Int_t fWing; // Wing number
83 Float_t fAnode; // Anode number
84 Float_t fTime; // Drift Time
85 Float_t fAsigma; // sigma (anode)
86 Float_t fTsigma; // sigma (time)
87 Float_t fPeakAmplitude; // Peak Amplitude
88 Float_t fSumAmplitude; // Total Amplitude (for weighting)
89 Int_t fPeakPosition; // index of digit corresponding to peak
90 Int_t fNanodes; // N of anodes used for the cluster
91 Int_t fTstart; // First sample in 1D cluster
92 Int_t fTstop; // Last sample in 1D cluster
93 Int_t fTstartf; // First sample in the full 2D cluster
94 Int_t fTstopf; // Last sample in the full 2D cluster
95 Int_t fAstart; // First anode in the 2D cluster
96 Int_t fAstop; // last anode in the 2D cluster
98 ClassDef(AliITSRawClusterSDD,1) // AliITSRawCluster class for SDD