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 <Riostream.h> // for cout
30 #include <stdlib.h> // for exit()
32 #include <TClonesArray.h>
35 #include <TObjArray.h>
37 #include "AliMUONEventReconstructor.h"
38 #include "AliMUONTriggerTrack.h"
41 //__________________________________________________________________________
42 AliMUONTriggerTrack::AliMUONTriggerTrack()
44 fEventReconstructor = 0;
51 //__________________________________________________________________________
52 AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Long_t GTPattern, AliMUONEventReconstructor* EventReconstructor)
54 fEventReconstructor = EventReconstructor; // link back to EventReconstructor
59 fGTPattern = GTPattern;
63 //__________________________________________________________________________
64 AliMUONTriggerTrack::~AliMUONTriggerTrack()
71 //__________________________________________________________________________
72 AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& MUONTriggerTrack):TObject(MUONTriggerTrack)
74 fEventReconstructor = new AliMUONEventReconstructor(*MUONTriggerTrack.fEventReconstructor);
75 fx11 = MUONTriggerTrack.fx11;
76 fy11 = MUONTriggerTrack.fy11;
77 fthetax = MUONTriggerTrack.fthetax;
78 fthetay = MUONTriggerTrack.fthetay;
79 fGTPattern = MUONTriggerTrack.fGTPattern;
82 //__________________________________________________________________________
83 AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
86 if (this == &MUONTriggerTrack)
89 fEventReconstructor = new AliMUONEventReconstructor(*MUONTriggerTrack.fEventReconstructor);
90 fx11 = MUONTriggerTrack.fx11;
91 fy11 = MUONTriggerTrack.fy11;
92 fthetax = MUONTriggerTrack.fthetax;
93 fthetay = MUONTriggerTrack.fthetay;
94 fGTPattern = MUONTriggerTrack.fGTPattern;