]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDPmdTrack.cxx
Using the recommended way of forward declarations for TVector and TMatrix (see v5...
[u/mrichter/AliRoot.git] / STEER / AliESDPmdTrack.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 /* $Id$ */
17
18 #include "AliESDPmdTrack.h"
19
20 // Event Data Summary Class
21 // For pmd tracks
22 // This is part of the reconstructed
23 // ESD events
24 // for the PMD detector
25
26 ClassImp(AliESDPmdTrack)
27
28 //--------------------------------------------------------------------------//
29 AliESDPmdTrack::AliESDPmdTrack () :
30   TObject(),
31   fDet(0),
32   fTheta(0),
33   fPhi(0),
34   fCluADC(0),
35   fCluPID(0)
36 {
37   // Default Constructor
38 }
39
40 //--------------------------------------------------------------------------//
41 AliESDPmdTrack::AliESDPmdTrack (const AliESDPmdTrack& PMDTrack) : 
42   TObject(PMDTrack),
43   fDet(PMDTrack.fDet),
44   fTheta(PMDTrack.fTheta),
45   fPhi(PMDTrack.fPhi),
46   fCluADC(PMDTrack.fCluADC),
47   fCluPID(PMDTrack.fCluPID)
48 {
49   // Copy Constructor
50 }
51
52 //--------------------------------------------------------------------------//
53 AliESDPmdTrack &AliESDPmdTrack::operator=(const AliESDPmdTrack& PMDTrack)
54 {
55   // Copy constructor
56   if(&PMDTrack == this) return *this;
57   fDet    = PMDTrack.fDet;
58   fTheta  = PMDTrack.fTheta;
59   fPhi    = PMDTrack.fPhi;
60   fCluADC = PMDTrack.fCluADC;
61   fCluPID = PMDTrack.fCluPID;
62   return *this;
63 }