1 ////////////////////////////////////////////////////////////////////////////////
3 /// AliFemtoEventReaderESDChain - the reader class for the Alice ESD ///
4 /// tailored for the Task framework ///
5 /// Reads in AliESDfriend to create shared hit/quality information ///
6 /// Authors: Adam Kisiel kisiel@mps.ohio-state.edu ///
8 ////////////////////////////////////////////////////////////////////////////////
9 #ifndef AliFemtoEventReaderESDChain_hh
10 #define AliFemtoEventReaderESDChain_hh
11 #include "AliFemtoEventReader.h"
12 #include "AliFemtoEnumeration.h"
18 #include "AliESDfriend.h"
23 class AliFemtoEventReaderESDChain : public AliFemtoEventReader
26 AliFemtoEventReaderESDChain();
27 AliFemtoEventReaderESDChain(const AliFemtoEventReaderESDChain& aReader);
28 ~AliFemtoEventReaderESDChain();
30 AliFemtoEventReaderESDChain& operator=(const AliFemtoEventReaderESDChain& aReader);
32 AliFemtoEvent* ReturnHbtEvent();
33 AliFemtoString Report();
34 void SetConstrained(const bool constrained);
35 bool GetConstrained() const;
37 void SetESDSource(AliESD *aESD);
38 void SetESDfriendSource(AliESDfriend *aFriend);
43 string fFileName; //name of current ESD file
44 bool fConstrained; //flag to set which momentum from ESD file will be use
45 int fNumberofEvent; //number of Events in ESD file
46 int fCurEvent; //number of current event
47 unsigned int fCurFile; //number of current file
48 AliESD* fEvent; //ESD event
49 AliESDfriend* fEventFriend;
51 list<Int_t> **fSharedList; //! Table (one list per padrow) of clusters which are shared
52 list<Int_t> **fClusterPerPadrow; //! Table (one list per padrow) of clusters in each padrow
55 ClassDef(AliFemtoEventReaderESDChain, 1)