]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDMuonTrack.cxx
Storing the alignable volume matrices. The matrixes transform from the tracking V2...
[u/mrichter/AliRoot.git] / STEER / AliESDMuonTrack.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 ///////////////////////////////////////////////////////////////////////////////
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
29 #include "AliESDMuonTrack.h"
30
31 ClassImp(AliESDMuonTrack)
32
33 //_____________________________________________________________________________
34 AliESDMuonTrack::AliESDMuonTrack ():
35   TObject(),
36   fInverseBendingMomentum(0),
37   fThetaX(0),
38   fThetaY(0),
39   fZ(0),
40   fBendingCoor(0),
41   fNonBendingCoor(0),
42   fChi2(0),
43   fNHit(0),
44   fMatchTrigger(0),
45   fChi2MatchTrigger(0)
46 {
47   // Default constructor
48 }
49
50
51 //_____________________________________________________________________________
52 AliESDMuonTrack::AliESDMuonTrack (const AliESDMuonTrack& MUONTrack):
53   TObject(MUONTrack),
54   fInverseBendingMomentum(MUONTrack.fInverseBendingMomentum),
55   fThetaX(MUONTrack.fThetaX),
56   fThetaY(MUONTrack.fThetaY),
57   fZ(MUONTrack.fZ),
58   fBendingCoor(MUONTrack.fBendingCoor),
59   fNonBendingCoor(MUONTrack.fNonBendingCoor),
60   fChi2(MUONTrack.fChi2),
61   fNHit(MUONTrack.fNHit),
62   fMatchTrigger(MUONTrack.fMatchTrigger),
63   fChi2MatchTrigger(MUONTrack.fChi2MatchTrigger)
64 {
65   //
66   // Copy constructor
67   // Deep copy implemented
68   //
69 }
70
71 //_____________________________________________________________________________
72 AliESDMuonTrack& AliESDMuonTrack::operator=(const AliESDMuonTrack& MUONTrack)
73 {
74   // 
75   // Equal operator for a deep copy
76   //
77   if (this == &MUONTrack)
78     return *this;
79
80   fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum; 
81   fThetaX                 = MUONTrack.fThetaX;           
82   fThetaY                 = MUONTrack.fThetaY ;           
83   fZ                      = MUONTrack.fZ;                
84   fBendingCoor            = MUONTrack.fBendingCoor;      
85   fNonBendingCoor         = MUONTrack.fNonBendingCoor;   
86   fChi2                   = MUONTrack.fChi2;             
87   fNHit                   = MUONTrack.fNHit ; 
88
89   fMatchTrigger           = MUONTrack.fMatchTrigger;  
90   fChi2MatchTrigger       = MUONTrack.fChi2MatchTrigger; 
91  
92   return *this;
93 }
94
95