1 ////////////////////////////////////////////////////////////////////////////////
3 /// AliFemtoEventReaderESD - 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 /// Authors: Marek Chojnacki mchojnacki@knf.pw.edu.pl ///
7 /// Adam Kisiel kisiel@mps.ohio-state.edu ///
9 ////////////////////////////////////////////////////////////////////////////////
14 *Revision 1.1.2.1 2007/09/30 11:38:59 akisiel
15 *Adapt the readers to the new AliESDEvent structure
17 *Revision 1.1 2007/05/16 10:22:11 akisiel
18 *Making the directory structure of AliFemto flat. All files go into one common directory
20 *Revision 1.4 2007/05/03 09:45:20 akisiel
21 *Fixing Effective C++ warnings
23 *Revision 1.3 2007/04/27 07:25:16 akisiel
24 *Make revisions needed for compilation from the main AliRoot tree
26 *Revision 1.1.1.1 2007/04/25 15:38:41 panos
27 *Importing the HBT code dir
32 #ifndef ALIFEMTOEVENTREADERESD_H
33 #define ALIFEMTOEVENTREADERESD_H
34 #include "AliFemtoEventReader.h"
35 #include "AliFemtoEnumeration.h"
41 #include "AliESDEvent.h"
46 class AliFemtoEventReaderESD : public AliFemtoEventReader
49 AliFemtoEventReaderESD();
50 AliFemtoEventReaderESD(const AliFemtoEventReaderESD &aReader);
51 virtual ~AliFemtoEventReaderESD();
53 AliFemtoEventReaderESD& operator=(const AliFemtoEventReaderESD& aReader);
55 virtual 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;
61 void SetReadTPCInner(const bool readinner);
62 bool GetReadTPCInner() const;
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 bool fReadInner; // flag to set if one wants to read TPC-only momentum
71 // instead of the global one
72 int fNumberofEvent; // number of Events in ESD file
73 int fCurEvent; // number of current event
74 TChain* fTree; // ESD tree
75 TFile* fEsdFile; // ESD file
76 AliESDEvent* fEvent; // ESD event
79 ClassDef(AliFemtoEventReaderESD, 11)