]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCalibraExbAltFit.cxx
Static cast needed by C++11
[u/mrichter/AliRoot.git] / TRD / AliTRDCalibraExbAltFit.cxx
index 2cf16f19e390119f528826131f217e8e52a612e3..430f43b8196530a2bab70b255393918056454d1d 100644 (file)
@@ -417,6 +417,7 @@ void AliTRDCalibraExbAltFit::FillPEArray2()
       
       Int_t nEntries=0;
       TGraphErrors *gg=DrawMS(fitterhisto,nEntries);
+      if (!gg) continue;
       // printf("N: %i\n",gg->GetN());
       // printf("entries: %i\n",nEntries);
 
@@ -471,6 +472,11 @@ void AliTRDCalibraExbAltFit::FillPEArray2()
 //_________Helper function__________________________________________________
 TGraphErrors* AliTRDCalibraExbAltFit::DrawMS(const TH2 *const h2, Int_t &nEntries)
 {
+  //
+  // Debug function
+  //
+
+
   TF1 fg("fg", "gaus", -10., 30.);
   TGraphErrors *gp = new TGraphErrors();