]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/SPECTRA/AliProtonFeedDownAnalysis.h
Add new version of macros for RSN analysis
[u/mrichter/AliRoot.git] / PWG2 / SPECTRA / AliProtonFeedDownAnalysis.h
index 85fdebef6c450dbee86aa03c2b148c60cef71c53..7af8afe9287a23e2a8bec35b5220f600d5bcc126 100644 (file)
@@ -35,7 +35,7 @@ class AliProtonFeedDownAnalysis : public TObject
                        kNSteps=5\r
                };\r
                AliProtonFeedDownAnalysis();\r
-               AliProtonFeedDownAnalysis(Int_t nbinsY, Float_t fLowY, Float_t fHighY,Int_t nbinsPt, Float_t fLowPt, Float_t fHighPt);\r
+               //AliProtonFeedDownAnalysis(Int_t nbinsY, Float_t fLowY, Float_t fHighY,Int_t nbinsPt, Float_t fLowPt, Float_t fHighPt);\r
                virtual ~AliProtonFeedDownAnalysis();\r
                \r
                void SetBaseAnalysis(AliProtonAnalysisBase * const baseAnalysis) {fProtonAnalysisBase = baseAnalysis;}\r
@@ -51,17 +51,17 @@ class AliProtonFeedDownAnalysis : public TObject
                \r
                void SetWeightFunction(TF1* weightfunction){fweightfunction=weightfunction;}\r
                TF1* GetWeightFunction() const{return fweightfunction;} \r
-               TH1F* GetLambdaHist() const{return fLambda;}\r
-               TH1F* GetLambdaweightedHist() const{return fLambdaweighted;}\r
-               TH1F* GetAntiLambdaHist() const{return fAntiLambda;}\r
-               TH1F* GetAntiLambdaweightedHist() const{return fAntiLambdaweighted;}\r
+               TH2F* GetLambdaHist() const{return fLambda;}\r
+               TH2F* GetLambdaweightedHist() const{return fLambdaweighted;}\r
+               TH2F* GetAntiLambdaHist() const{return fAntiLambda;}\r
+               TH2F* GetAntiLambdaweightedHist() const{return fAntiLambdaweighted;}\r
        private:\r
                AliProtonFeedDownAnalysis(const AliProtonFeedDownAnalysis&); // Not implemented\r
                AliProtonFeedDownAnalysis& operator=(const AliProtonFeedDownAnalysis&); // Not implemented\r
                \r
                AliProtonAnalysisBase *fProtonAnalysisBase;//base analysis object\r
                Int_t LambdaIsMother(Int_t numbe, AliStack *stack); \r
-               Float_t GetWeightforProton(Int_t numbe, AliStack *stack);\r
+               Float_t GetWeightforProton(Int_t number, AliStack *stack);\r
                Float_t GetWeightforLambda(Float_t pt);\r
                \r
                Int_t fNBinsY; //number of bins in y or eta\r
@@ -74,12 +74,12 @@ class AliProtonFeedDownAnalysis : public TObject
                AliCFContainer *fAntiProtonContainer; //container for antiprotons\r
                \r
                TF1*fweightfunction; \r
-               TH1F *fLambda;\r
-               TH1F *fLambdaweighted;\r
-               TH1F *fAntiLambda;\r
-               TH1F *fAntiLambdaweighted;\r
+               TH2F *fLambda;\r
+               TH2F *fLambdaweighted;\r
+               TH2F *fAntiLambda;\r
+               TH2F *fAntiLambdaweighted;\r
                \r
-  ClassDef(AliProtonFeedDownAnalysis,1);\r
+  ClassDef(AliProtonFeedDownAnalysis,2);\r
 };\r
 \r
 #endif\r