]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HBTAN/AliHBTReader.h
SetDirs method implemented
[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
0fdcc83d 7//puts it to the AliHBTRun objects
1b446896 8//Piotr.Skowronski@cern.ch
9
10class AliHBTRun;
11class AliHBTEvent;
12class AliHBTParticleCut;
13class TObjArray;
14class AliHBTParticle;
0fdcc83d 15class TString;
1b446896 16
17class AliHBTReader: public TObject
18
19{
20 public:
21 AliHBTReader();
0fdcc83d 22 AliHBTReader(TObjArray*);
1b446896 23 virtual ~AliHBTReader();
24 //in the future this class is will read global tracking
25 virtual Int_t Read(AliHBTRun* particles, AliHBTRun *tracks) = 0;
26
27 virtual AliHBTEvent* GetParticleEvent(Int_t) = 0;
28 virtual AliHBTEvent* GetTrackEvent(Int_t) = 0;
29 virtual Int_t GetNumberOfPartEvents() = 0;
30 virtual Int_t GetNumberOfTrackEvents() = 0;
31
1b446896 32 void AddParticleCut(AliHBTParticleCut* cut);
4e7d5d5f 33
34 void SetDirs(TObjArray* dirs){fDirs = dirs;} //sets array directories names
0fdcc83d 35
1b446896 36 protected:
37
0fdcc83d 38 TObjArray *fCuts;//array with particle cuts
39 TObjArray *fDirs;//arry with directories to read data from
1b446896 40
41 Bool_t Pass(AliHBTParticle*);
42 Bool_t Pass(Int_t pid);
0fdcc83d 43
44 TString& GetDirName(Int_t);
1b446896 45
46 private:
47
48 public:
49 ClassDef(AliHBTReader,1)
50};
51
52#endif