]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTReaderITSv1.h
Shutting up Coding Violations Checker
[u/mrichter/AliRoot.git] / HBTAN / AliHBTReaderITSv1.h
1 #ifndef ALIHBTREADERITSV1_H
2 #define ALIHBTREADERITSV1_H
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
13
14 #include "AliHBTReader.h"
15
16 #include <TString.h>
17
18 class TObjArray;
19 class TFile;
20 class AliHBTReaderITSv1: public AliHBTReader
21 {
22   public:    
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");    
28     
29     
30     virtual ~AliHBTReaderITSv1();
31     
32     Int_t Read(AliHBTRun* particles, AliHBTRun *tracks);//reads tracks and particles and puts them in runs
33     
34     
35   protected:
36     TString fITSTracksFileName; //name of the file with tracks
37     TString fGAliceFileName;//name of the file containing Run Loader
38     
39     TFile* OpenTrackFile(Int_t n);//opens files to be read for given directoru nomber in fDirs Array
40     TFile* OpenGAliceFile(Int_t n);
41     
42   private:
43     ClassDef(AliHBTReaderITSv1,1)
44 };
45
46 #endif