]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDMuonTrack.cxx
Quantum efficiency implemented by setting energy deposition to zero to flag inefficiency.
[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 (const AliESDMuonTrack& MUONTrack):
35   TObject(MUONTrack)
36 {
37   //
38   // Copy constructor
39   // Deep copy implemented
40   //
41   fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum; 
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; 
52 }
53
54 //_____________________________________________________________________________
55 AliESDMuonTrack& AliESDMuonTrack::operator=(const AliESDMuonTrack& MUONTrack)
56 {
57   // 
58   // Equal operator for a deep copy
59   //
60   if (this == &MUONTrack)
61     return *this;
62
63   fInverseBendingMomentum = MUONTrack.fInverseBendingMomentum; 
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  
75   return *this;
76 }
77
78