AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMuonForwardTrack.cxx
Go to the documentation of this file.
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 // Description of an ALICE muon forward track, combining the information of the Muon Spectrometer and the Muon Forward Tracker
19 //
20 // Contact author: antonio.uras@cern.ch
21 //
22 //====================================================================================================================================================
23 
24 #include "AliMUONTrackParam.h"
25 #include "AliMUONRawCluster.h"
26 #include "AliMuonForwardTrack.h"
27 
29 
30 //====================================================================================================================================================
31 
34 {
35 
36  // default constructor
37 
38 }
39 
40 //====================================================================================================================================================
41 
43 AliMUONTrack(muonTrack)
44 {
45 
46  fTrackMCId = -1;
47 
48 }
49 
50 //====================================================================================================================================================
51 
53 AliMUONTrack(track),
54 fTrackMCId(track.fTrackMCId)
55 {
56 
57  // copy constructor
58 
59 }
60 
61 
62 //====================================================================================================================================================
63 
65 {
66 
67  // assignment operator
68 
69  // check assignement to self
70  if (this == &track) return *this;
71 
72  // base class assignement
74 
75  fTrackMCId = track.fTrackMCId;
76 
77 }
78 
79 //====================================================================================================================================================
80 
81 void AliMuonForwardTrack::AddTrackParamAtMFTCluster(AliMUONTrackParam &trackParam, AliMUONVCluster &muonCluster, const Int_t mftid) {
82 
83  trackParam.SetUniqueID(5000000+mftid);
84  AddTrackParamAtCluster(trackParam, muonCluster, kTRUE);
85 
86 }
87 
void AddTrackParamAtMFTCluster(AliMUONTrackParam &trackParam, AliMUONVCluster &cluster, const Int_t mftid)
overload of the AliMUONTrack function
AliMuonForwardTrack & operator=(const AliMuonForwardTrack &)
Track parameters in ALICE dimuon spectrometer.
AliTPCfastTrack * track
abstract base class for clusters
void AddTrackParamAtCluster(const AliMUONTrackParam &trackParam, AliMUONVCluster &cluster, Bool_t copy=kFALSE)
Int_t fTrackMCId
MC label of the attached MFT track.
Reconstructed track in ALICE dimuon spectrometer.
Definition: AliMUONTrack.h:24
ClassImp(AliMuonForwardTrack) AliMuonForwardTrack
AliMUONTrack & operator=(const AliMUONTrack &track)
ALICE muon forward track, combining the information of the Muon Spectrometer and the Muon Forward Tra...