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_H
10 #define ALIFEMTOEVENTREADERESDCHAIN_H
12 #include "AliFemtoEventReader.h"
13 #include "AliFemtoEnumeration.h"
18 #include "AliESDEvent.h"
19 #include "AliESDfriend.h"
24 class AliFemtoEventReaderESDChain : public AliFemtoEventReader
27 AliFemtoEventReaderESDChain();
28 AliFemtoEventReaderESDChain(const AliFemtoEventReaderESDChain& aReader);
29 ~AliFemtoEventReaderESDChain();
31 AliFemtoEventReaderESDChain& operator=(const AliFemtoEventReaderESDChain& aReader);
33 AliFemtoEvent* ReturnHbtEvent();
34 AliFemtoString Report();
35 void SetConstrained(const bool constrained);
36 void SetReadTPCInner(const bool readinner);
37 void SetUseTPCOnly(const bool usetpconly);
39 bool GetConstrained() const;
40 bool GetReadTPCInner() const;
41 bool GetUseTPCOnly() const;
43 void SetESDSource(AliESDEvent *aESD);
44 // void SetESDfriendSource(AliESDfriend *aFriend);
49 string fFileName; //name of current ESD file
50 bool fConstrained; //flag to set which momentum from ESD file will be use
51 bool fReadInner; // flag to set if one wants to read TPC-only momentum
52 // and store it in the hidden info
53 bool fUseTPCOnly; // flag to set if one wants to replace the global parameters
54 // by the TPC only ones
55 int fNumberofEvent; //number of Events in ESD file
56 int fCurEvent; //number of current event
57 unsigned int fCurFile; //number of current file
58 AliESDEvent* fEvent; //ESD event
59 // AliESDfriend* fEventFriend;
61 /* list<Int_t> **fSharedList; //! Table (one list per padrow) of clusters which are shared */
62 /* list<Int_t> **fClusterPerPadrow; //! Table (one list per padrow) of clusters in each padrow */
64 Float_t GetSigmaToVertex(double *impact, double *covar);
67 ClassDef(AliFemtoEventReaderESDChain, 1)