Fixes for building of DA (Anshul)
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibTimeGain.h
index 51fb045..b87a7bb 100644 (file)
@@ -42,11 +42,12 @@ public:
   static void            BinLogX(THnSparse *h, Int_t axisDim);
   static void            BinLogX(TH1 *h);
   //
-  THnSparse *            GetHistGainTime(){return (THnSparse*) fHistGainTime;};
-  TH2F      *            GetHistDeDxTotal(){return (TH2F*) fHistDeDxTotal;};
+  THnSparse *            GetHistGainTime() const {return (THnSparse*) fHistGainTime;};
+  TH2F      *            GetHistDeDxTotal() const {return (TH2F*) fHistDeDxTotal;};
   //
   TGraphErrors *         GetGraphGainVsTime(Int_t runNumber = 0, Int_t minEntries = 2000);
   static AliSplineFit *  MakeSplineFit(TGraphErrors * graph);
+  TGraphErrors *         GetGraphAttachment(Int_t minEntries, Int_t nmaxBin, Float_t fracLow=0.1, Float_t fracUp=0.9);
   //
   void SetMIP(Float_t MIP){fMIP = MIP;};
   void SetUseMax(Bool_t UseMax){fUseMax = UseMax;};