]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Tasks/AliFlowEvent.h
Merge remote-tracking branch 'origin/master' into TPCdev
[u/mrichter/AliRoot.git] / PWG / FLOW / Tasks / AliFlowEvent.h
CommitLineData
7382279b 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3/* $Id$ */
4
5/*****************************************************************
6 AliFlowEvent: Event container for flow analysis
7
8 origin: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch)
86a97121 9 mods: Redmer A. Bertens (rbertens@cern.ch)
7382279b 10*****************************************************************/
11
12#ifndef ALIFLOWEVENT_H
13#define ALIFLOWEVENT_H
14
daf66719 15class AliFlowTrackCuts;
bc231a12 16class AliFlowTrack;
7382279b 17class AliCFManager;
daf66719 18class AliVEvent;
7382279b 19class AliMCEvent;
20class AliESDEvent;
7382279b 21class AliAODEvent;
244c607a 22class AliMultiplicity;
333ce021 23class AliESDPmdTrack;
86a97121 24class AliFlowVector;
44e060e0 25class TH2F;
7382279b 26
27#include "AliFlowEventSimple.h"
28
29class AliFlowEvent: public AliFlowEventSimple {
30public:
124fb262 31
32 enum KineSource { kNoKine, kESDkine, kMCkine };
33
7382279b 34 AliFlowEvent();
7d27a354 35 AliFlowEvent(Int_t n);
7382279b 36 AliFlowEvent(const AliFlowEvent& event);
37 AliFlowEvent& operator=(const AliFlowEvent& event);
38 virtual ~AliFlowEvent() {}
39
7d27a354 40 //deprecated
7382279b 41 AliFlowEvent( const AliMCEvent* anInput,
42 const AliCFManager* rpCFManager=NULL,
43 const AliCFManager* poiCFManager=NULL ); //use CF(2x)
44 AliFlowEvent( const AliESDEvent* anInput,
45 const AliCFManager* rpCFManager=NULL,
46 const AliCFManager* poiCFManager=NULL ); //use CF(2x)
47 AliFlowEvent( const AliAODEvent* anInput,
48 const AliCFManager* rpCFManager=NULL,
49 const AliCFManager* poiCFManager=NULL ); //use CF(2x)
cd755f77 50 AliFlowEvent( const AliESDEvent* anInput,
51 const AliCFManager* poiCFManager,
52 Bool_t hybrid);
7382279b 53 AliFlowEvent( const AliESDEvent* anInput,
54 const AliMCEvent* anInputMc,
124fb262 55 KineSource anOption=kNoKine,
7382279b 56 const AliCFManager* rpCFManager=NULL,
57 const AliCFManager* poiCFManager=NULL ); //use CF(2x)
244c607a 58 AliFlowEvent( const AliESDEvent* anInput,
59 const AliMultiplicity* anInputTracklets,
ef4799a7 60 const AliCFManager* poiCFManager );
44e060e0 61 AliFlowEvent( const AliESDEvent* anInput,
62 const TH2F* anInputFMDhist,
63 const AliCFManager* poiCFManager );
333ce021 64 //pmd
65 AliFlowEvent( const AliESDEvent* anInput,
66 const AliESDPmdTrack *pmdtracks,
67 const AliCFManager* poiCFManager );
68 //pmd
7d27a354 69 //end of deprecated
70
71 AliFlowEvent( AliFlowTrackCuts* rpCuts,
72 AliFlowTrackCuts* poiCuts );
73
74 void Fill( AliFlowTrackCuts* rpCuts,
75 AliFlowTrackCuts* poiCuts );
7382279b 76
8fa6a5fa
MK
77 void FindDaughters(Bool_t keepDaughtersInRPselection=kFALSE);
78
7382279b 79 void SetMCReactionPlaneAngle(const AliMCEvent* mcEvent);
d17d9387 80 using AliFlowEventSimple::SetMCReactionPlaneAngle;
7382279b 81
bc231a12 82 AliFlowTrack* GetTrack( Int_t i );
83
15725198 84 void InsertTrack(AliFlowTrack*);
85
86a97121 86 virtual void Get2Qsub(AliFlowVector* Qarray, Int_t n = 2, TList *weightsList = 0x0, Bool_t usePhiWeights = 0x0, Bool_t usePtWeights = 0x0, Bool_t useEtaWeights = 0x0);
87 void SetVZEROCalibrationForTrackCuts(AliFlowTrackCuts* cuts);
54dd223b 88 void SetVZEROCalibrationForTrackCuts2011(AliFlowTrackCuts* cuts);
86a97121 89
dd294bb6
MK
90 virtual void ClearFast();
91
7d27a354 92protected:
93 AliFlowTrack* ReuseTrack( Int_t i);
94
86a97121 95private:
54dd223b 96 Int_t fApplyRecentering; // apply recentering of q-vectors? 2010 is 10h style, 2011 is 11h style
86a97121 97 Int_t fCachedRun; //! cached calibration info for vzero
dd294bb6 98 Int_t fVZEROcentralityBin; //! centrality bin for the current event
86a97121 99 Float_t fMeanQ[9][2][2]; //! recentering
100 Float_t fWidthQ[9][2][2]; //! recentering
101 Float_t fMeanQv3[9][2][2]; //! recentering
102 Float_t fWidthQv3[9][2][2]; //! recentering
103
104
54dd223b 105 ClassDef(AliFlowEvent,3)
7382279b 106};
107
108#endif
109
110