]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESD.cxx
First implementation of ESD classes (Yu.Belikov)
[u/mrichter/AliRoot.git] / STEER / AliESD.cxx
index 69d69236270c49f32287964b136879fc0d5a6b6b..be2d80531f34cb12ee9207b915b1cd95b159ec33 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Header$ */
+/* $Id$ */
 
-/////////////////////////////////////////////////////////////////////////
-//                                                                     //
-//                                                                     //
-/////////////////////////////////////////////////////////////////////////
-
-#include "Riostream.h"
+//-----------------------------------------------------------------
+//           Implementation of the ESD class
+//   This is the class to deal with during the phisical analysis of data
+//
+//      Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
+//-----------------------------------------------------------------
 
 #include "AliESD.h"
 
@@ -32,151 +32,10 @@ AliESD::AliESD():
   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)
-{
-}
-
-ClassImp(AliESDVertex)
-
-//_______________________________________________________________________
-AliESDVertex::AliESDVertex():
-  fNPrimary(0),
-  fCoordinates(3),
-  fErrorMatrix(6),
-  fPrimaryTracks(0),
-  fEffectiveMass(0),
-  fEffectiveMassError(0)
+  fTracks("AliESDtrack",15000)
+  //fV0s("AliV0vertex",200),
+  //fCascades("AliCascadeVertex",20)
 {
-  cout << "ESDVertex def ctor" << endl;
 }
 
-//_______________________________________________________________________
-AliESDVertex::AliESDVertex(const AliESDVertex &esdv):
-  TObject(esdv),
-  fNPrimary(0),
-  fCoordinates(0),
-  fErrorMatrix(0),
-  fPrimaryTracks(0),
-  fEffectiveMass(0),
-  fEffectiveMassError(0)
-{
-}
-
-ClassImp(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;
-}
-
-//_______________________________________________________________________
-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)
-{
-}