]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveBase/AliEveJetPlaneEditor.h
Missing #ifdef ZMQ added in AliEveEventManager.cxx
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveJetPlaneEditor.h
index 62ba66e0a6c4ff206d4637b0c6ef08eb5839d01c..6c010c777dbc4100ee7e763b1b60110f33cd9e9d 100644 (file)
@@ -7,46 +7,25 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
-#ifndef ALIEVE_JetPlaneEditor_H
-#define ALIEVE_JetPlaneEditor_H
+#ifndef AliEveJetPlaneEditor_H
+#define AliEveJetPlaneEditor_H
 
 #include <TGedFrame.h>
-#include <RQ_OBJECT.h>
 
 class TGButton;
 class TGCheckButton;
 class TGNumberEntry;
 class TGColorSelect;
-
 class TEveGValuator;
 
-
-// class TEveGValuator;
-
 class AliEveJetPlane;
 
 class AliEveJetPlaneEditor : public TGedFrame
 {
-private:
-  AliEveJetPlaneEditor(const AliEveJetPlaneEditor&);            // Not implemented
-  AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
-
-protected:
-  AliEveJetPlane          *fM; // fModel dynamic-casted to AliEveJetPlaneEditor
-
-  // Declare widgets
-  // TGSomeWidget*   fXYZZ;
-  TGCheckButton*     fRnrJets;
-  TGCheckButton*     fRnrTracks;
-  TEveGValuator*  fEnergyScale;
-  TEveGValuator*  fEnergyColorScale;
-  TGButton          *fOneSelection, *fTwoSelection;
-  TGButton          *fInformationSetup;
-
 public:
   AliEveJetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
-                UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
-  virtual ~AliEveJetPlaneEditor();
+                       UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
+  virtual ~AliEveJetPlaneEditor() {}
 
   virtual void SetModel(TObject* obj);
 
@@ -54,27 +33,18 @@ public:
   // void DoXYZZ();
   void DoRnrJets();
   void DoRnrTracks();
-  void DoEnergyColorScale();
-  void DoEnergyScale();
+  void DoArrowJetScale();
+  void DoArrowTrackScale();
+       void DoEnergyScale();
   void DoOneSelection();
   void DoTwoSelection();
   void DoStaticDataWindow();
 
 
   // --- Internal class for common settings
-public:
+
   class StaticDataWindow : public TGTransientFrame
   {
-  private:
-    StaticDataWindow(const StaticDataWindow&);            // Not implemented
-    StaticDataWindow& operator=(const StaticDataWindow&); // Not implemented
-
-    TGCompositeFrame    *fFrame1, *fF2;
-    TGButton            *fOkButton, *fCancelButton;
-    TGLayoutHints       *fL1, *fL2, *fL3, *fL5;
-    TGTab               *fTab;
-    TGButton            *fChk1, *fChk2,*fChk3, *fChk4,*fChk5;
-
   public:
     StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
                     UInt_t options = kVerticalFrame);
@@ -86,13 +56,37 @@ public:
     void DoCancel();
     void DoTab(Int_t id);
 
-    ClassDef(StaticDataWindow, 0);
+  private:
+    StaticDataWindow(const StaticDataWindow&);            // Not implemented
+    StaticDataWindow& operator=(const StaticDataWindow&); // Not implemented
+
+    TGCompositeFrame    *fFrame1, *fF2;             // Frames.
+    TGButton            *fOkButton, *fCancelButton; // Ok, cancel buttons.
+    TGLayoutHints       *fL1, *fL2, *fL3, *fL5;     // Layout hints.
+    TGTab               *fTab;                      // Tab container.
+    TGButton            *fChk1, *fChk2,*fChk3, *fChk4,*fChk5; // Check-buttons.
+
+    ClassDef(StaticDataWindow, 0); // Common settings for all AliEveJetPlane objects.
   };
 
 protected:
-  static StaticDataWindow* fgStaticWindow;
+  AliEveJetPlane   *fM; // Model object.
+
+  TGCheckButton    *fRnrJets;          // Widget for flag RnrJets.
+  TGCheckButton    *fRnrTracks;        // Widget for flag RnrTracks.
+  TEveGValuator    *fEnergyScale;      // Widget for EnergyScale.
+  TEveGValuator    *fArrowJetScale;    // Widget for ArrowJetScale.
+  TEveGValuator    *fArrowTrackScale;  // Widget for ArrowTrackScale.
+  TGButton         *fOneSelection, *fTwoSelection;  // Widgets for one/two selection flags.
+  TGButton         *fInformationSetup; // Widget for InformationSetup.
+
+  static StaticDataWindow* fgStaticWindow; // Common window for global settings.
+
+private:
+  AliEveJetPlaneEditor(const AliEveJetPlaneEditor&);            // Not implemented
+  AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
 
-  ClassDef(AliEveJetPlaneEditor, 1); // Editor for AliEveJetPlane
-}; // endclass AliEveJetPlaneEditor
+  ClassDef(AliEveJetPlaneEditor, 0); // Editor for AliEveJetPlane.
+};
 
 #endif