AliESDCaloCluster * caloCluster = fESD->GetCaloCluster(emcalCluster) ;
if (caloCluster) {
Float_t pos[3] ;
- if(caloCluster->GetClusterType() == AliESDCaloCluster::kEMCALClusterv1) {
+ if(caloCluster->GetType() == AliESDCaloCluster::kEMCALClusterv1) {
caloCluster->GetPosition(pos) ;
fhEMCALPos->Fill(pos[0],pos[1],pos[2]) ;
fhEMCALEnergy->Fill(caloCluster->E()) ;
fhEMCALDigits->Fill(entry, caloCluster->GetNCells()) ;
numberOfEmcalClustersv1++ ;
numberOfDigitsInEmcal += caloCluster->GetNCells() ;
- // Float_t * pid = clus->GetPid() ;
+ // const Double_t * pid = clus->GetPID() ;
// if(pid[AliPID::kPhoton]>0.9){
emcalVector[numberOfPhotonsInEmcal] = new TVector3(pos[0],pos[1],pos[2]) ;
emcalPhotonsEnergy[numberOfPhotonsInEmcal] = caloCluster->E() ;
}
if(nFMD1>100+10240)
- AliWarning(Form("number of missing strips in FMD1i too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+ AliWarning(Form("number of missing strips in FMD1i too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
if(nFMD2i>100+10240)
- AliWarning(Form("number of missing strips in FMD2i too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+ AliWarning(Form("number of missing strips in FMD2i too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
if(nFMD2o>100+10240)
- AliWarning(Form("number of missing strips in FMD2o too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+ AliWarning(Form("number of missing strips in FMD2o too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
if(nFMD3i>100+10240)
- AliWarning(Form("number of missing strips in FMD3i too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+ AliWarning(Form("number of missing strips in FMD3i too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
if(nFMD3o>100+10240)
- AliWarning(Form("number of missing strips in FMD3o too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+ AliWarning(Form("number of missing strips in FMD3o too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
PostData(0, fOutputContainer);
}
fhPHOSPos->Fill( pos[0], pos[1], pos[2] ) ;
fhPHOSDigits->Fill(entry, caloCluster->GetNCells() ) ;
numberOfDigitsInPhos += caloCluster->GetNCells() ;
- Double_t * pid = caloCluster->GetPid() ;
+ const Double_t * pid = caloCluster->GetPID() ;
if(pid[AliPID::kPhoton] > 0.9) {
phosVector[numberOfPhotonsInPhos] = new TVector3(pos[0],pos[1],pos[2]) ;
phosPhotonsEnergy[numberOfPhotonsInPhos]=caloCluster->E() ;
if (strstr(opt[i],"colz")) gPad->SetRightMargin(0.1);
hist->Draw(opt[i]);
- AliInfo(Form("%s\t%d", names[i], hist->GetEntries()));
+ AliInfo(Form("%s\t%f", names[i], hist->GetEntries()));
}
cTRDGeo->Print("TRD_Geo.eps");
if (strstr(names[i],"SigMom")) gPad->SetLogz(1);
hist->Draw(opt[i]);
- AliInfo(Form("%s\t%d", names[i], hist->GetEntries()));
+ AliInfo(Form("%s\t%f", names[i], hist->GetEntries()));
}
cTRDPid->Print("TRD_Pid.eps");
}