1 #ifndef ALIRUNANALYSIS_H
2 #define ALIRUNANALYSIS_H
3 //________________________________
4 ///////////////////////////////////////////////////////////
6 // class AliRunAnalysis
11 // Piotr.Skowronski@cern.ch
13 ///////////////////////////////////////////////////////////
16 #include <TObjArray.h>
17 #include "AliAnalysis.h"
23 class AliRunAnalysis: public TTask
27 virtual ~AliRunAnalysis();
30 void Add(AliAnalysis* a);
31 void SetReader(AliReader* reader){fReader = reader;}
33 const char* GetName(){return "RunAnalysis";}
36 TObjArray fAnalysies;//arry with analysies
37 AliReader* fReader;//arry with directories to read data from
39 AliEventCut* fEventCut;//event cut
41 Bool_t fCutOnSim;//flag indicating that event cut is performed on simulated particles
42 Bool_t fCutOnRec;//flag indicating that event cut is performed on reconstructed tracks
44 Bool_t Pass(AliAOD* recevent, AliAOD* simevent);
47 void SetName(const char *){}//change SetName to be private
49 ClassDef(AliRunAnalysis,1)