]>
Commit | Line | Data |
---|---|---|
1b446896 | 1 | #ifndef ALIHBTREADERITSV1_H |
2 | #define ALIHBTREADERITSV1_H | |
16f9289f | 3 | //____________________________________________________________________ |
4 | ////////////////////////////////////////////////////////////////////// | |
5 | // // | |
6 | // class AliHBTReaderITSv1 // | |
7 | // // | |
8 | // Reader for ITSv1 tracks. Not maintained since v1 is not // | |
9 | // supposed to be used // | |
10 | // // | |
11 | ////////////////////////////////////////////////////////////////////// | |
12 | ||
1b446896 | 13 | |
14 | #include "AliHBTReader.h" | |
15 | ||
16 | #include <TString.h> | |
17 | ||
64e553ff | 18 | class TObjArray; |
19 | class TFile; | |
1b446896 | 20 | class AliHBTReaderITSv1: public AliHBTReader |
21 | { | |
22 | public: | |
64e553ff | 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", | |
6440fe71 | 27 | const Char_t* galicefilename="galice.root"); |
64e553ff | 28 | |
29 | ||
30 | virtual ~AliHBTReaderITSv1(); | |
1b446896 | 31 | |
32 | Int_t Read(AliHBTRun* particles, AliHBTRun *tracks);//reads tracks and particles and puts them in runs | |
33 | ||
1b446896 | 34 | |
35 | protected: | |
16f9289f | 36 | TString fITSTracksFileName; //name of the file with tracks |
37 | TString fGAliceFileName;//name of the file containing Run Loader | |
1b446896 | 38 | |
a8a66f34 | 39 | TFile* OpenTrackFile(Int_t n);//opens files to be read for given directoru nomber in fDirs Array |
40 | TFile* OpenGAliceFile(Int_t n); | |
16f9289f | 41 | |
1b446896 | 42 | private: |
64e553ff | 43 | ClassDef(AliHBTReaderITSv1,1) |
1b446896 | 44 | }; |
45 | ||
64e553ff | 46 | #endif |