Int_t nEntries=0;
TGraphErrors *gg=DrawMS(fitterhisto,nEntries);
+ if (!gg) continue;
// Number of points of the TGraphErrors
if(gg->GetN() < 20) {
if(gg) delete gg;
//_________Helper function__________________________________________________
TGraphErrors* AliTRDCalibraVdriftLinearFit::DrawMS(const TH2 *const h2, Int_t &nEntries)
{
+ //
+ // Debug function
+ //
+
TF1 fg("fg", "gaus", -10., 30.);
TGraphErrors *gp = new TGraphErrors();