class AliESDEvent;
class AliAODEvent;
-
// AliFlowEventSimpleMaker:
// Class to fill the AliFlowEventSimple with AliFlowTrackSimple objects
// author: N. van der Kolk (kolk@nikhef.nl)
public:
AliFlowEventSimpleMaker(); //constructor
- virtual ~AliFlowEventSimpleMaker(); //destructor
+ virtual ~AliFlowEventSimpleMaker(); //destructor
+
+ virtual void Init(TFile *file);
+
+ //setters and getters
+ void SetUseWeightsPhi(Bool_t const uwPhi) { this->fUseWeightsPhi = uwPhi;};
+ Bool_t GetUseWeightsPhi() const { return this->fUseWeightsPhi;};
+
+ void SetUseWeightsPt(Bool_t const uwPt) { this->fUseWeightsPt = uwPt;};
+ Bool_t GetUseWeightsPt() const { return this->fUseWeightsPt;};
+
+ void SetUseWeightsEta(Bool_t const uwEta) { this->fUseWeightsEta = uwEta;};
+ Bool_t GetUseWeightsEta() const { return this->fUseWeightsEta;};
//TTree
AliFlowEventSimple* FillTracks(TTree* anInput, AliFlowTrackSimpleCuts* intCuts, AliFlowTrackSimpleCuts* diffCuts); //use own cut class
private:
AliFlowEventSimpleMaker(const AliFlowEventSimpleMaker& anAnalysis); //copy constructor
AliFlowEventSimpleMaker& operator=(const AliFlowEventSimpleMaker& anAnalysis); //assignment operator
+
+ Bool_t fUseWeightsPhi; // phi weights
+ Bool_t fUseWeightsPt; // v_2(pt) weights
+ Bool_t fUseWeightsEta; // v_2(eta) weights
+ TH1F *fPhiWeights; // histogram with phi weights
+ TH1D *fPtWeights; // histogram with v_2(pt) weights
+ TH1D *fEtaWeights; // histogram with v_2(eta) weights
ClassDef(AliFlowEventSimpleMaker,0) // macro for rootcint
};