]>
Commit | Line | Data |
---|---|---|
f007751a | 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$ | |
cc5faabc | 15 | *Revision 1.1 2007/05/25 12:42:54 akisiel |
16 | *Adding a reader for the Kine information | |
17 | * | |
f007751a | 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 | ||
cc5faabc | 33 | #ifndef ALIFEMTOEVENTREADERESDKINE_H |
34 | #define ALIFEMTOEVENTREADERESDKINE_H | |
f007751a | 35 | #include "AliFemtoEventReader.h" |
36 | #include "AliFemtoEnumeration.h" | |
37 | ||
38 | #include <string> | |
39 | #include <vector> | |
cc5faabc | 40 | #include "TChain.h" |
0b3bd1ac | 41 | #include "AliESDtrack.h" |
cc5faabc | 42 | #include "AliESDEvent.h" |
f007751a | 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 | ||
db2d5b4b | 58 | virtual AliFemtoEvent* ReturnHbtEvent(); |
59 | virtual AliFemtoString Report(); | |
f007751a | 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: | |
cc5faabc | 68 | TString fInputFile; // name of input file with ESD filenames |
69 | TString fFileName; // name of current ESD file | |
f007751a | 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 | |
cc5faabc | 73 | int fCurRLEvent; // Current simulated event |
74 | TChain* fTree; // ESD tree | |
75 | AliESDEvent* fEvent; // ESD event | |
f007751a | 76 | AliRunLoader* fRunLoader; // Run loader for kine reading |
f007751a | 77 | |
0b3bd1ac | 78 | Float_t GetSigmaToVertex(const AliESDtrack* esdTrack); |
79 | ||
f007751a | 80 | #ifdef __ROOT__ |
81 | ClassDef(AliFemtoEventReaderESDKine, 1) | |
82 | #endif | |
83 | ||
84 | }; | |
85 | ||
86 | #endif | |
87 | ||
88 |