Replacing Header with Id
[u/mrichter/AliRoot.git] / STEER / AliESD.cxx
index 9be1bce..8033e49 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log:
-*/
+/* $Id$ */
 
-///////////////////////////////////////////////////////////////////////////////
-//                                                                           //
-//                                                                           //
-///////////////////////////////////////////////////////////////////////////////
+/////////////////////////////////////////////////////////////////////////
+//                                                                     //
+//       Prototype ESD class                                           //
+//                                                                     //
+/////////////////////////////////////////////////////////////////////////
 
 #include "Riostream.h"
 
@@ -28,32 +27,157 @@ $Log:
 
 ClassImp(AliESD)
 
-//__________________________________________________________________________
-AliESD::AliESD() 
+//_______________________________________________________________________
+AliESD::AliESD():
+  fEventNumber(0),
+  fRunNumber(0),
+  fTrigger(0),
+  fRecoVersion(0),
+  fBitDDL(0),
+  fNSecVertex(0),
+  fNParticipants(0),
+  fNPartError(0),
+  fNElectron(0),
+  fNMuons(0),
+  fNPions(0),
+  fNKaons(0),
+  fNProtons(0),
+  fNPHOSPhotons(0),
+  fNPHOSNeutrons(0),
+  fNPHOSCCluster(0),
+  fNEMCALCluster(0),
+  fNPMDCluster(0),
+  fTMaxClusterEnergy(0),
+  fTMaxPCharged(0),
+  fNCharged(0),
+  fTotTranEnergy(0),
+  fESDVertex(),
+  fSecVertex(0),
+  fNonAssTrack(0),
+  fPhoton(0),
+  fNeutron(0),
+  fEMCALCluster(0),
+  fPMDCluster(0)
+{
+  Info("def ctor","Has been called\n");
+}
+
+//_______________________________________________________________________
+AliESD::AliESD(const AliESD &esd):
+  TObject(esd),
+  fEventNumber(0),
+  fRunNumber(0),
+  fTrigger(0),
+  fRecoVersion(0),
+  fBitDDL(0),
+  fNSecVertex(0),
+  fNParticipants(0),
+  fNPartError(0),
+  fNElectron(0),
+  fNMuons(0),
+  fNPions(0),
+  fNKaons(0),
+  fNProtons(0),
+  fNPHOSPhotons(0),
+  fNPHOSNeutrons(0),
+  fNPHOSCCluster(0),
+  fNEMCALCluster(0),
+  fNPMDCluster(0),
+  fTMaxClusterEnergy(0),
+  fTMaxPCharged(0),
+  fNCharged(0),
+  fTotTranEnergy(0),
+  fESDVertex(),
+  fSecVertex(0),
+  fNonAssTrack(0),
+  fPhoton(0),
+  fNeutron(0),
+  fEMCALCluster(0),
+  fPMDCluster(0)
 {
-  cout << "ESD def ctor" << endl;
 }
 
 ClassImp(AliESDVertex)
 
-//__________________________________________________________________________
-AliESDVertex::AliESDVertex() 
+//_______________________________________________________________________
+AliESDVertex::AliESDVertex():
+  fNPrimary(0),
+  fCoordinates(3),
+  fErrorMatrix(6),
+  fPrimaryTracks(0),
+  fEffectiveMass(0),
+  fEffectiveMassError(0)
 {
   cout << "ESDVertex def ctor" << endl;
-  fCoordinates.Set(3);
-  fErrorMatrix.Set(6);
+}
+
+//_______________________________________________________________________
+AliESDVertex::AliESDVertex(const AliESDVertex &esdv):
+  TObject(esdv),
+  fNPrimary(0),
+  fCoordinates(0),
+  fErrorMatrix(0),
+  fPrimaryTracks(0),
+  fEffectiveMass(0),
+  fEffectiveMassError(0)
+{
 }
 
 ClassImp(AliESDTrack)
 
-//__________________________________________________________________________
-AliESDTrack::AliESDTrack() 
+//_______________________________________________________________________
+AliESDTrack::AliESDTrack() :
+  fTrackID(0),
+  fPVertex(5),
+  fPEVertex(15),
+  fPFMeasPoint(6),
+  fPFMeasPointErr(15),
+  fPLMeasPoint(6),
+  fPLMeasPointErr(15),
+  fTrackLength(0),
+  fTrackLengthErr(0),
+  fStopVertex(0),
+  fNPointsITS(0),
+  fNPointsTPC(0),
+  fNPointsTRD(0),
+  fMeanResITS(0),
+  fMeanResTPC(0),
+  fMeanResTRD(0),
+  fGlobalChi2(0),
+  fParticleType(0),
+  fPIDprobPi(0),
+  fPIDprobK(0),
+  fPIDprobP(0),
+  fPIDprobE(0)
 {
   cout << "ESDTrack def ctor" << endl;
-  fPVertex.Set(5);
-  fPEVertex.Set(15);
-  fPFMeasPoint.Set(6);
-  fPFMeasPointErr.Set(15);
-  fPLMeasPoint.Set(6);
-  fPLMeasPointErr.Set(15);
 }
+
+//_______________________________________________________________________
+AliESDTrack::AliESDTrack(const AliESDTrack &esdt):
+  TObject(esdt),
+  fTrackID(0),
+  fPVertex(0),
+  fPEVertex(0),
+  fPFMeasPoint(0),
+  fPFMeasPointErr(0),
+  fPLMeasPoint(0),
+  fPLMeasPointErr(0),
+  fTrackLength(0),
+  fTrackLengthErr(0),
+  fStopVertex(0),
+  fNPointsITS(0),
+  fNPointsTPC(0),
+  fNPointsTRD(0),
+  fMeanResITS(0),
+  fMeanResTPC(0),
+  fMeanResTRD(0),
+  fGlobalChi2(0),
+  fParticleType(0),
+  fPIDprobPi(0),
+  fPIDprobK(0),
+  fPIDprobP(0),
+  fPIDprobE(0)
+{
+}
+