Converted to AOD schema
[u/mrichter/AliRoot.git] / HBTAN / AliHBTReaderKineTree.h
CommitLineData
81f7fe9f 1#ifndef ALIHBTREADERKINETREE_H
2#define ALIHBTREADERKINETREE_H
eb828ce0 3//_______________________________________________________________________
4/////////////////////////////////////////////////////////////////////////
5//
6// class AliHBTReaderKineTree
7//
8// Reader for Kinematics
9//
10// Piotr.Skowronski@cern.ch
11//
12/////////////////////////////////////////////////////////////////////////
81f7fe9f 13#include "AliHBTReader.h"
14#include <TString.h>
15
16class TFile;
17class AliStack;
88cb7938 18class AliRunLoader;
81f7fe9f 19
20class AliHBTReaderKineTree: public AliHBTReader
21 {
22 public:
23 AliHBTReaderKineTree();
24
25 AliHBTReaderKineTree(TString&);
26 AliHBTReaderKineTree(TObjArray*,const Char_t *filename="galice.root");
eb828ce0 27 AliHBTReaderKineTree(const AliHBTReaderKineTree& in);
81f7fe9f 28
bed069a4 29 virtual ~AliHBTReaderKineTree();
eb828ce0 30
31 AliHBTReaderKineTree& operator=(const AliHBTReaderKineTree& in);
81f7fe9f 32
bed069a4 33 void Rewind();
34
35 Bool_t ReadsTracks() const {return kFALSE;}
36 Bool_t ReadsParticles() const {return kTRUE;}
81f7fe9f 37
38 protected:
bed069a4 39 Int_t ReadNext();//reads tracks and particles and puts them in runs
40 Int_t OpenNextFile();
41
42 TString fFileName;//file name
eb828ce0 43 AliRunLoader* fRunLoader;//!Pointer to loader
88cb7938 44
eb828ce0 45 static const TString fgkEventFolderName; //Event folder name that session are mounter
88cb7938 46
81f7fe9f 47 private:
bed069a4 48 ClassDef(AliHBTReaderKineTree,2)
81f7fe9f 49 };
50
51#endif