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