]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDTrdTrack.cxx
New class for debugging of the memory consumption and other run time parameters ...
[u/mrichter/AliRoot.git] / STEER / AliESDTrdTrack.cxx
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 //  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
23 //
24 ///////////////////////////////////////////////////////////////////////////////
25
26 #include "AliESDTrdTrack.h"
27
28 ClassImp(AliESDTrdTrack)
29
30 //_____________________________________________________________________________
31 AliESDTrdTrack::AliESDTrdTrack():
32   TObject(),
33   fYproj(0),
34   fZproj(0),
35   fSlope(0),
36   fPt(0),
37   fPhi(0),
38   fEta(0),
39   fPID(0),
40   fLabel(0),
41   fNtracklets(0),
42   fNclusters(0),
43   fNplanes(0),
44   fDetector(0)
45 {
46
47   //
48   // Default constructor
49   //
50
51 }
52
53 //_____________________________________________________________________________
54 AliESDTrdTrack::AliESDTrdTrack(const AliESDTrdTrack& track):
55   TObject(track),
56   fYproj(track.fYproj),
57   fZproj(track.fZproj),
58   fSlope(track.fSlope),
59   fPt(track.fPt),
60   fPhi(track.fPhi),
61   fEta(track.fEta),
62   fPID(track.fPID),
63   fLabel(track.fLabel),
64   fNtracklets(track.fNtracklets),
65   fNclusters(track.fNclusters),
66   fNplanes(track.fNplanes),
67   fDetector(track.fDetector)
68 {
69
70   //
71   // Copy contructor
72   //
73
74 }
75
76 //_____________________________________________________________________________
77 AliESDTrdTrack& AliESDTrdTrack::operator=(const AliESDTrdTrack& track)
78 {
79   // 
80   // Equal operator
81   //
82
83   if (this == &track)
84     return *this;
85   TObject::operator=(track);
86   fYproj      = track.fYproj;
87   fZproj      = track.fZproj;
88   fSlope      = track.fSlope;
89   fPt         = track.fPt;
90   fPhi        = track.fPhi;
91   fEta        = track.fEta;
92   fPID        = track.fPID;
93   fLabel      = track.fLabel;
94   fNtracklets = track.fNtracklets;
95   fNclusters  = track.fNclusters;
96   fDetector   = track.fDetector;
97   fNplanes    = track.fNplanes;
98
99   return *this;
100
101 }
102