]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliCluster.cxx
More comments for documentation.
[u/mrichter/AliRoot.git] / STEER / AliCluster.cxx
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 //_____________________________________________________________________________
27 AliCluster::AliCluster() {
28   //default constructor
29   fTracks[0]=fTracks[1]=fTracks[2]=-3141593; 
30   fY=fZ=fSigmaY2=fSigmaZ2=0.;
31 }
32
33 //_____________________________________________________________________________
34 AliCluster::AliCluster(Int_t *lab, Float_t *hit) {
35   //Creates a simulated cluster
36   fTracks[0]  = lab[0];
37   fTracks[1]  = lab[1];
38   fTracks[2]  = lab[2];
39   fY          = hit[0];
40   fZ          = hit[1];
41   fSigmaY2    = hit[2];
42   fSigmaZ2    = hit[3];
43 }