]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/SPECTRA/Fit/AliBWTools.h
Improvements for systematic studies
[u/mrichter/AliRoot.git] / PWG2 / SPECTRA / Fit / AliBWTools.h
index d958c910c137401e18da06cc0ca9a551ebf11057..c852358d4508f21fd0f2441b71ef2df5748e27e0 100644 (file)
@@ -69,8 +69,10 @@ public:
 
   static void WeightedMean(Int_t npoints, const Double_t *x, const Double_t *xerr, Double_t &mean, Double_t &meanerr);
 
-  static void GetValueAndError(TH1 * hdest, TH1 * hvalue, TH1 * herror, Bool_t isPercentError) ;  
-  static void AddHisto(TH1 * hdest, TH1* hsource, Bool_t getMirrorBins = kFALSE);
+  static void GetValueAndError(TH1 * hdest, const TH1 * hvalue, const TH1 * herror, Bool_t isPercentError) ;  
+  static void AddHisto(TH1 * hdest, const TH1* hsource, Bool_t getMirrorBins = kFALSE);
+  static void GetHistoCombinedErrors(TH1 * hdest, const TH1 * h1) ;
+
 
 private: