The name of the task cannot be changed
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Apr 2004 15:41:41 +0000 (15:41 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Apr 2004 15:41:41 +0000 (15:41 +0000)
ANALYSIS/AliRunAnalysis.cxx
ANALYSIS/AliRunAnalysis.h

index 9c20cff..321b4e5 100644 (file)
 
 #include "AliEventCut.h"
 
-const TString AliRunAnalysis::fgkDefaultRunAnalysisName("RunAnalysis");
 
 ClassImp(AliRunAnalysis)
 AliRunAnalysis::AliRunAnalysis():
- TTask(fgkDefaultRunAnalysisName,"Alice Analysis Manager")     ,
+ TTask("RunAnalysis","Alice Analysis Manager") ,
  fDirs(),
  fEventCut(0x0),
  fFileName("AliESDs.root"),
index b7fd112..127084c 100644 (file)
@@ -33,7 +33,6 @@ class AliRunAnalysis: public TTask
     
     Int_t GetDebug() {return AliAnalysis::GetDebug();}
     void SetDirs(TObjArray* dirs){fDirs = dirs;} //sets array directories names;
-    const char* GetName(){return fgkDefaultRunAnalysisName;}
   protected:
     TObjArray*    fAnalysies;//arry with analysies
     TObjArray*    fDirs;//arry with directories to read data from
@@ -47,9 +46,8 @@ class AliRunAnalysis: public TTask
     TFile* OpenFile(Int_t n);
     
   private:
-    TNamed::SetName;//change SetName to be private
+    void SetName(const char *){}//change SetName to be private
     
-    static const TString fgkDefaultRunAnalysisName;
     ClassDef(AliRunAnalysis,1)
 };