1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 //-----------------------------------------------------------------
19 // Implementation of the ESD class
20 // This is the class to deal with during the phisical analysis of data
21 // This class is generated directly by the reconstruction methods
22 // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
23 //-----------------------------------------------------------------
29 //______________________________________________________________________________
38 fTracks("AliESDtrack",15000),
39 fHLTConfMapTracks("AliESDHLTtrack",25000),
40 fHLTHoughTracks("AliESDHLTtrack",15000),
41 fMuonTracks("AliESDMuonTrack",30),
42 fPmdTracks("AliESDPmdTrack",3000),
44 fCascades("AliESDcascade",20),
47 fFirstPHOSParticle(-1),
48 fFirstEMCALParticle(-1){
51 //______________________________________________________________________________
55 // Standard destructor
58 fHLTConfMapTracks.Delete();
59 fHLTHoughTracks.Delete();
67 //______________________________________________________________________________
68 void AliESD::Print(Option_t *) const
71 // Print header information of the event
73 Info("Print","ESD run information");
74 printf("Event # %d Run # %d Trigger %ld Magnetic field %f \n",
79 printf("Vertex: (%.4f +- %.4f, %.4f +- %.4f, %.4f +- %.4f) cm\n",
80 fPrimaryVertex.GetXv(), fPrimaryVertex.GetXRes(),
81 fPrimaryVertex.GetYv(), fPrimaryVertex.GetYRes(),
82 fPrimaryVertex.GetZv(), fPrimaryVertex.GetZRes());
83 printf("Event from reconstruction version %d \n",fRecoVersion);
84 printf("Number of tracks: \n");
85 printf(" charged %d\n",GetNumberOfTracks()-GetNumberOfPHOSParticles()-GetNumberOfEMCALParticles());
86 printf(" hlt CF %d\n", GetNumberOfHLTConfMapTracks());
87 printf(" hlt HT %d\n", GetNumberOfHLTHoughTracks());
88 printf(" phos %d\n", GetNumberOfPHOSParticles());
89 printf(" emcal %d\n", GetNumberOfEMCALParticles());
90 printf(" muon %d\n", GetNumberOfMuonTracks());
91 printf(" pmd %d\n", GetNumberOfPmdTracks());
92 printf(" v0 %d\n", GetNumberOfV0s());
93 printf(" cascades %d\n)", GetNumberOfCascades());