Theta Cerenkov fixed + minors
[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
15dd636f 12#include "AliITStrackMI.h"
13918578 13
15dd636f 14class AliITStrackSA : public AliITStrackMI {
13918578 15
16
17 public:
18
19 AliITStrackSA();
15dd636f 20 AliITStrackSA(const AliITStrackMI& t);
13918578 21 AliITStrackSA(const AliITStrackSA& t);
7d62fb64 22 AliITStrackSA(AliITSgeom* geom,Int_t layer, Int_t ladder, Int_t detector,
13918578 23 Double_t Ycoor, Double_t Zcoor, Double_t phi,
24 Double_t tanlambda, Double_t curv, Int_t lab);
13918578 25 Int_t GetClusterIndexSA(Int_t i) const {return fSain[i];}
7e5bf5af 26 Int_t GetClusterMark(Int_t layer,Int_t i) const {return fCluMark[layer][i];}
13918578 27 Int_t GetNumberOfClustersSA() const {return fNSA;}
7e5bf5af 28 Int_t GetNumberOfMarked(Int_t lay) const {return fNM[lay];}
29 Int_t GetMaxNumberOfClusters() const {return fgkMaxNumberOfClusters;}
30 Int_t GetMaxNMarkedPerLayer() const {return fgkMaxNumberOfClustersL;}
13918578 31 void AddClusterSA(Int_t layer, Int_t clnumb);
32 void AddClusterV2(Int_t layer,Int_t clnumb);
7e5bf5af 33 void AddClusterMark(Int_t layer, Int_t clnumb);
13918578 34
35 protected:
36
37 void SetNumberOfClustersSA(Int_t n){fNSA = n;}
7e5bf5af 38 void SetNumberOfMarked(Int_t lay,Int_t n) {fNM[lay] = n;}
13918578 39 void ResetIndexSA(){for(Int_t k=0; k<fgkMaxNumberOfClusters; k++) fSain[k]=0;}
7e5bf5af 40 void ResetMarked();
41
42 static const Int_t fgkMaxNumberOfClustersL = 4;// Max. n. of clusters/layer
43 static const Int_t fgkMaxNumberOfClusters = 15;// Max. number of clusters
44 static const Int_t fgkLayers = 6; //Number of lyers
13918578 45 // per trackSA
46 UInt_t fSain[fgkMaxNumberOfClusters]; // cluster index (SA)
47 Int_t fNSA; // number of clusters SA
7e5bf5af 48
49 Int_t fCluMark[fgkLayers][fgkMaxNumberOfClustersL]; //indices for cluster used
50 Int_t fNM[fgkLayers]; //number of marked clusters
51
52 ClassDef(AliITStrackSA,3)
13918578 53};
54
55#endif
56
57
58