]>
Commit | Line | Data |
---|---|---|
81f7fe9f | 1 | #ifndef ALIHBTREADERKINETREE_H |
2 | #define ALIHBTREADERKINETREE_H | |
3 | ||
4 | #include "AliHBTReader.h" | |
5 | #include <TString.h> | |
6 | ||
7 | class TFile; | |
8 | class AliStack; | |
88cb7938 | 9 | class AliRunLoader; |
81f7fe9f | 10 | |
11 | class AliHBTReaderKineTree: public AliHBTReader | |
12 | { | |
13 | public: | |
14 | AliHBTReaderKineTree(); | |
15 | ||
16 | AliHBTReaderKineTree(TString&); | |
17 | AliHBTReaderKineTree(TObjArray*,const Char_t *filename="galice.root"); | |
18 | ||
19 | virtual ~AliHBTReaderKineTree(){} | |
20 | ||
bdec021f | 21 | Int_t Read(AliHBTRun* particles, AliHBTRun* /*tracks*/);//reads tracks and particles and puts them in runs |
81f7fe9f | 22 | |
23 | AliHBTEvent* GetParticleEvent(Int_t);//returns pointer to event with particles | |
24 | AliHBTEvent* GetTrackEvent(Int_t){return 0x0;}//returns pointer to event with particles | |
25 | Int_t GetNumberOfPartEvents();//returns number of particle events | |
26 | Int_t GetNumberOfTrackEvents(){return 0;}//returns number of track events | |
27 | ||
28 | ||
29 | protected: | |
88cb7938 | 30 | TString fFileName; |
31 | AliHBTRun* fParticles; //!simulated particles | |
81f7fe9f | 32 | |
88cb7938 | 33 | AliRunLoader* OpenFile(Int_t); |
81f7fe9f | 34 | |
35 | Bool_t fIsRead;//!flag indicating if the data are already read | |
88cb7938 | 36 | |
37 | static const TString fgkEventFolderName; | |
38 | ||
81f7fe9f | 39 | private: |
40 | ||
41 | public: | |
42 | ClassDef(AliHBTReaderKineTree,1) | |
43 | }; | |
44 | ||
45 | #endif |