X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ESDCheck%2FAliTRDQATask.cxx;h=dac3d819ae494b49a8d261abdff150aa4ea7ece1;hb=4682c56e32cf939ad0815430785dec9507f31d50;hp=3ffa0e912f522d2deab1e3de99a19dd801589c9c;hpb=1e20f195cd690cc78d8ac828d68ee790267d7d4b;p=u%2Fmrichter%2FAliRoot.git diff --git a/ESDCheck/AliTRDQATask.cxx b/ESDCheck/AliTRDQATask.cxx index 3ffa0e912f5..dac3d819ae4 100644 --- a/ESDCheck/AliTRDQATask.cxx +++ b/ESDCheck/AliTRDQATask.cxx @@ -38,6 +38,7 @@ #include #include #include +#include #include "AliTRDQATask.h" #include "AliESD.h" @@ -47,7 +48,24 @@ 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 @@ -417,18 +435,18 @@ void AliTRDQATask::Terminate(Option_t *) 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 @@ -438,7 +456,7 @@ const int AliTRDQATask::GetSector(const double alpha) const } //______________________________________________________________________________ -const int AliTRDQATask::CheckSector(const int sector) const +int AliTRDQATask::CheckSector(const int sector) const { // Checks the sector number const int knSec = 8; @@ -582,7 +600,7 @@ void AliTRDQATask::DrawGeoESD() const 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"); @@ -715,7 +733,7 @@ void AliTRDQATask::DrawPidESD() const 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"); }