Introducing Header instead of Log
[u/mrichter/AliRoot.git] / STEER / AliCluster.cxx
CommitLineData
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
fb17acd4 16/* $Header$ */
17
87594435 18//-------------------------------------------------------------------------
19// Implementation of the Cluster class
20//
21// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
22//-------------------------------------------------------------------------
23
24#include "AliCluster.h"
25
26ClassImp(AliCluster)
27
28//_____________________________________________________________________________
968c248e 29AliCluster::AliCluster():
30 fY(0), fZ(0), fSigmaY2(0), fSigmaZ2(0)
31{
32 //
87594435 33 //default constructor
968c248e 34 //
87594435 35 fTracks[0]=fTracks[1]=fTracks[2]=-3141593;
87594435 36}
37
38//_____________________________________________________________________________
968c248e 39AliCluster::AliCluster(Int_t *lab, Float_t *hit):
40 fY(hit[0]), fZ(hit[1]), fSigmaY2(hit[2]), fSigmaZ2(hit[3])
41{
42 //
43 // Creates a simulated cluster
44 //
87594435 45 fTracks[0] = lab[0];
46 fTracks[1] = lab[1];
47 fTracks[2] = lab[2];
87594435 48}