1 ////////////////////////////////////////////////////////////////////////////////
3 // AliFemtoEventReaderESDKine - 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 // Reads in Kine information and stores it in the hidden info //
7 // Authors: Marek Chojnacki mchojnacki@knf.pw.edu.pl //
8 // Adam Kisiel kisiel@mps.ohio-state.edu //
10 ////////////////////////////////////////////////////////////////////////////////
15 *Revision 1.1 2007/05/25 12:42:54 akisiel
16 *Adding a reader for the Kine information
18 *Revision 1.1 2007/05/16 10:22:11 akisiel
19 *Making the directory structure of AliFemto flat. All files go into one common directory
21 *Revision 1.4 2007/05/03 09:45:20 akisiel
22 *Fixing Effective C++ warnings
24 *Revision 1.3 2007/04/27 07:25:16 akisiel
25 *Make revisions needed for compilation from the main AliRoot tree
27 *Revision 1.1.1.1 2007/04/25 15:38:41 panos
28 *Importing the HBT code dir
33 #ifndef ALIFEMTOEVENTREADERESDKINE_H
34 #define ALIFEMTOEVENTREADERESDKINE_H
35 #include "AliFemtoEventReader.h"
36 #include "AliFemtoEnumeration.h"
41 #include "AliESDtrack.h"
42 #include "AliESDEvent.h"
44 #include "AliRunLoader.h"
45 #include "AliFemtoModelHiddenInfo.h"
49 class AliFemtoEventReaderESDKine : public AliFemtoEventReader
52 AliFemtoEventReaderESDKine();
53 AliFemtoEventReaderESDKine(const AliFemtoEventReaderESDKine &aReader);
54 ~AliFemtoEventReaderESDKine();
56 AliFemtoEventReaderESDKine& operator=(const AliFemtoEventReaderESDKine& aReader);
58 virtual AliFemtoEvent* ReturnHbtEvent();
59 virtual AliFemtoString Report();
60 //void SetFileName(const char* fileName);
61 void SetInputFile(const char* inputFile);
62 void SetConstrained(const bool constrained);
63 bool GetConstrained() const;
68 TString fInputFile; // name of input file with ESD filenames
69 TString fFileName; // name of current ESD file
70 bool fConstrained; // flag to set which momentum from ESD file will be use
71 int fNumberofEvent; // number of Events in ESD file
72 int fCurEvent; // number of current event
73 int fCurRLEvent; // Current simulated event
74 TChain* fTree; // ESD tree
75 AliESDEvent* fEvent; // ESD event
76 AliRunLoader* fRunLoader; // Run loader for kine reading
78 Float_t GetSigmaToVertex(const AliESDtrack* esdTrack);
81 ClassDef(AliFemtoEventReaderESDKine, 1)