Added an output file for average cross section and number of trials from pyxsec.root...
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskMCParticleFilter.h
index 4a9442a..31f5b3c 100644 (file)
@@ -9,34 +9,40 @@
 //  Fill AOD tracks from Kinematic stack
 //
 
-#include <TList.h> 
 #include "AliAnalysisTaskSE.h"
 
 class AliAnalysisFilter;
 class TString;
+class TList;
 
 class AliAnalysisTaskMCParticleFilter : public AliAnalysisTaskSE
 {
  public:
                                   AliAnalysisTaskMCParticleFilter();
                                   AliAnalysisTaskMCParticleFilter( const char* name );
-                                  AliAnalysisTaskMCParticleFilter(const AliAnalysisTaskMCParticleFilter& obj);
     virtual                      ~AliAnalysisTaskMCParticleFilter();
-     AliAnalysisTaskMCParticleFilter&   operator=(const AliAnalysisTaskMCParticleFilter& other);
     
     // Implementation of interface methods
     virtual                void   UserCreateOutputObjects();
     virtual                void   UserExec( Option_t *option );
-    
+    virtual                Bool_t Notify();
+    virtual                void   Terminate( Option_t *option );
     // Setters
     virtual                void   SetTrackFilterMother(AliAnalysisFilter* trackF) { fTrackFilterMother = trackF; }
     
  private:
     Bool_t Select(TParticle* part, Float_t rv, Float_t zv);                
+    
+    // pivate c'tors to prevent misuse
+    AliAnalysisTaskMCParticleFilter&   operator=(const AliAnalysisTaskMCParticleFilter& other);
+    AliAnalysisTaskMCParticleFilter(const AliAnalysisTaskMCParticleFilter& obj);
+
+
 
     AliAnalysisFilter*  fTrackFilterMother;   //  Track Filter
-                
-    ClassDef( AliAnalysisTaskMCParticleFilter, 1 ); // Analysis task for Kinematic filtering
+    TList *fHistList;                         // list to store e histograms, only as exchange
+
+    ClassDef( AliAnalysisTaskMCParticleFilter, 2 ); // Analysis task for Kinematic filtering
 };
  
 #endif