67427ff7 |
1 | // AliFemto reader for the ESD objects given back by the chain |
2 | // Version 1: |
3 | // Adam Kisiel, OSU kisiel@mps.ohio-state.edu |
4 | #ifndef AliFemtoEventReaderESDChain_hh |
5 | #define AliFemtoEventReaderESDChain_hh |
6 | #include "AliFemtoEventReader.h" |
7 | #include "AliFemtoEnumeration.h" |
8 | |
9 | #include <string> |
10 | #include <vector> |
11 | #include "TTree.h" |
12 | #include "AliESD.h" |
13 | #include "AliESDfriend.h" |
14 | #include <list> |
15 | |
16 | class AliFemtoEvent; |
17 | |
18 | class AliFemtoEventReaderESDChain : public AliFemtoEventReader |
19 | { |
20 | public: |
21 | AliFemtoEventReaderESDChain(); |
22 | ~AliFemtoEventReaderESDChain(); |
23 | AliFemtoEvent* ReturnHbtEvent(); |
24 | AliFemtoString Report(); |
25 | void SetConstrained(const bool constrained); |
26 | bool GetConstrained() const; |
27 | |
28 | void SetESDSource(AliESD *); |
29 | void SetESDfriendSource(AliESDfriend *); |
30 | |
31 | protected: |
32 | |
33 | private: |
34 | string fFileName; //name of current ESD file |
35 | bool fConstrained; //flag to set which momentum from ESD file will be use |
36 | int fNumberofEvent; //number of Events in ESD file |
37 | int fCurEvent; //number of current event |
38 | unsigned int fCurFile; //number of current file |
39 | AliESD* fEvent; //ESD event |
40 | AliESDfriend* fEventFriend; |
41 | |
42 | list<Int_t> **fSharedList; |
43 | list<Int_t> **fClusterPerPadrow; |
44 | |
45 | #ifdef __ROOT__ |
46 | ClassDef(AliFemtoEventReaderESDChain, 10) |
47 | #endif |
48 | |
49 | }; |
50 | |
51 | #endif |
52 | |
53 | |