]>
Commit | Line | Data |
---|---|---|
87594435 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, 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 | // Implementation of the Cluster class | |
18 | // | |
19 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch | |
20 | //------------------------------------------------------------------------- | |
21 | ||
22 | #include "AliCluster.h" | |
23 | ||
24 | ClassImp(AliCluster) | |
25 | ||
26 | //_____________________________________________________________________________ | |
968c248e | 27 | AliCluster::AliCluster(): |
28 | fY(0), fZ(0), fSigmaY2(0), fSigmaZ2(0) | |
29 | { | |
30 | // | |
87594435 | 31 | //default constructor |
968c248e | 32 | // |
87594435 | 33 | fTracks[0]=fTracks[1]=fTracks[2]=-3141593; |
87594435 | 34 | } |
35 | ||
36 | //_____________________________________________________________________________ | |
968c248e | 37 | AliCluster::AliCluster(Int_t *lab, Float_t *hit): |
38 | fY(hit[0]), fZ(hit[1]), fSigmaY2(hit[2]), fSigmaZ2(hit[3]) | |
39 | { | |
40 | // | |
41 | // Creates a simulated cluster | |
42 | // | |
87594435 | 43 | fTracks[0] = lab[0]; |
44 | fTracks[1] = lab[1]; | |
45 | fTracks[2] = lab[2]; | |
87594435 | 46 | } |