#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);
fhHMPIDProb[3] = (TH1F*)fOutputContainer->At(7);
fhHMPIDProb[4] = (TH1F*)fOutputContainer->At(8);
+ Bool_t problem = kFALSE ;
AliInfo(Form(" *** %s Report:", GetName())) ;
Float_t n = 1.292 ; //mean freon ref idx
sprintf(line, ".!rm -fR *.eps");
gROOT->ProcessLine(line);
- AliInfo(Form("!!! All the eps files are in %s.tar.gz !!! \n", GetName())) ;
+ AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
+
+ TString report ;
+ if(problem)
+ report="Problems found, please check!!!";
+ else
+ report="OK";
+
+ AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ;
}