1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
6 #ifndef AliFlowEventSimpleMaker_H
7 #define AliFlowEventSimpleMaker_H
9 #include "AliFlowEventSimple.h" //needed as include
10 //class AliFlowEventSimple; //does not compile
12 #include "../../CORRFW/AliCFManager.h"
14 #include "AliFlowTrackSimpleCuts.h"
21 // AliFlowEventSimpleMaker:
22 // Class to fill the AliFlowEventSimple with AliFlowTrackSimple objects
23 // author: N. van der Kolk (kolk@nikhef.nl)
25 class AliFlowEventSimpleMaker {
29 AliFlowEventSimpleMaker(); //constructor
30 virtual ~AliFlowEventSimpleMaker(); //destructor
32 virtual void Init(TFile *file);
35 void SetUseWeightsPhi(Bool_t const uwPhi) { this->fUseWeightsPhi = uwPhi;};
36 Bool_t GetUseWeightsPhi() const { return this->fUseWeightsPhi;};
38 void SetUseWeightsPt(Bool_t const uwPt) { this->fUseWeightsPt = uwPt;};
39 Bool_t GetUseWeightsPt() const { return this->fUseWeightsPt;};
41 void SetUseWeightsEta(Bool_t const uwEta) { this->fUseWeightsEta = uwEta;};
42 Bool_t GetUseWeightsEta() const { return this->fUseWeightsEta;};
45 AliFlowEventSimple* FillTracks(TTree* anInput, AliFlowTrackSimpleCuts* intCuts, AliFlowTrackSimpleCuts* diffCuts); //use own cut class
47 AliFlowEventSimple* FillTracks(AliMCEvent* anInput); //use own cuts
48 AliFlowEventSimple* FillTracks(AliMCEvent* anInput, AliCFManager* intCFManager, AliCFManager* diffCFManager ); //use CF(2x)
50 AliFlowEventSimple* FillTracks(AliESDEvent* anInput); //use own cuts
51 AliFlowEventSimple* FillTracks(AliESDEvent* anInput, AliCFManager* intCFManager, AliCFManager* diffCFManager); //use CF(2x)
52 //AliESDEvent & AliMCEvent
53 AliFlowEventSimple* FillTracks(AliESDEvent* anInput, AliMCEvent* anInputMc, Int_t anOption); //use own cuts
54 AliFlowEventSimple* FillTracks(AliESDEvent* anInput, AliMCEvent* anInputMc, AliCFManager* intCFManager, AliCFManager* diffCFManager, Int_t anOption); //use CF(2x)
55 // anOption = 0 : kine from ESD
56 // anOption = 1 : kine from MC
58 AliFlowEventSimple* FillTracks(AliAODEvent* anInput); //use own cuts
59 AliFlowEventSimple* FillTracks(AliAODEvent* anInput, AliCFManager* intCFManager, AliCFManager* diffCFManager); //use CF(2x)
62 AliFlowEventSimpleMaker(const AliFlowEventSimpleMaker& anAnalysis); //copy constructor
63 AliFlowEventSimpleMaker& operator=(const AliFlowEventSimpleMaker& anAnalysis); //assignment operator
65 Bool_t fUseWeightsPhi; // phi weights
66 Bool_t fUseWeightsPt; // v_2(pt) weights
67 Bool_t fUseWeightsEta; // v_2(eta) weights
68 TH1F *fPhiWeights; // histogram with phi weights
69 TH1D *fPtWeights; // histogram with v_2(pt) weights
70 TH1D *fEtaWeights; // histogram with v_2(eta) weights
72 ClassDef(AliFlowEventSimpleMaker,0) // macro for rootcint