]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSclusterTable.cxx
Changing GetZv to GetZ
[u/mrichter/AliRoot.git] / ITS / AliITSclusterTable.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 //////////////////////////////////////////////////////////////////////////
17 // Class used to simplify some operations with clusters.                 //
18 // -Function FillArray fills an array wich contains, for each            //
19 //  ITS module, an array with the indices of all the clusters detected   //
20 //  by the module. The indices correspond to the cluster indices in class// 
21 //  AliITSlayer of AliITStrackerV2.                                      //
22 //  This function is used in AliITStrackerSA::FindTracks.                // 
23 // -Function FillArrayLabel fills an array wich contains, for each       //
24 //  particle label, and for each layer, the information on clusters:     //
25 //  0 if there is no cluster, 1 if there is a cluster with this label.   //
26 //  This function is used to define trackable tracks.                    //
27 // -Function FillArrayCoorAngles fills arrays wich contains, for each    //
28 //  layer, the global coordinates, errors on x,y,z and angles lambda     //
29 //  and phi for each cluster                                             //
30 ///////////////////////////////////////////////////////////////////////////
31
32
33 #include <stdlib.h>
34 #include "AliITSclusterTable.h"
35 ClassImp(AliITSclusterTable)
36
37 //_______________________________________________________________
38 AliITSclusterTable::AliITSclusterTable():TObject(),
39 fOrInd(0),
40 fX(0),
41 fY(0),
42 fZ(0),
43 fSx(0),
44 fSy(0),
45 fSz(0),
46 fPhi(0),
47 fLam(0){
48   //Default constructor
49
50 }
51 //_______________________________________________________________
52 AliITSclusterTable::AliITSclusterTable(Double_t x, Double_t y, Double_t z, Double_t sx, Double_t sy, Double_t sz, Double_t phi, Double_t lambda, Int_t index):
53 fOrInd(index),
54 fX(x),
55 fY(y),
56 fZ(z),
57 fSx(sx),
58 fSy(sy),
59 fSz(sz),
60 fPhi(phi),
61 fLam(lambda){
62   //Default constructor
63
64 }
65
66