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