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 // Reconstructed Trigger track
25 // note: equivalent to AliMUONTriggerTrack for tracking,
26 // no need for a AliMUONTriggerTrackParam
27 ///////////////////////////////////////////////////
29 #include "AliMUONTriggerTrack.h"
30 #include "AliMUONTrackReconstructor.h"
31 #include <Riostream.h>
34 //__________________________________________________________________________
35 AliMUONTriggerTrack::AliMUONTriggerTrack()
46 AliDebug(1,Form("this=%p",this));
48 //__________________________________________________________________________
49 AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Int_t loTrgNum, Long_t theGTPattern)
56 fGTPattern(theGTPattern)
58 /// ctor from local trigger output
59 AliDebug(1,Form("this=%p x11=%f y11=%f thetax=%f thetay=%f loTrgNum=%d GTPattern=%ld",
60 this,x11,y11,thetax,thetay,loTrgNum,theGTPattern));
64 //__________________________________________________________________________
65 AliMUONTriggerTrack::~AliMUONTriggerTrack()
68 AliDebug(1,Form("this=%p",this));
71 //__________________________________________________________________________
72 AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& theMUONTriggerTrack)
73 : TObject(theMUONTriggerTrack),
74 fx11(theMUONTriggerTrack.fx11),
75 fy11(theMUONTriggerTrack.fy11),
76 fthetax(theMUONTriggerTrack.fthetax),
77 fthetay(theMUONTriggerTrack.fthetay),
78 floTrgNum(theMUONTriggerTrack.floTrgNum),
79 fGTPattern(theMUONTriggerTrack.fGTPattern)
84 AliDebug(1,Form("this=%p copy ctor",this));
88 //__________________________________________________________________________
89 AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
92 /// Assignment operator
94 // check assignement to self
95 if (this == &theMUONTriggerTrack)
98 /// base class assignement
99 TObject::operator=(theMUONTriggerTrack);
101 fx11 = theMUONTriggerTrack.fx11;
102 fy11 = theMUONTriggerTrack.fy11;
103 fthetax = theMUONTriggerTrack.fthetax;
104 fthetay = theMUONTriggerTrack.fthetay;
105 floTrgNum = theMUONTriggerTrack.floTrgNum;
106 fGTPattern = theMUONTriggerTrack.fGTPattern;
111 //__________________________________________________________________________
113 AliMUONTriggerTrack::Print(Option_t*) const
117 cout << Form("(X,Y)11=(%7.2f,%7.2f) Theta(X,Y)=(%7.2f,%7.2f) LocalBoard #%3d GlobalTriggerPattern %x",
118 fx11,fy11,fthetax,fthetay,floTrgNum,fGTPattern) << endl;