]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FEMTOSCOPY/AliFemto/AliFemtoEventReaderESDChain.h
Coding violations corrected.
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoEventReaderESDChain.h
CommitLineData
0215f606 1////////////////////////////////////////////////////////////////////////////////
3a74204a 2// //
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 //
7// //
0215f606 8////////////////////////////////////////////////////////////////////////////////
3a74204a 9#ifndef ALIFEMTOEVENTREADERESDCHAIN_H
10#define ALIFEMTOEVENTREADERESDCHAIN_H
11
d0e92d9a 12#include "AliFemtoEventReader.h"
13#include "AliFemtoEnumeration.h"
67427ff7 14
15#include <string>
16#include <vector>
17#include "TTree.h"
18#include "AliESD.h"
19#include "AliESDfriend.h"
20#include <list>
21
22class AliFemtoEvent;
23
24class AliFemtoEventReaderESDChain : public AliFemtoEventReader
25{
26 public:
27 AliFemtoEventReaderESDChain();
0215f606 28 AliFemtoEventReaderESDChain(const AliFemtoEventReaderESDChain& aReader);
67427ff7 29 ~AliFemtoEventReaderESDChain();
0215f606 30
31 AliFemtoEventReaderESDChain& operator=(const AliFemtoEventReaderESDChain& aReader);
32
67427ff7 33 AliFemtoEvent* ReturnHbtEvent();
34 AliFemtoString Report();
35 void SetConstrained(const bool constrained);
36 bool GetConstrained() const;
37
d0e92d9a 38 void SetESDSource(AliESD *aESD);
39 void SetESDfriendSource(AliESDfriend *aFriend);
67427ff7 40
41 protected:
42
43 private:
44 string fFileName; //name of current ESD file
45 bool fConstrained; //flag to set which momentum from ESD file will be use
46 int fNumberofEvent; //number of Events in ESD file
47 int fCurEvent; //number of current event
48 unsigned int fCurFile; //number of current file
49 AliESD* fEvent; //ESD event
50 AliESDfriend* fEventFriend;
51
0215f606 52 list<Int_t> **fSharedList; //! Table (one list per padrow) of clusters which are shared
53 list<Int_t> **fClusterPerPadrow; //! Table (one list per padrow) of clusters in each padrow
67427ff7 54
55#ifdef __ROOT__
b2f60a91 56 ClassDef(AliFemtoEventReaderESDChain, 1)
67427ff7 57#endif
58
59 };
60
61#endif
62
63