]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSRawClusterSDD.h
AliMiniHeader moved to separate file
[u/mrichter/AliRoot.git] / ITS / AliITSRawClusterSDD.h
CommitLineData
41b19549 1#ifndef ALIITSRAWCLUSTERSDD_H
2#define ALIITSRAWCLUSTERSDD_H
3
4#include "AliITSRawCluster.h"
5
6////////////////////////////////////////////////////
7// Cluster classes for set:ITS //
8// Raw Clusters for SDD //
9// //
10////////////////////////////////////////////////////
11
12class AliITSRawClusterSDD : public AliITSRawCluster {
13 public:
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
23 }
24 void Add(AliITSRawClusterSDD* clJ);
25 Bool_t Brother(AliITSRawClusterSDD* cluster,Float_t dz,Float_t dx);
26 void PrintInfo() const;
27 // Setters
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;}
40 // Getters
41 Float_t X() const {//X
42 return fX ;}
43 Float_t Z() const {//Z
44 return fZ ;}
45 Float_t Q() const {//Q
46 return fQ ;}
47 Float_t A() const {//A
48 return fAnode ;}
49 Float_t T() const {//T
50 return fTime ;}
51 Float_t Asigma() const {//Asigma
52 return fAsigma ;}
53 Float_t Tsigma() const {//Tsigma
54 return fTsigma ;}
55 Float_t W() const {//W
56 return fWing ;}
57 Int_t Anodes() const {//Anodes
58 return fNanodes ;}
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
67 return fTstart ;}
68 Int_t Tstartf() const {//Tstartf
69 return fTstartf ;}
70 Int_t Tstop() const {//Tstop
71 return fTstop;}
72 Int_t Tstopf() const {//Tstopf
73 return fTstopf ;}
74 Int_t Astart() const {//Astart
75 return fAstart ;}
76 Int_t Astop() const {//Astop
77 return fAstop ;}
78 protected:
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
97
98 ClassDef(AliITSRawClusterSDD,1) // AliITSRawCluster class for SDD
99};
100#endif