+++ /dev/null
-/////////////////////////////////////////////////////////////////////////////////////
-// //
-// AliFemtoEventReaderKinematicsChainESD - the reader class for the Alice ESD and //
-// the model Kinematics information tailored for the Task framework and the //
-// Reads in AliESDfriend to create shared hit/quality information //
-// Authors: Malgorzata Janik, Warsaw University of Technology, majanik@cern.ch //
-// Lukasz Graczykowski, Warsaw University of Technology, lgraczyk@cern.ch //
-// //
-/////////////////////////////////////////////////////////////////////////////////////
-
-
-#ifndef ALIFEMTOEVENTREADERKINEMATICSCHAINESD_H
-#define ALIFEMTOEVENTREADERKINEMATICSCHAINESD_H
-
-#include "AliFemtoEventReader.h"
-#include "AliFemtoEnumeration.h"
-#include "AliFemtoV0.h"
-#include "AliESDtrackCuts.h"
-
-#include <string>
-#include <vector>
-#include <TTree.h>
-#include <AliStack.h>
-#include <AliESDEvent.h>
-#include <list>
-#include <AliGenEventHeader.h>
-
-
-
-class AliFemtoEvent;
-
-class AliFemtoEventReaderKinematicsChainESD : public AliFemtoEventReader
-{
- public:
- enum EventMult {kGlobalCount=0, kVZERO=1, kReferenceITSTPC=2, kCentrality=3};
- typedef enum EventMult EstEventMult;
-
- AliFemtoEventReaderKinematicsChainESD();
- AliFemtoEventReaderKinematicsChainESD(const AliFemtoEventReaderKinematicsChainESD& aReader);
- ~AliFemtoEventReaderKinematicsChainESD();
-
- AliFemtoEventReaderKinematicsChainESD& operator=(const AliFemtoEventReaderKinematicsChainESD& aReader);
-
- AliFemtoEvent* ReturnHbtEvent();
- AliFemtoString Report();
- void SetConstrained(bool constrained);
- bool GetConstrained() const;
-
- //void SetESDSource(AliESDEvent *aESD);
- void SetStackSource(AliStack *aStack);
- void SetESDSource(AliESDEvent *aESD);
- void SetGenEventHeader(AliGenEventHeader *aGenHeader);
- void SetRotateToEventPlane(short dorotate);
- void SetUseMultiplicity(EstEventMult aType);
- void CopyAODtoFemtoV0(TParticle *tv0, AliFemtoV0 *tFemtoV0 );
-
- protected:
-
- private:
- string fFileName; // name of current ESD file
- bool fConstrained; // flag to set which momentum from ESD file will be use
- int fNumberofEvent; // number of Events in ESD file
- int fCurEvent; // number of current event
- unsigned int fCurFile; // number of current file
- AliStack *fStack; // Kinematics stack pointer
- AliESDEvent *fEvent; // ESD event
- AliGenEventHeader *fGenHeader; // Link to the generator event header
- EstEventMult fEstEventMult; // Type of the event multiplicity estimator
- short fRotateToEventPlane; // Rotate the event so that event plane is at x=0
-
- Float_t GetSigmaToVertex(double *impact, double *covar);
-
-#ifdef __ROOT__
- ClassDef(AliFemtoEventReaderKinematicsChainESD, 1)
-#endif
-
- };
-
-#endif
-
-