]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HBTAN/AliHBTReaderITSv2.h
Removed ASV version in AliL3FileHandler by another effective i/o method using index...
[u/mrichter/AliRoot.git] / HBTAN / AliHBTReaderITSv2.h
CommitLineData
1b446896 1#ifndef ALIHBTREADERITSV2_H
2#define ALIHBTREADERITSV2_H
3
4#include "AliHBTReader.h"
5
6#include <TString.h>
7
a9bfdd7b 8class TFile;
1b446896 9
a9bfdd7b 10class AliHBTReaderITSv2: public AliHBTReader
1b446896 11{
88cb7938 12 public:
13
14 AliHBTReaderITSv2();
15 AliHBTReaderITSv2(const Char_t* galicefilename);
16 AliHBTReaderITSv2(TObjArray* dirs, const Char_t* galicefilename = "galice.root");
17
1b446896 18 virtual ~AliHBTReaderITSv2();
19
a9bfdd7b 20 Int_t Read(AliHBTRun*, AliHBTRun*);//reads tracks and particles and puts them in runs
21
22 AliHBTEvent* GetParticleEvent(Int_t);//returns pointer to event with particles
23 AliHBTEvent* GetTrackEvent(Int_t);//returns pointer to event with particles
24 Int_t GetNumberOfPartEvents();//returns number of particle events
25 Int_t GetNumberOfTrackEvents();//returns number of track events
98295f4b 26
27 void SetMagneticField(Float_t mf){fMagneticField=mf;}
28 void UseMagneticFieldFromRun(Bool_t flag = kTRUE){fUseMagFFromRun=flag;}
a9bfdd7b 29
30 protected:
a9bfdd7b 31
32 AliHBTRun* fParticles; //!simulated particles
33 AliHBTRun* fTracks; //!reconstructed tracks (particles)
1b446896 34
88cb7938 35 TString fFileName;//name of the file with galice.root
a9bfdd7b 36
37 Bool_t fIsRead;//!flag indicating if the data are already read
38
98295f4b 39 Float_t fMagneticField;//magnetic field value that was enforced while reading
40 Bool_t fUseMagFFromRun;//flag indicating if using field specified in gAlice (kTRUE)
41 // or enforece other defined by fMagneticField
1b446896 42 ClassDef(AliHBTReaderITSv2,1)
43};
a9bfdd7b 44
45#endif