]>
Commit | Line | Data |
---|---|---|
0215f606 | 1 | //////////////////////////////////////////////////////////////////////////////// |
2 | /// /// | |
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 /// | |
8 | /// /// | |
9 | //////////////////////////////////////////////////////////////////////////////// | |
10 | ||
67427ff7 | 11 | /* |
12 | *$Id$ | |
13 | *$Log$ | |
ea77036b | 14 | *Revision 1.1.2.1 2007/09/30 11:38:59 akisiel |
15 | *Adapt the readers to the new AliESDEvent structure | |
16 | * | |
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 | |
19 | * | |
d0e92d9a | 20 | *Revision 1.4 2007/05/03 09:45:20 akisiel |
21 | *Fixing Effective C++ warnings | |
22 | * | |
0215f606 | 23 | *Revision 1.3 2007/04/27 07:25:16 akisiel |
24 | *Make revisions needed for compilation from the main AliRoot tree | |
25 | * | |
b2f60a91 | 26 | *Revision 1.1.1.1 2007/04/25 15:38:41 panos |
27 | *Importing the HBT code dir | |
28 | * | |
67427ff7 | 29 | */ |
30 | ||
31 | ||
d0e92d9a | 32 | #ifndef ALIFEMTOEVENTREADERESD_H |
33 | #define ALIFEMTOEVENTREADERESD_H | |
34 | #include "AliFemtoEventReader.h" | |
35 | #include "AliFemtoEnumeration.h" | |
67427ff7 | 36 | |
37 | #include <string> | |
38 | #include <vector> | |
39 | #include "TTree.h" | |
ea77036b | 40 | #include "TChain.h" |
41 | #include "AliESDEvent.h" | |
67427ff7 | 42 | #include <list> |
43 | ||
44 | class AliFemtoEvent; | |
45 | ||
46 | class AliFemtoEventReaderESD : public AliFemtoEventReader | |
47 | { | |
48 | public: | |
49 | AliFemtoEventReaderESD(); | |
0215f606 | 50 | AliFemtoEventReaderESD(const AliFemtoEventReaderESD &aReader); |
de568db1 | 51 | virtual ~AliFemtoEventReaderESD(); |
0215f606 | 52 | |
53 | AliFemtoEventReaderESD& operator=(const AliFemtoEventReaderESD& aReader); | |
54 | ||
ea77036b | 55 | virtual AliFemtoEvent* ReturnHbtEvent(); |
67427ff7 | 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; | |
ea77036b | 61 | void SetReadTPCInner(const bool readinner); |
62 | bool GetReadTPCInner() const; | |
67427ff7 | 63 | |
64 | protected: | |
65 | ||
66 | private: | |
0215f606 | 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 | |
ea77036b | 70 | bool fReadInner; // flag to set if one wants to read TPC-only momentum |
71 | // instead of the global one | |
0215f606 | 72 | int fNumberofEvent; // number of Events in ESD file |
73 | int fCurEvent; // number of current event | |
ea77036b | 74 | TChain* fTree; // ESD tree |
0215f606 | 75 | TFile* fEsdFile; // ESD file |
ea77036b | 76 | AliESDEvent* fEvent; // ESD event |
67427ff7 | 77 | |
78 | #ifdef __ROOT__ | |
ea77036b | 79 | ClassDef(AliFemtoEventReaderESD, 11) |
67427ff7 | 80 | #endif |
81 | ||
82 | }; | |
83 | ||
84 | #endif | |
85 | ||
86 |