Ignore:
Timestamp:
02/18/05 17:27:16 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6601 r6610  
    488488 
    489489  TVirtualPad *newpad = gPad;
    490   newpad->Divide(1,2);
    491   newpad->cd(1);
    492490 
    493491  gPad->SetTicks();
     
    556554  DisplayRefLines(null,refline);
    557555
    558   newpad->cd(2);
    559   gPad->SetTicks();
    560 
    561   TH1F *null2 = new TH1F("Null2",hist->GetTitle(),100,0.,pix.GetEvents()->GetSize()/pix.GetEventFrequency());
    562 
    563   null2->SetMinimum(pix.GetMean()-10.*pix.GetSigma());
    564   null2->SetMaximum(pix.GetMean()+10.*pix.GetSigma());
    565   null2->SetDirectory(NULL);
    566   null2->SetBit(kCanDelete);
    567   null2->SetStats(kFALSE);
    568   //
    569   // set the labels bigger
    570   //
    571   TAxis *xaxe2 = null2->GetXaxis();
    572   TAxis *yaxe2 = null2->GetYaxis();
    573   xaxe2->CenterTitle();
    574   yaxe2->CenterTitle();   
    575   xaxe2->SetTitleSize(0.07);
    576   yaxe2->SetTitleSize(0.07);   
    577   xaxe2->SetTitleOffset(0.7);
    578   yaxe2->SetTitleOffset(0.55);   
    579   xaxe2->SetLabelSize(0.06);
    580   yaxe2->SetLabelSize(0.06);   
    581 
    582   pix.CreateGraphEvents();
    583   TGraph *gr = pix.GetGraphEvents();
    584 
    585   xaxe2->SetTitle(gr->GetXaxis()->GetTitle());
    586   yaxe2->SetTitle(gr->GetYaxis()->GetTitle()); 
    587 
    588   null2->Draw();
    589 
    590   pix.DrawEvents("same");
    591 
    592   //  newpad->cd(3);
    593   //  pix.DrawPowerSpectrum(*newpad,4);
    594 
    595556  return;
    596557 
Note: See TracChangeset for help on using the changeset viewer.