#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])) ;
message += "\n" ;
}
}
- AliInfo(Form(message.Data())) ;
+ AliInfo(message.Data()) ;
}
//____________________________________________________________________________
void AliPHOSAnalyze::InvariantMass()
mfile->Write();
mfile->Close();
delete mfile ;
- delete nRecParticles;
+ delete [] nRecParticles;
}
}
TObjArray * emcrp = gime->EmcRecPoints() ;
if(!emcrp){
- AliError(Form("Event %d, Can't find EmcRecPoints")) ;
+ AliError(Form("Event %d, Can't find EmcRecPoints", ievent)) ;
return ;
}