]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSclusterTable.cxx
Removing overlaps. Using assemblies for the alignable voulmes (L.Gaudichet)
[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   //Default constructor
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   fOrInd=0;
49 }
50 //_______________________________________________________________
51 AliITSclusterTable::AliITSclusterTable(Float_t x, Float_t y, Float_t z, Float_t sx, Float_t sy, Float_t sz, Double_t phi, Double_t lambda, Int_t index){
52   //Default constructor
53   fX = x;
54   fY = y;
55   fZ = z;
56   fSx= sx;
57   fSy= sy;
58   fSz= sz;
59   fPhi=phi;
60   fLam=lambda;
61   fOrInd=index;
62 }
63
64