Transition to NewIO
[u/mrichter/AliRoot.git] / HBTAN / AliHBTReaderKineTree.h
... / ...
CommitLineData
1#ifndef ALIHBTREADERKINETREE_H
2#define ALIHBTREADERKINETREE_H
3
4#include "AliHBTReader.h"
5#include <TString.h>
6
7class TFile;
8class AliStack;
9class AliRunLoader;
10
11class 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
21 Int_t Read(AliHBTRun* particles, AliHBTRun *tracks);//reads tracks and particles and puts them in runs
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:
30 TString fFileName;
31 AliHBTRun* fParticles; //!simulated particles
32
33 AliRunLoader* OpenFile(Int_t);
34
35 Bool_t fIsRead;//!flag indicating if the data are already read
36
37 static const TString fgkEventFolderName;
38
39 private:
40
41 public:
42 ClassDef(AliHBTReaderKineTree,1)
43 };
44
45#endif