]>
Commit | Line | Data |
---|---|---|
af7ba10c | 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 | /////////////////////////////////////////////////////////////////////////////// | |
19 | // | |
20 | // Class to describe the MUON tracks | |
21 | // in the Event Summary Data class | |
22 | // This is where the results of reconstruction | |
23 | // are stored for the muons | |
24 | // Author: G.Martinez | |
25 | // | |
26 | /////////////////////////////////////////////////////////////////////////////// | |
27 | ||
28 | ||
672b5f43 | 29 | #include "AliESDMuonTrack.h" |
30 | ||
af7ba10c | 31 | ClassImp(AliESDMuonTrack) |
32 | ||
33 | //_____________________________________________________________________________ | |
34 | AliESDMuonTrack::AliESDMuonTrack (const AliESDMuonTrack& MUONTrack): | |
35 | TObject(MUONTrack) | |
5ec1b3bc | 36 | { |
af7ba10c | 37 | // |
38 | // Copy constructor | |
39 | // Deep copy implemented | |
40 | // | |
5ec1b3bc | 41 | fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum; |
8252d536 | 42 | fThetaX = MUONTrack.fThetaX; |
43 | fThetaY = MUONTrack.fThetaY ; | |
44 | fZ = MUONTrack.fZ; | |
45 | fBendingCoor = MUONTrack.fBendingCoor; | |
46 | fNonBendingCoor = MUONTrack.fNonBendingCoor; | |
47 | fChi2 = MUONTrack.fChi2; | |
48 | fNHit = MUONTrack.fNHit ; | |
49 | ||
50 | fMatchTrigger = MUONTrack.fMatchTrigger; | |
51 | fChi2MatchTrigger = MUONTrack.fChi2MatchTrigger; | |
5ec1b3bc | 52 | } |
53 | ||
af7ba10c | 54 | //_____________________________________________________________________________ |
5ec1b3bc | 55 | AliESDMuonTrack& AliESDMuonTrack::operator=(const AliESDMuonTrack& MUONTrack) |
56 | { | |
af7ba10c | 57 | // |
58 | // Equal operator for a deep copy | |
59 | // | |
5ec1b3bc | 60 | if (this == &MUONTrack) |
61 | return *this; | |
62 | ||
63 | fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum; | |
8252d536 | 64 | fThetaX = MUONTrack.fThetaX; |
65 | fThetaY = MUONTrack.fThetaY ; | |
66 | fZ = MUONTrack.fZ; | |
67 | fBendingCoor = MUONTrack.fBendingCoor; | |
68 | fNonBendingCoor = MUONTrack.fNonBendingCoor; | |
69 | fChi2 = MUONTrack.fChi2; | |
70 | fNHit = MUONTrack.fNHit ; | |
71 | ||
72 | fMatchTrigger = MUONTrack.fMatchTrigger; | |
73 | fChi2MatchTrigger = MUONTrack.fChi2MatchTrigger; | |
74 | ||
5ec1b3bc | 75 | return *this; |
76 | } | |
77 | ||
672b5f43 | 78 |