Replacing Header with Id
[u/mrichter/AliRoot.git] / STEER / AliESD.cxx
CommitLineData
8a8d023f 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
acd84897 16/* $Id$ */
8a8d023f 17
e2afb3b6 18/////////////////////////////////////////////////////////////////////////
19// //
116cbefd 20// Prototype ESD class //
e2afb3b6 21// //
22/////////////////////////////////////////////////////////////////////////
8a8d023f 23
b16a1b1e 24#include "Riostream.h"
8a8d023f 25
26#include "AliESD.h"
27
28ClassImp(AliESD)
29
e2afb3b6 30//_______________________________________________________________________
31AliESD::AliESD():
32 fEventNumber(0),
33 fRunNumber(0),
34 fTrigger(0),
35 fRecoVersion(0),
36 fBitDDL(0),
37 fNSecVertex(0),
38 fNParticipants(0),
39 fNPartError(0),
40 fNElectron(0),
41 fNMuons(0),
42 fNPions(0),
43 fNKaons(0),
44 fNProtons(0),
45 fNPHOSPhotons(0),
46 fNPHOSNeutrons(0),
47 fNPHOSCCluster(0),
48 fNEMCALCluster(0),
49 fNPMDCluster(0),
50 fTMaxClusterEnergy(0),
51 fTMaxPCharged(0),
52 fNCharged(0),
53 fTotTranEnergy(0),
54 fESDVertex(),
55 fSecVertex(0),
56 fNonAssTrack(0),
57 fPhoton(0),
58 fNeutron(0),
59 fEMCALCluster(0),
60 fPMDCluster(0)
61{
62 Info("def ctor","Has been called\n");
63}
64
65//_______________________________________________________________________
66AliESD::AliESD(const AliESD &esd):
67 TObject(esd),
68 fEventNumber(0),
69 fRunNumber(0),
70 fTrigger(0),
71 fRecoVersion(0),
72 fBitDDL(0),
73 fNSecVertex(0),
74 fNParticipants(0),
75 fNPartError(0),
76 fNElectron(0),
77 fNMuons(0),
78 fNPions(0),
79 fNKaons(0),
80 fNProtons(0),
81 fNPHOSPhotons(0),
82 fNPHOSNeutrons(0),
83 fNPHOSCCluster(0),
84 fNEMCALCluster(0),
85 fNPMDCluster(0),
86 fTMaxClusterEnergy(0),
87 fTMaxPCharged(0),
88 fNCharged(0),
89 fTotTranEnergy(0),
90 fESDVertex(),
91 fSecVertex(0),
92 fNonAssTrack(0),
93 fPhoton(0),
94 fNeutron(0),
95 fEMCALCluster(0),
96 fPMDCluster(0)
8a8d023f 97{
8a8d023f 98}
99
100ClassImp(AliESDVertex)
101
e2afb3b6 102//_______________________________________________________________________
103AliESDVertex::AliESDVertex():
104 fNPrimary(0),
105 fCoordinates(3),
106 fErrorMatrix(6),
107 fPrimaryTracks(0),
108 fEffectiveMass(0),
109 fEffectiveMassError(0)
8a8d023f 110{
111 cout << "ESDVertex def ctor" << endl;
e2afb3b6 112}
113
114//_______________________________________________________________________
115AliESDVertex::AliESDVertex(const AliESDVertex &esdv):
116 TObject(esdv),
117 fNPrimary(0),
118 fCoordinates(0),
119 fErrorMatrix(0),
120 fPrimaryTracks(0),
121 fEffectiveMass(0),
122 fEffectiveMassError(0)
123{
8a8d023f 124}
125
126ClassImp(AliESDTrack)
127
e2afb3b6 128//_______________________________________________________________________
129AliESDTrack::AliESDTrack() :
130 fTrackID(0),
131 fPVertex(5),
132 fPEVertex(15),
133 fPFMeasPoint(6),
134 fPFMeasPointErr(15),
135 fPLMeasPoint(6),
136 fPLMeasPointErr(15),
137 fTrackLength(0),
138 fTrackLengthErr(0),
139 fStopVertex(0),
140 fNPointsITS(0),
141 fNPointsTPC(0),
142 fNPointsTRD(0),
143 fMeanResITS(0),
144 fMeanResTPC(0),
145 fMeanResTRD(0),
146 fGlobalChi2(0),
147 fParticleType(0),
148 fPIDprobPi(0),
149 fPIDprobK(0),
150 fPIDprobP(0),
151 fPIDprobE(0)
8a8d023f 152{
153 cout << "ESDTrack def ctor" << endl;
8a8d023f 154}
e2afb3b6 155
156//_______________________________________________________________________
157AliESDTrack::AliESDTrack(const AliESDTrack &esdt):
158 TObject(esdt),
159 fTrackID(0),
160 fPVertex(0),
161 fPEVertex(0),
162 fPFMeasPoint(0),
163 fPFMeasPointErr(0),
164 fPLMeasPoint(0),
165 fPLMeasPointErr(0),
166 fTrackLength(0),
167 fTrackLengthErr(0),
168 fStopVertex(0),
169 fNPointsITS(0),
170 fNPointsTPC(0),
171 fNPointsTRD(0),
172 fMeanResITS(0),
173 fMeanResTPC(0),
174 fMeanResTRD(0),
175 fGlobalChi2(0),
176 fParticleType(0),
177 fPIDprobPi(0),
178 fPIDprobK(0),
179 fPIDprobP(0),
180 fPIDprobE(0)
181{
182}
183