]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ESDCheck/AliTRDQATask.cxx
move AliCaloRawAnalyzerPeakFinder from Utils to base due to OCDB access
[u/mrichter/AliRoot.git] / ESDCheck / AliTRDQATask.cxx
index 3ffa0e912f522d2deab1e3de99a19dd801589c9c..3c691d95116ede3d8bb47b92fbc7e25afa4dcc1e 100644 (file)
@@ -38,6 +38,7 @@
 #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
@@ -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;