]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Do not interpolate color palette by default.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Nov 2006 19:16:48 +0000 (19:16 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Nov 2006 19:16:48 +0000 (19:16 +0000)
EVE/Alieve/ITSModule.cxx

index 2bdcbb07820112042f67480f81447e151fb1be4b..718596d02396171661b55cd76a01a22fd6b53ea6 100644 (file)
@@ -67,7 +67,7 @@ void ITSModule::InitStatics(ITSDigitsInfo* info)
     fgSPDFrameBox = new FrameBox();
     fgSPDFrameBox->SetAAQuadXZ(-dx, 0, -dz, 2*dx, 2*dz);
     fgSPDFrameBox->SetFrameColor((Color_t) 31);
-    fgSPDPalette  = new RGBAPalette(0, 1, kFALSE);
+    fgSPDPalette  = new RGBAPalette(0, 1);
   }
 
   {
@@ -77,7 +77,8 @@ void ITSModule::InitStatics(ITSDigitsInfo* info)
     fgSDDFrameBox = new FrameBox();
     fgSDDFrameBox->SetAAQuadXZ(-dx, 0, -dz, 2*dx, 2*dz);
     fgSDDFrameBox->SetFrameColor((Color_t) 32);
-    fgSDDPalette  = new RGBAPalette(5, 80, kTRUE);
+    fgSDDPalette  = new RGBAPalette(5, 80);
+    fgSDDPalette->SetLimits(0, 512); // Set proper ADC range.
   }
 
   {
@@ -87,7 +88,8 @@ void ITSModule::InitStatics(ITSDigitsInfo* info)
     fgSSDFrameBox = new FrameBox();
     fgSSDFrameBox->SetAAQuadXZ(-dx, 0, -dz, 2*dx, 2*dz);
     fgSSDFrameBox->SetFrameColor((Color_t) 33);
-    fgSSDPalette  = new RGBAPalette(2, 100, kTRUE);
+    fgSSDPalette  = new RGBAPalette(2, 100);
+    fgSSDPalette->SetLimits(0, 1024); // Set proper ADC range.
   }
 
 }