]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG0/AliSelectorRL.h
0fee90a6643435dd2db829f561e19feae95f22f5
[u/mrichter/AliRoot.git] / PWG0 / AliSelectorRL.h
1 /* $Id$ */
2
3 #ifndef ALISELECTORRL_H
4 #define ALISELECTORRL_H
5
6 // Use this selector, if you have AliROOT installed (at the moment only ESD, STEER + deps)
7
8 #include "AliSelector.h"
9
10 class AliRunLoader;
11 class AliHeader;
12
13 class AliSelectorRL : public AliSelector {
14   public:
15     AliSelectorRL();
16     virtual ~AliSelectorRL();
17
18     virtual Bool_t  Notify();
19     virtual void    SlaveTerminate();
20
21  protected:
22     AliRunLoader* GetAliRunLoader();
23     AliHeader* GetHeader();
24
25  private:
26     void DeleteRunLoader();
27     void DeleteHeaderFile();
28
29     AliRunLoader* fRunLoader;    //! pointer to the RunLoader if galice.root was opened
30
31     TFile*        fHeaderFile; //! pointer to galice.root, if the file was opened
32     TTree*        fHeaderTree; //! holds TE tree of current galice.root
33     AliHeader*    fHeader;     //! holds pointer to current header
34
35     ClassDef(AliSelectorRL,0);
36 };
37
38 #endif