11 #include <AliRunLoader.h>
13 class AliSelector : public TSelector {
15 AliSelector(TTree *tree=0);
16 virtual ~AliSelector();
18 virtual Int_t Version() const {return 1;}
19 virtual void Begin(TTree *tree);
20 virtual void SlaveBegin(TTree *tree);
21 virtual void Init(TTree *tree);
22 virtual Bool_t Notify();
23 virtual Bool_t Process(Long64_t entry);
24 virtual void SlaveTerminate();
25 virtual void Terminate();
28 TTree* GetKinematics();
31 TChain *fChain; //! pointer to the analyzed TTree or TChain
33 AliESD* fESD; //! "ESD" branch in fChain
34 AliHeader* fHeader; //! "TE" branch in fChain, contains event header
37 void DeleteKinematicsFile();
38 void DeleteRunLoader();
40 TFile* fKineFile; //! pointer to Kinematics.root if the file was opened
41 AliRunLoader* fRunLoader; //! pointer to the RunLoader if galice.root was opened
43 ClassDef(AliSelector,0);