Initial version
[u/mrichter/AliRoot.git] / HBTAN / AliHBTReader.h
CommitLineData
1b446896 1#ifndef ALIHBTREADER_H
2#define ALIHBTREADER_H
3
4#include <TObject.h>
5
6//Reader Base class (reads particles and tracks and
7//puts it to the AliHBTRun object
8//Piotr.Skowronski@cern.ch
9
10class AliHBTRun;
11class AliHBTEvent;
12class AliHBTParticleCut;
13class TObjArray;
14class AliHBTParticle;
15
16class AliHBTReader: public TObject
17
18{
19 public:
20 AliHBTReader();
21 virtual ~AliHBTReader();
22 //in the future this class is will read global tracking
23 virtual Int_t Read(AliHBTRun* particles, AliHBTRun *tracks) = 0;
24
25 virtual AliHBTEvent* GetParticleEvent(Int_t) = 0;
26 virtual AliHBTEvent* GetTrackEvent(Int_t) = 0;
27 virtual Int_t GetNumberOfPartEvents() = 0;
28 virtual Int_t GetNumberOfTrackEvents() = 0;
29
30
31 void AddParticleCut(AliHBTParticleCut* cut);
32
33 protected:
34
35 TObjArray *fCuts;//
36
37 Bool_t Pass(AliHBTParticle*);
38 Bool_t Pass(Int_t pid);
39
40 private:
41
42 public:
43 ClassDef(AliHBTReader,1)
44};
45
46#endif