]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPainterPlotSelector.h
Fix for savannah bug report 87728 (Laurent) + fix invalid read found with valgrind...
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterPlotSelector.h
index 913b11e65c42f2f9345659bf02bb4842deed20a0..aeeaf5ca0325fcce8c5082087dc55eb71a762e09 100644 (file)
@@ -15,9 +15,6 @@
 #ifndef ROOT_TGFrame
 #  include "TGFrame.h"
 #endif
-#ifndef ROOT_RQ_OBJECT
-# include <RQ_OBJECT.h>
-#endif
 #ifndef ROOT_TString
 #  include "TString.h"
 #endif
@@ -29,8 +26,6 @@ class TMap;
 
 class AliMUONPainterPlotSelector : public TGCompositeFrame
 {
-  RQ_OBJECT("AliMUONPainterPlotSelector")
-  
 public:
   AliMUONPainterPlotSelector(const TGWindow* window, UInt_t w=1, UInt_t h=1);
   virtual ~AliMUONPainterPlotSelector();
@@ -74,7 +69,7 @@ private:
   
   void SetCurrentData(AliMUONVTrackerData* data);
   
-  void SetCurrentDimension(Int_t i);
+  void SetCurrentDimension(Long_t i);
   
   void SetCurrentType(const char* type);
   
@@ -92,7 +87,7 @@ private:
   TMap* fDimensionButtonMap; ///< cache for button group  
   TString fCurrentType; ///< current type
   AliMUONVTrackerData* fCurrentData; ///< current data
-  Int_t fCurrentDimension; ///< current data index
+  Long_t fCurrentDimension; ///< current data index
   static const char* fgkDefaultSourceName; ///< default source name
   
   ClassDef(AliMUONPainterPlotSelector,1) // Widget to select what to plot for painters