]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/vertexingHF/AliHFSystErr.h
Adding Id to PWG3 classes for better tracking of the coverity defect fixes (Ivana)
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliHFSystErr.h
index 892b585dd860717939373d428b6af076e2d40cea..4910f9f12c4533a357dc3d2a0bd00cc01401d743 100644 (file)
@@ -3,6 +3,8 @@
 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */ 
+
 //***********************************************************
 // Class AliRDHFSystErr
 // to handle systematic errors for charm hadrons
@@ -11,7 +13,7 @@
 
 #include <TNamed.h>
 #include <TH1F.h>
-#include "TGraphErrors.h"
+#include "TGraphAsymmErrors.h"
 
 
 class AliHFSystErr : public TNamed 
@@ -23,7 +25,7 @@ class AliHFSystErr : public TNamed
   
   virtual ~AliHFSystErr();
   
-  void DrawErrors(TGraphErrors *grErrFeeddown=0) const; 
+  void DrawErrors(TGraphAsymmErrors *grErrFeeddown=0) const; 
 
   Double_t GetNormErr() const {return (fNorm ? fNorm->GetBinContent(0) : 0.);}
   Double_t GetBRErr() const {return (fBR ? fBR->GetBinContent(0) : 0.);}
@@ -47,6 +49,8 @@ class AliHFSystErr : public TNamed
   void InitDplustoKpipi();
   void InitDstartoD0pi();
 
+  TH1F* ReflectHisto(TH1F *hin) const;
+
   TH1F *fNorm;            // normalization
   TH1F *fRawYield;        // raw yield 
   TH1F *fTrackingEff;     // tracking efficiency