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 ///////////////////////////////////////////////////////////////////////////////
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
26 ///////////////////////////////////////////////////////////////////////////////
29 #include "AliESDMuonTrack.h"
31 ClassImp(AliESDMuonTrack)
33 //_____________________________________________________________________________
34 AliESDMuonTrack::AliESDMuonTrack (const AliESDMuonTrack& MUONTrack):
39 // Deep copy implemented
41 fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum;
42 fThetaX = MUONTrack.fThetaX;
43 fThetaY = MUONTrack.fThetaY ;
45 fBendingCoor = MUONTrack.fBendingCoor;
46 fNonBendingCoor = MUONTrack.fNonBendingCoor;
47 fChi2 = MUONTrack.fChi2;
48 fNHit = MUONTrack.fNHit ;
50 fMatchTrigger = MUONTrack.fMatchTrigger;
51 fChi2MatchTrigger = MUONTrack.fChi2MatchTrigger;
54 //_____________________________________________________________________________
55 AliESDMuonTrack& AliESDMuonTrack::operator=(const AliESDMuonTrack& MUONTrack)
58 // Equal operator for a deep copy
60 if (this == &MUONTrack)
63 fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum;
64 fThetaX = MUONTrack.fThetaX;
65 fThetaY = MUONTrack.fThetaY ;
67 fBendingCoor = MUONTrack.fBendingCoor;
68 fNonBendingCoor = MUONTrack.fNonBendingCoor;
69 fChi2 = MUONTrack.fChi2;
70 fNHit = MUONTrack.fNHit ;
72 fMatchTrigger = MUONTrack.fMatchTrigger;
73 fChi2MatchTrigger = MUONTrack.fChi2MatchTrigger;