#include <TH2D.h>
#include <TROOT.h>
#include <TStyle.h>
+#include <TString.h>
#include "AliTRDQATask.h"
#include "AliESD.h"
AliTRDQATask::AliTRDQATask(const char *name) :
AliAnalysisTask(name,""),
fChain(0),
- fESD(0)
+ fESD(0),
+ fOutputContainer(0),
+ fConfSM(0),
+ fNTracks(0),
+ fEventSize(0),
+ fTrackStatus(0),
+ fParIn(0),
+ fParOut(0),
+ fKinkIndex(0),
+ fXIn(0),
+ fXOut(0),
+ fSectorTRD(0),
+ fTime(0),
+ fBudget(0),
+ fQuality(0),
+ fSignal(0),
+ fTrdSigMom(0),
+ fTpcSigMom(0)
{
// Constructor.
// Input slot #0 works with an Ntuple
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())) ;
}
//______________________________________________________________________________
-const int AliTRDQATask::GetSector(const double alpha) const
+int AliTRDQATask::GetSector(const double alpha) const
{
// Gets the sector number
}
//______________________________________________________________________________
-const int AliTRDQATask::CheckSector(const int sector) const
+int AliTRDQATask::CheckSector(const int sector) const
{
// Checks the sector number
const int knSec = 8;
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");
}