#include <TLegend.h>
#include <TROOT.h>
#include <TVector3.h>
+#include <TString.h>
#include "AliHMPIDQATask.h"
#include "AliESD.h"
AliAnalysisTask(name,""),
fChain(0),
fESD(0),
+ fOutputContainer(0),
fhHMPIDCkovP(0),
fhHMPIDMipXY(0),
fhHMPIDDifXY(0),
void AliHMPIDQATask::CreateOutputObjects()
{
// create histograms
+
+ OpenFile(0) ;
+
fhHMPIDCkovP = new TH2F("CkovP" , "#theta_{c}, [rad];P, [GeV]", 150, 0, 7 ,100, -3, 1);
fhHMPIDSigP = new TH2F("SigP" ,"#sigma_{#theta_c}" , 150, 0, 7 ,100, 0, 1e20);
fhHMPIDMipXY = new TH2F("MipXY" ,"mip position" , 260, 0,130 ,252,0,126);
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())) ;
}