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