]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliRunAnalysis.h
few changes by Thomas Kuhr
[u/mrichter/AliRoot.git] / ANALYSIS / AliRunAnalysis.h
CommitLineData
b26900d0 1#ifndef ALIRUNANALYSIS_H
2#define ALIRUNANALYSIS_H
3//________________________________
4///////////////////////////////////////////////////////////
5//
6// class AliRunAnalysis
7//
8// Analysis manager
9//
10//
11// Piotr.Skowronski@cern.ch
12//
13///////////////////////////////////////////////////////////
14
15class AliEventCut;
16class TObjArray;
17class TFile;
18
19#include <TString.h>
20#include <TTask.h>
21
22#include "AliAnalysis.h"
23
24class AliRunAnalysis: public TTask
25{
26 public:
27 AliRunAnalysis();
28 virtual ~AliRunAnalysis();
29
30 Int_t Run();
31 void Add(AliAnalysis* a);
32 void ReadKinematics(Bool_t flag){fReadKinematics = flag;}
33
34 Int_t GetDebug() {return AliAnalysis::GetDebug();}
35 void SetDirs(TObjArray* dirs){fDirs = dirs;} //sets array directories names;
b26900d0 36 protected:
37 TObjArray* fAnalysies;//arry with analysies
38 TObjArray* fDirs;//arry with directories to read data from
39
40 AliEventCut* fEventCut;//event cut
41
42 TString fFileName;//name of the file with ESDs
43 Bool_t fReadKinematics;
44
45 TString& GetDirName(Int_t entry);
46 TFile* OpenFile(Int_t n);
47
48 private:
91757255 49 void SetName(const char *){}//change SetName to be private
b26900d0 50
b26900d0 51 ClassDef(AliRunAnalysis,1)
52};
53
54#endif