Ignore:
Timestamp:
05/12/04 20:22:24 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCamera.cc

    r3963 r4058  
    100100    gROOT->GetListOfCleanups()->Add(fNotify);
    101101
     102    TVirtualPad *save = gPad;
     103    gPad = 0;
    102104#if ROOT_VERSION_CODE < ROOT_VERSION(3,01,06)
    103105    SetPalette(1, 0);
     
    105107    SetInvDeepBlueSeaPalette();
    106108#endif
     109    gPad = save;
    107110}
    108111
     
    928931
    929932
     933// ------------------------------------------------------------------------
     934//
     935// Changes the palette of the displayed camera histogram.
     936//
     937// Change to the right pad first - otherwise GetDrawOption() might fail.
     938//
    930939void MHCamera::SetPrettyPalette()
    931940{
     
    934943}
    935944
     945// ------------------------------------------------------------------------
     946//
     947// Changes the palette of the displayed camera histogram.
     948//
     949// Change to the right pad first - otherwise GetDrawOption() might fail.
     950//
    936951void MHCamera::SetDeepBlueSeaPalette()
    937952{
     
    940955}
    941956
     957// ------------------------------------------------------------------------
     958//
     959// Changes the palette of the displayed camera histogram.
     960//
     961// Change to the right pad first - otherwise GetDrawOption() might fail.
     962//
    942963void MHCamera::SetInvDeepBlueSeaPalette()
    943964{
     
    946967}
    947968
     969// ------------------------------------------------------------------------
     970//
     971// Paint indices (as text) inside the pixels. Depending of the type-
     972// argument we paint:
     973//  0: pixel number
     974//  1: sector number
     975//  2: content
     976//
    948977void MHCamera::PaintIndices(Int_t type)
    949978{
Note: See TracChangeset for help on using the changeset viewer.