1 #ifndef ALIHBTREADERITSV1_H
2 #define ALIHBTREADERITSV1_H
3 //____________________________________________________________________
4 //////////////////////////////////////////////////////////////////////
6 // class AliHBTReaderITSv1 //
8 // Reader for ITSv1 tracks. Not maintained since v1 is not //
9 // supposed to be used //
11 //////////////////////////////////////////////////////////////////////
14 #include "AliHBTReader.h"
20 class AliHBTReaderITSv1: public AliHBTReader
23 AliHBTReaderITSv1(const Char_t* tracksfilename="itstracks.root",
24 const Char_t* galicefilename="galice.root");
25 AliHBTReaderITSv1(TObjArray* dirs,
26 const Char_t* tracksfilename="itstracks.root",
27 const Char_t* galicefilename="galice.root");
30 virtual ~AliHBTReaderITSv1();
32 Int_t Read(AliHBTRun* particles, AliHBTRun *tracks);//reads tracks and particles and puts them in runs
34 AliHBTEvent* GetParticleEvent(Int_t);//returns pointer to event with particles
35 AliHBTEvent* GetTrackEvent(Int_t);//returns pointer to event with particles
36 Int_t GetNumberOfPartEvents();//returns number of particle events
37 Int_t GetNumberOfTrackEvents();//returns number of track events
40 TString fITSTracksFileName; //name of the file with tracks
41 TString fGAliceFileName;//name of the file containing Run Loader
43 AliHBTRun* fParticles; //!simulated particles
44 AliHBTRun* fTracks; //!reconstructed tracks (particles)
46 Bool_t fIsRead;//flag indicating if the data are already read
48 TFile* OpenTrackFile(Int_t);//opens files to be read for given directoru nomber in fDirs Array
49 TFile* OpenGAliceFile(Int_t);
52 ClassDef(AliHBTReaderITSv1,1)