]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTReaderTPC.h
Dummy copy constructor
[u/mrichter/AliRoot.git] / HBTAN / AliHBTReaderTPC.h
1 #ifndef AliHBTReaderTPC_H
2 #define AliHBTReaderTPC_H
3
4 #include "AliHBTReader.h"
5
6 //Multi file reader for TPC
7 //
8 //This reader reads tracks AliTPCtracks.root
9 //                  particles form gAlice
10 //Piotr.Skowronski@cern.ch
11 //more info: http://alisoft.cern.ch/people/skowron/analyzer/index.html
12
13 #include <TString.h>
14 class TFile;
15
16 class AliHBTReaderTPC: public AliHBTReader
17 {
18   public:
19     AliHBTReaderTPC();
20     AliHBTReaderTPC(const Char_t* galicefilename);
21     AliHBTReaderTPC(TObjArray* dirs, const Char_t* galicefilename = "galice.root");
22
23     virtual ~AliHBTReaderTPC();
24     
25     Int_t Read(AliHBTRun* particles, AliHBTRun *tracks);//reads tracks and particles and puts them in runs
26     
27     AliHBTEvent* GetParticleEvent(Int_t);//returns pointer to event with particles
28     AliHBTEvent* GetTrackEvent(Int_t);//returns pointer to event with particles 
29     Int_t GetNumberOfPartEvents();//returns number of particle events
30     Int_t GetNumberOfTrackEvents();//returns number of track events
31     
32   protected:
33     //in the future this class is will read global tracking
34     
35     AliHBTRun* fParticles; //!simulated particles
36     AliHBTRun* fTracks; //!reconstructed tracks (particles)
37
38     TString fFileName;//name of the file with galice.root
39
40     Bool_t fIsRead;//!flag indicating if the data are already read
41   private:
42   public:
43     ClassDef(AliHBTReaderTPC,2)
44 };
45
46
47 #endif