]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCcluster.cxx
code corrections
[u/mrichter/AliRoot.git] / TPC / AliTPCcluster.cxx
CommitLineData
73042f01 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$Log$
18Revision 1.1.2.2 2000/06/25 08:38:41 kowal2
19Splitted from AliTPCtracking
20
21*/
22
23//-----------------------------------------------------------------
24// Implementation of the TPC cluster class
25//
26// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
27//-----------------------------------------------------------------
28
29#include "AliTPCcluster.h"
30
31ClassImp(AliTPCcluster)
32
33//_____________________________________________________________________________
34AliTPCcluster::AliTPCcluster() {
35 //default constructor
36 fTracks[0]=fTracks[1]=fTracks[2]=0;
37 fY=fZ=fQ=fSigmaY2=fSigmaZ2=0.;
38}
39
40//_____________________________________________________________________________
41AliTPCcluster::AliTPCcluster(Float_t *hits, Int_t *lab)
42{
43 //
44 // Creates a simulated cluster for the TPC
45 //
46 fTracks[0] = lab[0];
47 fTracks[1] = lab[1];
48 fTracks[2] = lab[2];
49 fY = hits[0];
50 fZ = hits[1];
51 fQ = hits[2];
52 fSigmaY2 = hits[3];
53 fSigmaZ2 = hits[4];
54}
55