]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG0/AliSelectorRL.h
added CountAcceptedTracks function
[u/mrichter/AliRoot.git] / PWG0 / AliSelectorRL.h
CommitLineData
dc740de4 1/* $Id$ */
2
0c7e8af2 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
0c7e8af2 10class AliRunLoader;
16e24ca3 11class AliHeader;
04a7657f 12class AliStack;
0c7e8af2 13
14class AliSelectorRL : public AliSelector {
15 public:
16 AliSelectorRL();
17 virtual ~AliSelectorRL();
18
19 virtual Bool_t Notify();
04a7657f 20 virtual Bool_t Process(Long64_t entry);
0c7e8af2 21 virtual void SlaveTerminate();
22
23 protected:
04a7657f 24 AliRunLoader* GetRunLoader();
16e24ca3 25 AliHeader* GetHeader();
04a7657f 26 AliStack* GetStack();
0c7e8af2 27
28 private:
29 void DeleteRunLoader();
16e24ca3 30
0c7e8af2 31 AliRunLoader* fRunLoader; //! pointer to the RunLoader if galice.root was opened
25db2d85 32 Bool_t fKinematicsLoaded; // determines if the stack is properly loaded (AliRunLoader::LoadKinematics() succeeded), this is needed because the GetStack returnes a invalid stack object when the function failed
33 Bool_t fHeaderLoaded; // determines if the header is properly loaded
0c7e8af2 34
35 ClassDef(AliSelectorRL,0);
36};
37
38#endif