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"
40 //__________________________________________________________________________
41 AliMUONTriggerTrack::AliMUONTriggerTrack()
43 fEventReconstructor = 0;
49 //__________________________________________________________________________
50 AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, AliMUONEventReconstructor* EventReconstructor)
52 fEventReconstructor = EventReconstructor; // link back to EventReconstructor
59 //__________________________________________________________________________
60 AliMUONTriggerTrack::~AliMUONTriggerTrack()
67 //__________________________________________________________________________
68 AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& MUONTriggerTrack):TObject(MUONTriggerTrack)
70 fEventReconstructor = new AliMUONEventReconstructor(*MUONTriggerTrack.fEventReconstructor);
71 fx11 = MUONTriggerTrack.fx11;
72 fy11 = MUONTriggerTrack.fy11;
73 fthetax = MUONTriggerTrack.fthetax;
74 fthetay = MUONTriggerTrack.fthetay;
77 //__________________________________________________________________________
78 AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
81 if (this == &MUONTriggerTrack)
84 fEventReconstructor = new AliMUONEventReconstructor(*MUONTriggerTrack.fEventReconstructor);
85 fx11 = MUONTriggerTrack.fx11;
86 fy11 = MUONTriggerTrack.fy11;
87 fthetax = MUONTriggerTrack.fthetax;
88 fthetay = MUONTriggerTrack.fthetay;