]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/AliBaseAODTask.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / AliBaseAODTask.h
index dffb48b3085143c4de4000704588153a64367009..b1ac532635ef08acb16962d0c4d0cab9e2499fc6 100644 (file)
@@ -37,7 +37,7 @@ public:
    * 
    * @return true on success, false otherwise
    */
-  virtual Bool_t Configure(const char* macro="dNdetaConfig.C");
+  virtual Bool_t Configure(const char* macro="-default-");
   /** 
    * @{ 
    * @name Set parameters 
@@ -262,6 +262,15 @@ protected:
            fCentAxis.GetXbins() && 
            fCentAxis.GetXbins()->GetArray()); 
   }
+  /** 
+   * Get the name of the default configuration script to use.
+   * Sub-classes can override this to give another default
+   * configuration script.  Note, it should problably only return the
+   * base name (not full path) of the script.
+   * 
+   * @return Name of the configuration script to use. 
+   */
+  virtual const char* DefaultConfig() const { return "dNdetaConfig.C"; }
 
   UInt_t   fTriggerMask;   // Trigger mask 
   Double_t fMinIpZ;        // Least z--coordiante of interaction point