Changeset 4058 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 05/12/04 20:22:24 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r3963 r4058 100 100 gROOT->GetListOfCleanups()->Add(fNotify); 101 101 102 TVirtualPad *save = gPad; 103 gPad = 0; 102 104 #if ROOT_VERSION_CODE < ROOT_VERSION(3,01,06) 103 105 SetPalette(1, 0); … … 105 107 SetInvDeepBlueSeaPalette(); 106 108 #endif 109 gPad = save; 107 110 } 108 111 … … 928 931 929 932 933 // ------------------------------------------------------------------------ 934 // 935 // Changes the palette of the displayed camera histogram. 936 // 937 // Change to the right pad first - otherwise GetDrawOption() might fail. 938 // 930 939 void MHCamera::SetPrettyPalette() 931 940 { … … 934 943 } 935 944 945 // ------------------------------------------------------------------------ 946 // 947 // Changes the palette of the displayed camera histogram. 948 // 949 // Change to the right pad first - otherwise GetDrawOption() might fail. 950 // 936 951 void MHCamera::SetDeepBlueSeaPalette() 937 952 { … … 940 955 } 941 956 957 // ------------------------------------------------------------------------ 958 // 959 // Changes the palette of the displayed camera histogram. 960 // 961 // Change to the right pad first - otherwise GetDrawOption() might fail. 962 // 942 963 void MHCamera::SetInvDeepBlueSeaPalette() 943 964 { … … 946 967 } 947 968 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 // 948 977 void MHCamera::PaintIndices(Int_t type) 949 978 {
Note:
See TracChangeset
for help on using the changeset viewer.