#include <TH1.h>
#include <TROOT.h>
#include <TSystem.h>
+#include <TString.h>
#include "AliAnalysisTaskPt.h"
#include "AliESD.h"
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ;
}
#include <TNtuple.h>
#include <TROOT.h>
#include <TVector3.h>
+#include <TString.h>
#include "AliEMCALQATask.h"
#include "AliESD.h"
if (caloCluster) {
Float_t pos[3] ;
if(caloCluster->GetClusterType() == AliESDCaloCluster::kClusterv1) {
- caloCluster->GetGlobalPosition(pos) ;
+ caloCluster->GetPosition(pos) ;
fhEMCALPos->Fill(pos[0],pos[1],pos[2]) ;
- fhEMCALEnergy->Fill(caloCluster->GetClusterEnergy()) ;
+ fhEMCALEnergy->Fill(caloCluster->E()) ;
fhEMCALDigits->Fill(entry, caloCluster->GetNumberOfDigits()) ;
numberOfEmcalClustersv1++ ;
numberOfDigitsInEmcal += caloCluster->GetNumberOfDigits() ;
// Float_t * pid = clus->GetPid() ;
// if(pid[AliPID::kPhoton]>0.9){
emcalVector[numberOfPhotonsInEmcal] = new TVector3(pos[0],pos[1],pos[2]) ;
- emcalPhotonsEnergy[numberOfPhotonsInEmcal] = caloCluster->GetClusterEnergy() ;
+ emcalPhotonsEnergy[numberOfPhotonsInEmcal] = caloCluster->E() ;
numberOfPhotonsInEmcal++ ;
}
}
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ;
}
#include <TFile.h>
#include <TH1D.h>
#include <TROOT.h>
+#include <TString.h>
#include "AliFMDQATask.h"
#include "AliESD.h"
AliInfo(Form("%s ----> Processing event # %lld", currentFile->GetName(), entry)) ;
// ************************ FMD *************************************
-
AliESDFMD * fmd = fESD->GetFMDData() ;
-
- //fmd->CheckNeedUShort(currentFile);
-
+ if ( ! fmd ) {
+ AliError("No FMD found in ESD") ;
+ return ;
+ }
+ fmd->CheckNeedUShort(currentFile);
Int_t nFMD1 = 0, nFMD2i = 0, nFMD2o = 0, nFMD3i = 0, nFMD3o = 0 ;
UShort_t detector = 1 ;
// Processing when the event loop is ended
fOutputContainer = (TObjArray*)GetOutputData(0);
+ if ( ! fOutputContainer )
+ return ;
+
fhFMD1i = (TH1D*)fOutputContainer->At(0);
fhFMD2i = (TH1D*)fOutputContainer->At(1);
fhFMD2o = (TH1D*)fOutputContainer->At(2);
#include <TLegend.h>
#include <TROOT.h>
#include <TVector3.h>
+#include <TString.h>
#include "AliHMPIDQATask.h"
#include "AliESD.h"
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ;
}
#include <TH1F.h>
#include <TROOT.h>
#include <TLorentzVector.h>
+#include <TString.h>
+
#include "AliMUONQATask.h"
#include "AliESD.h"
#include "AliLog.h"
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ;
}
#include <TNtuple.h>
#include <TROOT.h>
#include <TVector3.h>
+#include <TString.h>
#include "AliPHOSQATask.h"
#include "AliESD.h"
AliESDCaloCluster * caloCluster = fESD->GetCaloCluster(phosCluster) ;
if (caloCluster) {
Float_t pos[3] ;
- caloCluster->GetGlobalPosition( pos ) ;
- fhPHOSEnergy->Fill( caloCluster->GetClusterEnergy() ) ;
+ caloCluster->GetPosition( pos ) ;
+ fhPHOSEnergy->Fill( caloCluster->E() ) ;
fhPHOSPos->Fill( pos[0], pos[1], pos[2] ) ;
fhPHOSDigits->Fill(entry, caloCluster->GetNumberOfDigits() ) ;
numberOfDigitsInPhos += caloCluster->GetNumberOfDigits() ;
Float_t * pid = caloCluster->GetPid() ;
if(pid[AliPID::kPhoton] > 0.9) {
phosVector[numberOfPhotonsInPhos] = new TVector3(pos[0],pos[1],pos[2]) ;
- phosPhotonsEnergy[numberOfPhotonsInPhos]=caloCluster->GetClusterEnergy() ;
+ phosPhotonsEnergy[numberOfPhotonsInPhos]=caloCluster->E() ;
numberOfPhotonsInPhos++;
}
}
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ;
}
#include <TLine.h>
#include <TROOT.h>
#include <TStyle.h>
+#include <TString.h>
#include "AliPMDQATask.h"
#include "AliPMDUtility.h"
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ;
}
//______________________________________________________________________________
#include <TH1F.h>
#include <TLegend.h>
#include <TROOT.h>
+#include <TString.h>
#include "AliT0QATask.h"
#include "AliESD.h"
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report.Data())) ;
}
#include <TSpectrum.h>
#include <TF1.h>
#include <TROOT.h>
+#include <TString.h>
#include "AliTOFQATask.h"
#include "AliESD.h"
GetEfficiency();
Bool_t problem = DrawHistos() ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report.Data())) ;
}
#include <TH2D.h>
#include <TROOT.h>
#include <TStyle.h>
+#include <TString.h>
#include "AliTRDQATask.h"
#include "AliESD.h"
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report.Data())) ;
}
#include <TLegend.h>
#include <TVector3.h>
#include <TFile.h>
+#include <TString.h>
#include "AliVZEROQATask.h"
#include "AliESD.h"
AliInfo(Form("!!! All the eps files are in %s.tar.gz !!! ", GetName())) ;
- char * report ;
+ TString report ;
if(problem)
report="Problems found, please check!!!";
else
report="OK";
- AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report)) ;
+ AliInfo(Form("*** %s Summary Report: %s\n",GetName(), report.Data())) ;
}