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 //-----------------------------------------------------------------------------
19 // Class AliMUONTriggerTrack
20 //---------------------------
21 // Reconstructed Trigger track in ALICE dimuon spectrometer
22 // Note: equivalent to AliMUONTriggerTrack for tracking,
23 // No need for a AliMUONTriggerTrackParam
24 // Author: Philippe Crochet
25 //-----------------------------------------------------------------------------
27 #include "AliMUONTriggerTrack.h"
28 #include "AliMUONTrackReconstructor.h"
29 #include <Riostream.h>
33 ClassImp(AliMUONTriggerTrack)
36 //__________________________________________________________________________
37 AliMUONTriggerTrack::AliMUONTriggerTrack()
48 AliDebug(1,Form("this=%p",this));
50 //__________________________________________________________________________
51 AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Int_t loTrgNum, Long_t theGTPattern)
58 fGTPattern(theGTPattern)
60 /// ctor from local trigger output
61 AliDebug(1,Form("this=%p x11=%f y11=%f thetax=%f thetay=%f loTrgNum=%d GTPattern=%ld",
62 this,x11,y11,thetax,thetay,loTrgNum,theGTPattern));
66 //__________________________________________________________________________
67 AliMUONTriggerTrack::~AliMUONTriggerTrack()
70 AliDebug(1,Form("this=%p",this));
73 //__________________________________________________________________________
74 AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& theMUONTriggerTrack)
75 : TObject(theMUONTriggerTrack),
76 fx11(theMUONTriggerTrack.fx11),
77 fy11(theMUONTriggerTrack.fy11),
78 fthetax(theMUONTriggerTrack.fthetax),
79 fthetay(theMUONTriggerTrack.fthetay),
80 floTrgNum(theMUONTriggerTrack.floTrgNum),
81 fGTPattern(theMUONTriggerTrack.fGTPattern)
86 AliDebug(1,Form("this=%p copy ctor",this));
90 //__________________________________________________________________________
91 AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
94 /// Assignment operator
96 // check assignement to self
97 if (this == &theMUONTriggerTrack)
100 /// base class assignement
101 TObject::operator=(theMUONTriggerTrack);
103 fx11 = theMUONTriggerTrack.fx11;
104 fy11 = theMUONTriggerTrack.fy11;
105 fthetax = theMUONTriggerTrack.fthetax;
106 fthetay = theMUONTriggerTrack.fthetay;
107 floTrgNum = theMUONTriggerTrack.floTrgNum;
108 fGTPattern = theMUONTriggerTrack.fGTPattern;
113 //__________________________________________________________________________
115 AliMUONTriggerTrack::Print(Option_t*) const
119 cout << Form("(X,Y)11=(%7.2f,%7.2f) Theta(X,Y)=(%7.2f,%7.2f) LocalBoard #%3d GlobalTriggerPattern %x",
120 fx11,fy11,fthetax,fthetay,floTrgNum,fGTPattern) << endl;