1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 Revision 1.1.2.1 2000/09/22 14:47:52 cblume
23 #include "AliTRDcluster.h"
24 #include "AliTRDgeometry.h"
25 #include "AliTRDrecPoint.h"
28 ClassImp(AliTRDcluster)
30 //_____________________________________________________________________________
31 AliTRDcluster::AliTRDcluster() {
34 fDetector = fTimeBin = 0;
35 fTracks[0]=fTracks[1]=fTracks[2]=0;
36 fY=fZ=fQ=fSigmaY2=fSigmaZ2=0.;
39 //_____________________________________________________________________________
40 AliTRDcluster::AliTRDcluster(AliTRDrecPoint *rp)
43 // constructor from AliTRDrecPoint
46 fDetector = rp->GetDetector();
47 fTimeBin = rp->GetLocalTimeBin();
49 fTracks[0] = rp->GetTrackIndex(0);
50 fTracks[1] = rp->GetTrackIndex(1);
51 fTracks[2] = rp->GetTrackIndex(2);
57 fSigmaY2 = rp->GetSigmaY2();
58 fSigmaZ2 = rp->GetSigmaZ2();