Changeset 6886 for trunk


Ignore:
Timestamp:
03/23/05 14:59:43 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r6470 r6886  
    13181318  pix.CreateGraphEvents();
    13191319  TGraph *gr = pix.GetGraphEvents();
    1320 
    1321   xaxe2->SetTitle(gr->GetXaxis()->GetTitle());
    1322   yaxe2->SetTitle(gr->GetYaxis()->GetTitle()); 
     1320  if (gr)
     1321  {
     1322      xaxe2->SetTitle(gr->GetXaxis()->GetTitle());
     1323      yaxe2->SetTitle(gr->GetYaxis()->GetTitle());
     1324  }
    13231325
    13241326  null2->Draw();
Note: See TracChangeset for help on using the changeset viewer.