]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerTrack.cxx
hardcoded detector position; bug in alignment pth fixed
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerTrack.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 // Reconstructed Trigger track
21 // in
22 // ALICE
23 // dimuon
24 // spectrometer
25 // note: equivalent to AliMUONTriggerTrack for tracking,
26 // no need for a AliMUONTriggerTrackParam
27 ///////////////////////////////////////////////////
28
29 #include "AliMUONTriggerTrack.h"
30 #include "AliMUONTrackReconstructor.h" 
31
32
33 //__________________________________________________________________________
34 AliMUONTriggerTrack::AliMUONTriggerTrack()
35   : TObject(),
36     fx11(0),
37     fy11(0),
38     fthetax(0),
39     fthetay(0),
40     fGTPattern(0)
41
42 {
43   // default ctr
44 }
45 //__________________________________________________________________________
46 AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Long_t theGTPattern)
47     : TObject(),
48       fx11(x11),
49       fy11(y11),
50       fthetax(thetax),
51       fthetay(thetay),
52       fGTPattern(theGTPattern)
53 {
54 // ctor from local trigger output
55 }
56
57 //__________________________________________________________________________
58 AliMUONTriggerTrack::~AliMUONTriggerTrack()
59 {
60   // Destructor
61     ;
62     
63 }
64
65 //__________________________________________________________________________
66 AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& theMUONTriggerTrack)
67     : TObject(theMUONTriggerTrack),
68       fx11(theMUONTriggerTrack.fx11),
69       fy11(theMUONTriggerTrack.fy11),
70       fthetax(theMUONTriggerTrack.fthetax),
71       fthetay(theMUONTriggerTrack.fthetay),
72       fGTPattern(theMUONTriggerTrack.fGTPattern)    
73 {
74 //
75 // copy ctor
76 //
77 }
78       
79 //__________________________________________________________________________
80 AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
81 theMUONTriggerTrack)
82 {
83     // check assignement to self
84     if (this == &theMUONTriggerTrack)
85         return *this;
86     
87     // base class assignement
88     TObject::operator=(theMUONTriggerTrack);
89
90     fx11 = theMUONTriggerTrack.fx11;
91     fy11 = theMUONTriggerTrack.fy11;
92     fthetax = theMUONTriggerTrack.fthetax;
93     fthetay = theMUONTriggerTrack.fthetay;
94     fGTPattern = theMUONTriggerTrack.fGTPattern;
95
96     return *this;
97 }