Print removed
[u/mrichter/AliRoot.git] / ITS / AliITStrackSA.h
CommitLineData
13918578 1#ifndef ALIITSTRACKSA_H
2#define ALIITSTRACKSA_H
3/* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5////////////////////////////////////////////////////
6// Stand alone track class //
7// Origin: Elisabetta Crescio //
8// e-mail: crescio@to.infn.it //
9// //
10////////////////////////////////////////////////////
11
12#include "AliITStrackV2.h"
13
14class AliITStrackSA : public AliITStrackV2 {
15
16
17 public:
18
19 AliITStrackSA();
20 AliITStrackSA(const AliITStrackV2& t);
21 AliITStrackSA(const AliITStrackSA& t);
22 AliITStrackSA(Int_t layer, Int_t ladder, Int_t detector,
23 Double_t Ycoor, Double_t Zcoor, Double_t phi,
24 Double_t tanlambda, Double_t curv, Int_t lab);
25
26
27 Int_t GetClusterIndexSA(Int_t i) const {return fSain[i];}
28 Int_t GetNumberOfClustersSA() const {return fNSA;}
29 void AddClusterSA(Int_t layer, Int_t clnumb);
30 void AddClusterV2(Int_t layer,Int_t clnumb);
31
32 protected:
33
34 void SetNumberOfClustersSA(Int_t n){fNSA = n;}
35 void ResetIndexSA(){for(Int_t k=0; k<fgkMaxNumberOfClusters; k++) fSain[k]=0;}
36 static const Int_t fgkMaxNumberOfClusters = 20; // Max. number of clusters
37 // per trackSA
38 UInt_t fSain[fgkMaxNumberOfClusters]; // cluster index (SA)
39 Int_t fNSA; // number of clusters SA
40
41 ClassDef(AliITStrackSA,1)
42};
43
44#endif
45
46
47