]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDTrdTrack.cxx
Bug fix
[u/mrichter/AliRoot.git] / STEER / AliESDTrdTrack.cxx
CommitLineData
0ee00e25 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//
e1e6896f 18// Tracks from the TRD Global Tracking Unit (GTU, trigger)
19// The TRD trigger stores the found tracks
20// as ESDTrdTrack objects in the ESD object
21// Related classes: AliTRDReconstructor, AliESD
22// Author: B.Vulpescu
0ee00e25 23//
24///////////////////////////////////////////////////////////////////////////////
25
26#include "AliESDTrdTrack.h"
27
28ClassImp(AliESDTrdTrack)
29
30//_____________________________________________________________________________
31AliESDTrdTrack::AliESDTrdTrack():
32 TObject(),
33 fYproj(0),
34 fZproj(0),
35 fSlope(0),
36 fDetector(-1),
37 fNtracklets(0),
38 fNplanes(0),
39 fNclusters(0),
40 fPt(0),
41 fPhi(0),
42 fEta(0),
43 fLabel(-1),
44 fPID(0),
45 fIsElectron(kFALSE)
46{
47
48 //
49 // Default constructor
50 //
51
52}
53
54//_____________________________________________________________________________
55AliESDTrdTrack::AliESDTrdTrack(const AliESDTrdTrack& track):
56 TObject(track),
57 fYproj(track.fYproj),
58 fZproj(track.fZproj),
59 fSlope(track.fSlope),
60 fDetector(track.fDetector),
61 fNtracklets(track.fNtracklets),
62 fNplanes(track.fNplanes),
63 fNclusters(track.fNclusters),
64 fPt(track.fPt),
65 fPhi(track.fPhi),
66 fEta(track.fEta),
67 fLabel(track.fLabel),
68 fPID(track.fPID),
69 fIsElectron(track.fIsElectron)
70{
71
72 //
73 // Copy contructor
74 //
75
76}
77
78//_____________________________________________________________________________
79AliESDTrdTrack& AliESDTrdTrack::operator=(const AliESDTrdTrack& track)
80{
81 //
82 // Equal operator
83 //
84
85 if (this == &track)
86 return *this;
87
88 fYproj = track.fYproj;
89 fZproj = track.fZproj;
90 fSlope = track.fSlope;
91 fDetector = track.fDetector;
92 fNtracklets = track.fNtracklets;
93 fNplanes = track.fNplanes;
94 fNclusters = track.fNclusters;
95 fPt = track.fPt;
96 fPhi = track.fPhi;
97 fEta = track.fEta;
98 fLabel = track.fLabel;
99 fPID = track.fPID;
100 fIsElectron = track.fIsElectron;
101
102 return *this;
103
104}
105