]>
Commit | Line | Data |
---|---|---|
76ce4b5b | 1 | //////////////////////////////////////////////////////////////////////////////// |
2 | // // | |
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 // | |
9 | // // | |
10 | //////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | /* | |
13 | *$Id$ | |
14 | *$Log$ | |
15 | *Revision 1.1 2007/05/25 12:42:54 akisiel | |
16 | *Adding a reader for the Kine information | |
17 | * | |
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 | |
20 | * | |
21 | *Revision 1.4 2007/05/03 09:45:20 akisiel | |
22 | *Fixing Effective C++ warnings | |
23 | * | |
24 | *Revision 1.3 2007/04/27 07:25:16 akisiel | |
25 | *Make revisions needed for compilation from the main AliRoot tree | |
26 | * | |
27 | *Revision 1.1.1.1 2007/04/25 15:38:41 panos | |
28 | *Importing the HBT code dir | |
29 | * | |
30 | */ | |
31 | ||
32 | ||
33 | #ifndef ALIFEMTOEVENTREADERESDKINE_H | |
34 | #define ALIFEMTOEVENTREADERESDKINE_H | |
35 | #include "AliFemtoEventReader.h" | |
36 | #include "AliFemtoEnumeration.h" | |
37 | ||
38 | #include <string> | |
39 | #include <vector> | |
40 | #include "TChain.h" | |
41 | #include "AliESDtrack.h" | |
42 | #include "AliESDEvent.h" | |
43 | #include <list> | |
44 | #include "AliRunLoader.h" | |
45 | #include "AliFemtoModelHiddenInfo.h" | |
46 | ||
47 | class AliFemtoEvent; | |
48 | ||
49 | class AliFemtoEventReaderESDKine : public AliFemtoEventReader | |
50 | { | |
51 | public: | |
52 | AliFemtoEventReaderESDKine(); | |
53 | AliFemtoEventReaderESDKine(const AliFemtoEventReaderESDKine &aReader); | |
54 | ~AliFemtoEventReaderESDKine(); | |
55 | ||
56 | AliFemtoEventReaderESDKine& operator=(const AliFemtoEventReaderESDKine& aReader); | |
57 | ||
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; | |
64 | ||
65 | protected: | |
66 | ||
67 | private: | |
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 | |
77 | ||
78 | Float_t GetSigmaToVertex(const AliESDtrack* esdTrack); | |
79 | ||
80 | #ifdef __ROOT__ | |
81 | ClassDef(AliFemtoEventReaderESDKine, 1) | |
82 | #endif | |
83 | ||
84 | }; | |
85 | ||
86 | #endif | |
87 | ||
88 |