]>
Commit | Line | Data |
---|---|---|
561b7b31 | 1 | #include "AliESDPmdTrack.h" |
2 | ||
3 | ClassImp(AliESDPmdTrack) | |
4 | ||
5 | AliESDPmdTrack::AliESDPmdTrack (const AliESDPmdTrack& PMDTrack):TObject(PMDTrack) | |
6 | { | |
7 | // Constructor | |
8 | fDet = PMDTrack.fDet; | |
9 | fTheta = PMDTrack.fTheta; | |
10 | fPhi = PMDTrack.fPhi; | |
11 | fCluADC = PMDTrack.fCluADC; | |
12 | fCluPID = PMDTrack.fCluPID; | |
13 | } | |
14 | //--------------------------------------------------------------------------// | |
15 | AliESDPmdTrack &AliESDPmdTrack::operator=(const AliESDPmdTrack& PMDTrack) | |
16 | { | |
17 | // Copy constructor | |
18 | if(&PMDTrack == this) return *this; | |
19 | fDet = PMDTrack.fDet; | |
20 | fTheta = PMDTrack.fTheta; | |
21 | fPhi = PMDTrack.fPhi; | |
22 | fCluADC = PMDTrack.fCluADC; | |
23 | fCluPID = PMDTrack.fCluPID; | |
24 | return *this; | |
25 | } |