#include "TComplex.h" //explicitly called in void Fill(Float_t f, TComplex C);
class TH1D;
+class TCollection;
+class TList;
+
// Description: Class to organise histograms for Flow
// by the LeeYangZeros method in the first run.
// in the generating function.
-class AliFlowLYZHist1 {
+class AliFlowLYZHist1: public TObject {
public:
+ AliFlowLYZHist1(); //default constructor
AliFlowLYZHist1(Int_t theta); //constructor
virtual ~AliFlowLYZHist1(); //destructor
- void Fill(Double_t f, TComplex C); //fill the histograms
+ void Fill(Double_t f, TComplex c); //fill the histograms
TH1D* FillGtheta(); //fills fHistGtheta
Double_t GetR0(); //get R0
Double_t GetBinCenter(Int_t i); //Get a bincentre of fHistGtheta
- Int_t GetNBins(); //Gets fNbins
+ Int_t GetNBins(); //Gets Nbins
+
+ TH1D* GetHistGtheta() {return this->fHistGtheta;} ;
+ TProfile* GetHistProReGtheta() {return this->fHistProReGtheta;} ;
+ TProfile* GetHistProImGtheta() {return this->fHistProImGtheta;} ;
+ TList* GetHistList() {return this->fHistList;} ;
+
+ virtual Double_t Merge(TCollection *aList); //merge function
private:
- TH1D* fHistGtheta; //!
- TProfile* fHistProReGtheta; //!
- TProfile* fHistProImGtheta; //!
-
+ AliFlowLYZHist1(const AliFlowLYZHist1& aAnalysis); //copy constructor
+ AliFlowLYZHist1& operator=(const AliFlowLYZHist1& aAnalysis); //assignment operator
- ClassDef(AliFlowLYZHist1,0) // macro for rootcint
+ TH1D* fHistGtheta; //holds |Gtheta|^2(r)
+ TProfile* fHistProReGtheta; //holds Re of Gtheta(r)
+ TProfile* fHistProImGtheta; //holds Im of Gtheta(r)
+ TList* fHistList; //list to hold all histograms
+
+
+ ClassDef(AliFlowLYZHist1,0) // macro for rootcint
};
#endif
-