#include "TH2.h"
#include "TH2.h"
#include "TParticle.h"
+#include "TDatabasePDG.h"
#include "TClonesArray.h"
#include "TMath.h"
#include "TROOT.h"
Int_t nx = phosgeom->GetNPhi() ;
Int_t nz = phosgeom->GetNZ() ;
- Float_t * cri= phosgeom->GetEMCAGeometry()->GetCrystalHalfSize() ;
+ const Float_t * cri= phosgeom->GetEMCAGeometry()->GetCrystalHalfSize() ;
Float_t x = nx*cri[0] ;
Float_t z = nz*cri[2] ;
Int_t nxCPV = (Int_t) (nx*phosgeom->GetPadSizePhi()/(2.*cri[0])) ;
//print Final Table
- maxevent = (Int_t)gAlice->TreeE()->GetEntries() ;
+ maxevent = (Int_t)AliRunLoader::Instance()->TreeE()->GetEntries() ;
TString message ;
message = "Resolutions: Analyzed %d event(s)\n" ;