]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAnalysisTask.h
fix memory leak in AliFileMerger
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTask.h
index 5f41560a1b870a745e24b6acfe2df08cd7fd9b0d..d7efbd75a1de856546550ebd5b53f8c853b0dfe1 100644 (file)
@@ -34,6 +34,12 @@ class AliAnalysisTask : public TTask {
     kTaskPostEventLoop = BIT(17)
   };
 
+  //=====================================================================
+  // === OVERLOAD THIS TO CONNECT TREE BRANCHES AT INPUT SLOTS. YOU
+  // SHOULD DEFINE HERE ALSO THE OBJECTS TO BE CONNECTED TO YOUR OUTPUTS
+  virtual void              ConnectInputData(Option_t *option="");
+  //=====================================================================
+  
  protected:
   Bool_t                    fReady;         // Flag if the task is ready
   Bool_t                    fInitialized;   // True if Init() was called
@@ -50,12 +56,6 @@ class AliAnalysisTask : public TTask {
   void                      DefineInput(Int_t islot, TClass *type);
   void                      DefineOutput(Int_t islot, TClass *type);
   
-  //=====================================================================
-  // === OVERLOAD THIS TO CONNECT TREE BRANCHES AT INPUT SLOTS. YOU
-  // SHOULD DEFINE HERE ALSO THE OBJECTS TO BE CONNECTED TO YOUR OUTPUTS
-  virtual void              ConnectInputData(Option_t *option="");
-  //=====================================================================
-  
   // Post output data (called by Exec() when data is ready)
   //=== CALL IN EXEC() FOR EACH OUTPUT WHEN READY ===
   Bool_t                    PostData(Int_t iout, TObject *data, Option_t *option="");