]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemto/AliFemtoEventReaderESDChainKine.h
4832dd0e23eb34d82cda157b76f116b6a561ad6f
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoEventReaderESDChainKine.h
1 ////////////////////////////////////////////////////////////////////////////////
2 //                                                                            //
3 // AliFemtoEventReaderESDChainKine - the reader class for the Alice ESD and   //
4 // the model Kinematics information tailored for the Task framework and the   //
5 // Reads in AliESDfriend to create shared hit/quality information             //
6 // Authors: Adam Kisiel kisiel@mps.ohio-state.edu                             //
7 //                                                                            //
8 ////////////////////////////////////////////////////////////////////////////////
9 #ifndef ALIFEMTOEVENTREADERESDCHAINKINE_H
10 #define ALIFEMTOEVENTREADERESDCHAINKINE_H
11
12 #include "AliFemtoEventReader.h"
13 #include "AliFemtoEnumeration.h"
14
15 #include <string>
16 #include <vector>
17 #include <TTree.h>
18 #include <AliESDEvent.h>
19 #include <AliESDfriend.h>
20 #include <AliStack.h>
21 #include <list>
22 #include <AliGenEventHeader.h>
23
24 class AliFemtoEvent;
25
26 class AliFemtoEventReaderESDChainKine : public AliFemtoEventReader 
27 {
28  public:
29   AliFemtoEventReaderESDChainKine();
30   AliFemtoEventReaderESDChainKine(const AliFemtoEventReaderESDChainKine& aReader);
31   ~AliFemtoEventReaderESDChainKine();
32
33   AliFemtoEventReaderESDChainKine& operator=(const AliFemtoEventReaderESDChainKine& aReader);
34
35   AliFemtoEvent* ReturnHbtEvent();
36   AliFemtoString Report();
37   void SetConstrained(const bool constrained);
38   bool GetConstrained() const;
39
40   void SetESDSource(AliESDEvent *aESD);
41   void SetStackSource(AliStack *aStack);
42   void SetGenEventHeader(AliGenEventHeader *aGenHeader);
43
44  protected:
45
46  private:
47   string         fFileName;      // name of current ESD file
48   bool           fConstrained;   // flag to set which momentum from ESD file will be use
49   int            fNumberofEvent; // number of Events in ESD file
50   int            fCurEvent;      // number of current event
51   unsigned int   fCurFile;       // number of current file
52   AliESDEvent*   fEvent;         // ESD event
53   AliStack      *fStack;         // Kinematics stack pointer
54   AliGenEventHeader *fGenHeader; // Link to the generator event header
55
56 #ifdef __ROOT__
57   ClassDef(AliFemtoEventReaderESDChainKine, 1)
58 #endif
59
60     };
61   
62 #endif
63
64