AliPhysics  b97afa6 (b97afa6)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFlowEvent.h
Go to the documentation of this file.
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)
9  mods: Redmer A. Bertens (rbertens@cern.ch)
10 *****************************************************************/
11 
12 #ifndef ALIFLOWEVENT_H
13 #define ALIFLOWEVENT_H
14 
15 class AliFlowTrackCuts;
16 class AliFlowTrack;
17 class AliCFManager;
18 class AliVEvent;
19 class AliMCEvent;
20 class AliESDEvent;
21 class AliAODEvent;
22 class AliMultiplicity;
23 class AliESDPmdTrack;
24 class AliFlowVector;
25 class TH1F;
26 class TH1;
27 class TH2F;
28 class TArrayD;
29 
30 #include "AliFlowEventSimple.h"
31 
33 public:
34 
36 
37  AliFlowEvent();
39  AliFlowEvent(const AliFlowEvent& event);
40  AliFlowEvent& operator=(const AliFlowEvent& event);
41  virtual ~AliFlowEvent() {}
42 
43  //deprecated
44  AliFlowEvent( const AliMCEvent* anInput,
45  const AliCFManager* rpCFManager=NULL,
46  const AliCFManager* poiCFManager=NULL ); //use CF(2x)
47  AliFlowEvent( const AliESDEvent* anInput,
48  const AliCFManager* rpCFManager=NULL,
49  const AliCFManager* poiCFManager=NULL ); //use CF(2x)
50  AliFlowEvent( const AliAODEvent* anInput,
51  const AliCFManager* rpCFManager=NULL,
52  const AliCFManager* poiCFManager=NULL ); //use CF(2x)
53  AliFlowEvent( const AliESDEvent* anInput,
54  const AliCFManager* poiCFManager,
55  Bool_t hybrid);
56  AliFlowEvent( const AliESDEvent* anInput,
57  const AliMCEvent* anInputMc,
58  KineSource anOption=kNoKine,
59  const AliCFManager* rpCFManager=NULL,
60  const AliCFManager* poiCFManager=NULL ); //use CF(2x)
61  AliFlowEvent( const AliESDEvent* anInput,
62  const AliMultiplicity* anInputTracklets,
63  const AliCFManager* poiCFManager );
64  AliFlowEvent( const AliESDEvent* anInput,
65  const TH2F* anInputFMDhist,
66  const AliCFManager* poiCFManager );
67  //pmd
68  AliFlowEvent( const AliESDEvent* anInput,
69  const AliESDPmdTrack *pmdtracks,
70  const AliCFManager* poiCFManager );
71  //pmd
72  //end of deprecated
73 
75  AliFlowTrackCuts* poiCuts );
76 
77  void Fill( AliFlowTrackCuts* rpCuts,
78  AliFlowTrackCuts* poiCuts );
79 
80  void FindDaughters(Bool_t keepDaughtersInRPselection=kFALSE);
81 
82  void SetMCReactionPlaneAngle(const AliMCEvent* mcEvent);
84 
86 
88 
89  virtual AliFlowVector GetQ(Int_t n=2, TList *weightsList=NULL, Bool_t usePhiWeights=kFALSE, Bool_t usePtWeights=kFALSE, Bool_t useEtaWeights=kFALSE);
90  virtual void Get2Qsub(AliFlowVector* Qarray, Int_t n = 2, TList *weightsList = 0x0, Bool_t usePhiWeights = 0x0, Bool_t usePtWeights = 0x0, Bool_t useEtaWeights = 0x0);
96 
97  virtual void ClearFast();
98  virtual void ClearCachedRun();
99 
100 protected:
102 
103 private:
104  Int_t fApplyRecentering; // apply recentering of q-vectors? 2010 is 10h style, 2011 is 11h style
105  Bool_t fDivSigma; // divide by st.dev. after recentering?
108  Float_t fMeanQ[9][2][2];
109  Float_t fWidthQ[9][2][2];
110  Float_t fMeanQv3[9][2][2];
111  Float_t fWidthQv3[9][2][2];
112  // BETA testing of new VZERO calibration
113  TH1* fQxavsV0[5];
114  TH1* fQyavsV0[5];
115  TH1* fQxcvsV0[5];
116  TH1* fQycvsV0[5];
117  // END OF BETA TESTING
118  AliVEvent* fEvent;
123 
124  ClassDef(AliFlowEvent,5)
125 };
126 
127 #endif
128 
129 
virtual AliFlowVector GetQ(Int_t n=2, TList *weightsList=NULL, Bool_t usePhiWeights=kFALSE, Bool_t usePtWeights=kFALSE, Bool_t useEtaWeights=kFALSE)
TArrayD * fChi2A
current event
Definition: AliFlowEvent.h:119
virtual void ClearCachedRun()
void FindDaughters(Bool_t keepDaughtersInRPselection=kFALSE)
void SetVZEROCalibrationForTrackCuts(AliFlowTrackCuts *cuts)
Definition: External.C:236
TArrayD * fChi3C
chi vs cent for vzero A ep_3
Definition: AliFlowEvent.h:122
TArrayD * fChi2C
chi vs cent for vzero A ep_2
Definition: AliFlowEvent.h:120
void SetMCReactionPlaneAngle(const AliMCEvent *mcEvent)
AliFlowEvent & operator=(const AliFlowEvent &event)
AliVEvent * fEvent
recentering
Definition: AliFlowEvent.h:118
Bool_t fDivSigma
Definition: AliFlowEvent.h:105
AliFlowTrack * GetTrack(Int_t i)
void SetDeltaVZEROCalibrationForTrackCuts(AliFlowTrackCuts *cuts)
void Fill(AliFlowTrackCuts *rpCuts, AliFlowTrackCuts *poiCuts)
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
TH1 * fQxcvsV0[5]
recentering
Definition: AliFlowEvent.h:115
Float_t fWidthQ[9][2][2]
recentering
Definition: AliFlowEvent.h:109
void SetKappaVZEROCalibrationForTrackCuts(AliFlowTrackCuts *cuts)
Float_t fMeanQv3[9][2][2]
recentering
Definition: AliFlowEvent.h:110
Int_t fVZEROcentralityBin
cached calibration info for vzero
Definition: AliFlowEvent.h:107
void SetBetaVZEROCalibrationForTrackCuts(AliFlowTrackCuts *cuts)
void SetMCReactionPlaneAngle(Double_t fPhiRP)
Float_t fMeanQ[9][2][2]
centrality bin for the current event
Definition: AliFlowEvent.h:108
TH1 * fQycvsV0[5]
recentering
Definition: AliFlowEvent.h:116
AliFlowTrack * ReuseTrack(Int_t i)
virtual void Get2Qsub(AliFlowVector *Qarray, Int_t n=2, TList *weightsList=0x0, Bool_t usePhiWeights=0x0, Bool_t usePtWeights=0x0, Bool_t useEtaWeights=0x0)
virtual ~AliFlowEvent()
Definition: AliFlowEvent.h:41
bool Bool_t
Definition: External.C:53
TH1 * fQyavsV0[5]
recentering
Definition: AliFlowEvent.h:114
Int_t fCachedRun
Definition: AliFlowEvent.h:106
void SetHotfixVZEROCalibrationForTrackCuts(AliFlowTrackCuts *cuts)
void InsertTrack(AliFlowTrack *)
virtual void ClearFast()
TH1 * fQxavsV0[5]
recentering
Definition: AliFlowEvent.h:113
Definition: External.C:196
TArrayD * fChi3A
chi vs cent for vzero C ep_2
Definition: AliFlowEvent.h:121
Float_t fWidthQv3[9][2][2]
recentering
Definition: AliFlowEvent.h:111
Int_t fApplyRecentering
Definition: AliFlowEvent.h:104