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 ():
36 fInverseBendingMomentum(0),
47 // Default constructor
51 //_____________________________________________________________________________
52 AliESDMuonTrack::AliESDMuonTrack (const AliESDMuonTrack& MUONTrack):
54 fInverseBendingMomentum(MUONTrack.fInverseBendingMomentum),
55 fThetaX(MUONTrack.fThetaX),
56 fThetaY(MUONTrack.fThetaY),
58 fBendingCoor(MUONTrack.fBendingCoor),
59 fNonBendingCoor(MUONTrack.fNonBendingCoor),
60 fChi2(MUONTrack.fChi2),
61 fNHit(MUONTrack.fNHit),
62 fMatchTrigger(MUONTrack.fMatchTrigger),
63 fChi2MatchTrigger(MUONTrack.fChi2MatchTrigger)
67 // Deep copy implemented
71 //_____________________________________________________________________________
72 AliESDMuonTrack& AliESDMuonTrack::operator=(const AliESDMuonTrack& MUONTrack)
75 // Equal operator for a deep copy
77 if (this == &MUONTrack)
80 fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum;
81 fThetaX = MUONTrack.fThetaX;
82 fThetaY = MUONTrack.fThetaY ;
84 fBendingCoor = MUONTrack.fBendingCoor;
85 fNonBendingCoor = MUONTrack.fNonBendingCoor;
86 fChi2 = MUONTrack.fChi2;
87 fNHit = MUONTrack.fNHit ;
89 fMatchTrigger = MUONTrack.fMatchTrigger;
90 fChi2MatchTrigger = MUONTrack.fChi2MatchTrigger;