]>
Commit | Line | Data |
---|---|---|
a03b623a | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | /* $Id$ */ | |
5 | ||
6 | #ifndef ALISELECTORRL_H | |
7 | #define ALISELECTORRL_H | |
8 | ||
9 | // Use this selector, if you have AliROOT installed (at the moment only ESD, STEER + deps) | |
10 | ||
11 | #include "AliSelector.h" | |
12 | ||
13 | class AliRunLoader; | |
14 | class AliHeader; | |
15 | class AliStack; | |
16 | ||
17 | class AliSelectorRL : public AliSelector { | |
18 | public: | |
19 | AliSelectorRL(); | |
20 | virtual ~AliSelectorRL(); | |
21 | ||
22 | virtual Bool_t Notify(); | |
23 | virtual Bool_t Process(Long64_t entry); | |
24 | virtual void SlaveTerminate(); | |
25 | ||
26 | protected: | |
27 | AliRunLoader* GetRunLoader(); | |
28 | AliHeader* GetHeader(); | |
29 | AliStack* GetStack(); | |
30 | ||
31 | private: | |
32 | void DeleteRunLoader(); | |
33 | ||
34 | AliRunLoader* fRunLoader; //! pointer to the RunLoader if galice.root was opened | |
35 | 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 | |
36 | Bool_t fHeaderLoaded; // determines if the header is properly loaded | |
37 | ||
38 | AliSelectorRL(const AliSelectorRL&); | |
39 | AliSelectorRL& operator=(const AliSelectorRL&); | |
40 | ||
41 | ClassDef(AliSelectorRL,0); | |
42 | }; | |
43 | ||
44 | #endif |