Modifications needed by the HBT analysis (P.Skowronski)
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerTrack.cxx
CommitLineData
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
16/* */
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
29#include <Riostream.h> // for cout
30#include <stdlib.h> // for exit()
31
32#include <TClonesArray.h>
33#include <TMath.h>
34#include <TMatrixD.h>
35#include <TObjArray.h>
36
37#include "AliMUONEventReconstructor.h"
38#include "AliMUONTriggerTrack.h"
39
40//__________________________________________________________________________
41AliMUONTriggerTrack::AliMUONTriggerTrack()
42{
43 fEventReconstructor = 0;
44 fx11 = 0.;
45 fy11 = 0.;
46 fthetax = 0.;
47 fthetay = 0.;
48}
49//__________________________________________________________________________
50AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, AliMUONEventReconstructor* EventReconstructor)
51{
52 fEventReconstructor = EventReconstructor; // link back to EventReconstructor
53 fx11 = x11;
54 fy11 = y11;
55 fthetax = thetax;
56 fthetay = thetay;
57}
58
59//__________________________________________________________________________
60AliMUONTriggerTrack::~AliMUONTriggerTrack()
61{
62 // Destructor
63 ;
64
65}
66
67//__________________________________________________________________________
68AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& MUONTriggerTrack):TObject(MUONTriggerTrack)
69{
70 fEventReconstructor = new AliMUONEventReconstructor(*MUONTriggerTrack.fEventReconstructor);
71 fx11 = MUONTriggerTrack.fx11;
72 fy11 = MUONTriggerTrack.fy11;
73 fthetax = MUONTriggerTrack.fthetax;
74 fthetay = MUONTriggerTrack.fthetay;
75}
76
77//__________________________________________________________________________
78AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
79MUONTriggerTrack)
80{
81 if (this == &MUONTriggerTrack)
82 return *this;
83
84 fEventReconstructor = new AliMUONEventReconstructor(*MUONTriggerTrack.fEventReconstructor);
85 fx11 = MUONTriggerTrack.fx11;
86 fy11 = MUONTriggerTrack.fy11;
87 fthetax = MUONTriggerTrack.fthetax;
88 fthetay = MUONTriggerTrack.fthetay;
89 return *this;
90}
91
92