]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSAnalyze.cxx
Setting "const" to member functions of AliPHOSEMCAGeometry
[u/mrichter/AliRoot.git] / PHOS / AliPHOSAnalyze.cxx
index 01ab5540da9d3246815a295e27f9a9251a228ba2..0ec7e91be91b4c91c8008acfd7fc00e30f5b8436 100644 (file)
@@ -164,7 +164,7 @@ void AliPHOSAnalyze::DrawRecon(Int_t Nevent,Int_t Nmod){
 
   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])) ;
@@ -1260,7 +1260,7 @@ void AliPHOSAnalyze::Contamination(){
  
   
   //print Final Table
-  maxevent = (Int_t)AliRunLoader::GetRunLoader()->TreeE()->GetEntries() ; 
+  maxevent = (Int_t)AliRunLoader::Instance()->TreeE()->GetEntries() ; 
 
   TString message ; 
   message  = "Resolutions: Analyzed %d event(s)\n" ;