1 ////////////////////////////////////////////////////////////////////////////////
3 // AliFemtoEventReaderESDKine - the reader class for the Alice ESD //
4 // Reads in ESD information and converts it into internal AliFemtoEvent //
5 // Reads in AliESDfriend to create shared hit/quality information //
6 // Reads in Kine information and stores it in the hidden info //
7 // Authors: Marek Chojnacki mchojnacki@knf.pw.edu.pl //
8 // Adam Kisiel kisiel@mps.ohio-state.edu //
10 ////////////////////////////////////////////////////////////////////////////////
15 *Revision 1.1 2007/05/16 10:22:11 akisiel
16 *Making the directory structure of AliFemto flat. All files go into one common directory
18 *Revision 1.4 2007/05/03 09:45:20 akisiel
19 *Fixing Effective C++ warnings
21 *Revision 1.3 2007/04/27 07:25:16 akisiel
22 *Make revisions needed for compilation from the main AliRoot tree
24 *Revision 1.1.1.1 2007/04/25 15:38:41 panos
25 *Importing the HBT code dir
30 #ifndef ALIFEMTOEVENTREADERESD_H
31 #define ALIFEMTOEVENTREADERESD_H
32 #include "AliFemtoEventReader.h"
33 #include "AliFemtoEnumeration.h"
39 #include "AliESDfriend.h"
41 #include "AliRunLoader.h"
42 #include "AliFemtoModelHiddenInfo.h"
46 class AliFemtoEventReaderESDKine : public AliFemtoEventReader
49 AliFemtoEventReaderESDKine();
50 AliFemtoEventReaderESDKine(const AliFemtoEventReaderESDKine &aReader);
51 ~AliFemtoEventReaderESDKine();
53 AliFemtoEventReaderESDKine& operator=(const AliFemtoEventReaderESDKine& aReader);
55 AliFemtoEvent* ReturnHbtEvent();
56 AliFemtoString Report();
57 //void SetFileName(const char* fileName);
58 void SetInputFile(const char* inputFile);
59 void SetConstrained(const bool constrained);
60 bool GetConstrained() const;
65 bool GetNextFile(); // setting next file to read
67 string fInputFile; // name of input file with ESD filenames
68 string fFileName; // name of current ESD file
69 bool fConstrained; // flag to set which momentum from ESD file will be use
70 int fNumberofEvent; // number of Events in ESD file
71 int fCurEvent; // number of current event
72 unsigned int fCurFile; // number of current file
73 vector<string> fListOfFiles; // list of ESD files
74 TTree* fTree; // ESD tree
75 AliESD* fEvent; // ESD event
76 TFile* fEsdFile; // ESD file
77 AliESDfriend* fEventFriend; // ESD friend informaion
78 AliRunLoader* fRunLoader; // Run loader for kine reading
80 list<Int_t> **fSharedList; //! Table (one list per padrow) of clusters which are shared
81 list<Int_t> **fClusterPerPadrow; //! Table (one list per padrow) of clusters in each padrow
84 ClassDef(AliFemtoEventReaderESDKine, 1)