]>
Commit | Line | Data |
---|---|---|
0b3dd00a | 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 | ||
30178c30 | 16 | /* $Id$*/ |
0b3dd00a | 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 | ||
0b3dd00a | 29 | #include "AliMUONTriggerTrack.h" |
29f1b13a | 30 | #include "AliMUONTrackReconstructor.h" |
0b3dd00a | 31 | |
9131b4fe | 32 | |
0b3dd00a | 33 | //__________________________________________________________________________ |
34 | AliMUONTriggerTrack::AliMUONTriggerTrack() | |
7fe0032c | 35 | : TObject(), |
36 | fx11(0), | |
37 | fy11(0), | |
38 | fthetax(0), | |
39 | fthetay(0), | |
40 | fGTPattern(0) | |
41 | ||
0b3dd00a | 42 | { |
7fe0032c | 43 | // default ctr |
0b3dd00a | 44 | } |
45 | //__________________________________________________________________________ | |
7fe0032c | 46 | AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Long_t theGTPattern) |
30178c30 | 47 | : TObject() |
0b3dd00a | 48 | { |
d1525c79 | 49 | // ctor from local trigger output |
0b3dd00a | 50 | fx11 = x11; |
51 | fy11 = y11; | |
52 | fthetax = thetax; | |
53 | fthetay = thetay; | |
d694b6f6 | 54 | fGTPattern = theGTPattern; |
9131b4fe | 55 | |
0b3dd00a | 56 | } |
57 | ||
58 | //__________________________________________________________________________ | |
59 | AliMUONTriggerTrack::~AliMUONTriggerTrack() | |
60 | { | |
61 | // Destructor | |
62 | ; | |
63 | ||
64 | } | |
65 | ||
66 | //__________________________________________________________________________ | |
30178c30 | 67 | AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& theMUONTriggerTrack) |
68 | : TObject(theMUONTriggerTrack) | |
0b3dd00a | 69 | { |
30178c30 | 70 | fx11 = theMUONTriggerTrack.fx11; |
71 | fy11 = theMUONTriggerTrack.fy11; | |
72 | fthetax = theMUONTriggerTrack.fthetax; | |
73 | fthetay = theMUONTriggerTrack.fthetay; | |
74 | fGTPattern = theMUONTriggerTrack.fGTPattern; | |
0b3dd00a | 75 | } |
76 | ||
77 | //__________________________________________________________________________ | |
78 | AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack& | |
30178c30 | 79 | theMUONTriggerTrack) |
0b3dd00a | 80 | { |
30178c30 | 81 | // check assignement to self |
82 | if (this == &theMUONTriggerTrack) | |
0b3dd00a | 83 | return *this; |
84 | ||
30178c30 | 85 | // base class assignement |
86 | TObject::operator=(theMUONTriggerTrack); | |
87 | ||
30178c30 | 88 | fx11 = theMUONTriggerTrack.fx11; |
89 | fy11 = theMUONTriggerTrack.fy11; | |
90 | fthetax = theMUONTriggerTrack.fthetax; | |
91 | fthetay = theMUONTriggerTrack.fthetay; | |
92 | fGTPattern = theMUONTriggerTrack.fGTPattern; | |
9131b4fe | 93 | |
0b3dd00a | 94 | return *this; |
95 | } |