1 #ifndef AliHBTReaderTPC_H
2 #define AliHBTReaderTPC_H
4 #include "AliHBTReader.h"
6 //Multi file reader for TPC
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
16 class AliHBTReaderTPC: public AliHBTReader
20 AliHBTReaderTPC(const Char_t* galicefilename);
21 AliHBTReaderTPC(TObjArray* dirs, const Char_t* galicefilename = "galice.root");
23 virtual ~AliHBTReaderTPC();
25 Int_t Read(AliHBTRun* particles, AliHBTRun *tracks);//reads tracks and particles and puts them in runs
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
33 //in the future this class is will read global tracking
35 AliHBTRun* fParticles; //!simulated particles
36 AliHBTRun* fTracks; //!reconstructed tracks (particles)
38 TString fFileName;//name of the file with galice.root
40 Bool_t fIsRead;//!flag indicating if the data are already read
43 ClassDef(AliHBTReaderTPC,2)