13918578 |
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. // |
bef31448 |
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 // |
13918578 |
30 | /////////////////////////////////////////////////////////////////////////// |
31 | |
32 | |
aa4b78e1 |
33 | #include <stdlib.h> |
13918578 |
34 | #include "AliITSclusterTable.h" |
13918578 |
35 | ClassImp(AliITSclusterTable) |
13918578 |
36 | |
37 | //_______________________________________________________________ |
e399f961 |
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){ |
7e5bf5af |
48 | //Default constructor |
e399f961 |
49 | |
13918578 |
50 | } |
13918578 |
51 | //_______________________________________________________________ |
e399f961 |
52 | 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): |
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){ |
7e5bf5af |
62 | //Default constructor |
e399f961 |
63 | |
13918578 |
64 | } |
bef31448 |
65 | |
bef31448 |
66 | |