]>
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$ | |
d0e92d9a | 14 | *Revision 1.4 2007/05/03 09:45:20 akisiel |
15 | *Fixing Effective C++ warnings | |
16 | * | |
0215f606 | 17 | *Revision 1.3 2007/04/27 07:25:16 akisiel |
18 | *Make revisions needed for compilation from the main AliRoot tree | |
19 | * | |
b2f60a91 | 20 | *Revision 1.1.1.1 2007/04/25 15:38:41 panos |
21 | *Importing the HBT code dir | |
22 | * | |
67427ff7 | 23 | */ |
24 | ||
25 | ||
d0e92d9a | 26 | #ifndef ALIFEMTOEVENTREADERESD_H |
27 | #define ALIFEMTOEVENTREADERESD_H | |
28 | #include "AliFemtoEventReader.h" | |
29 | #include "AliFemtoEnumeration.h" | |
67427ff7 | 30 | |
31 | #include <string> | |
32 | #include <vector> | |
33 | #include "TTree.h" | |
34 | #include "AliESD.h" | |
35 | #include "AliESDfriend.h" | |
36 | #include <list> | |
37 | ||
38 | class AliFemtoEvent; | |
39 | ||
40 | class AliFemtoEventReaderESD : public AliFemtoEventReader | |
41 | { | |
42 | public: | |
43 | AliFemtoEventReaderESD(); | |
0215f606 | 44 | AliFemtoEventReaderESD(const AliFemtoEventReaderESD &aReader); |
67427ff7 | 45 | ~AliFemtoEventReaderESD(); |
0215f606 | 46 | |
47 | AliFemtoEventReaderESD& operator=(const AliFemtoEventReaderESD& aReader); | |
48 | ||
67427ff7 | 49 | AliFemtoEvent* ReturnHbtEvent(); |
50 | AliFemtoString Report(); | |
51 | //void SetFileName(const char* fileName); | |
52 | void SetInputFile(const char* inputFile); | |
53 | void SetConstrained(const bool constrained); | |
54 | bool GetConstrained() const; | |
55 | ||
56 | protected: | |
57 | ||
58 | private: | |
0215f606 | 59 | bool GetNextFile(); // setting next file to read |
67427ff7 | 60 | |
0215f606 | 61 | string fInputFile; // name of input file with ESD filenames |
62 | string fFileName; // name of current ESD file | |
63 | bool fConstrained; // flag to set which momentum from ESD file will be use | |
64 | int fNumberofEvent; // number of Events in ESD file | |
65 | int fCurEvent; // number of current event | |
66 | unsigned int fCurFile; // number of current file | |
67 | vector<string> fListOfFiles; // list of ESD files | |
68 | TTree* fTree; // ESD tree | |
69 | AliESD* fEvent; // ESD event | |
70 | TFile* fEsdFile; // ESD file | |
71 | AliESDfriend* fEventFriend; // ESD friend informaion | |
67427ff7 | 72 | |
0215f606 | 73 | list<Int_t> **fSharedList; //! Table (one list per padrow) of clusters which are shared |
74 | list<Int_t> **fClusterPerPadrow; //! Table (one list per padrow) of clusters in each padrow | |
67427ff7 | 75 | |
76 | #ifdef __ROOT__ | |
77 | ClassDef(AliFemtoEventReaderESD, 10) | |
78 | #endif | |
79 | ||
80 | }; | |
81 | ||
82 | #endif | |
83 | ||
84 |