TEveCaloVizEditor.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveCaloVizEditor.h 33955 2010-06-17 11:33:13Z matevz $
00002 // Author: Matevz Tadel 2007
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TEveCaloVizEditor
00013 #define ROOT_TEveCaloVizEditor
00014 
00015 #include "TGedFrame.h"
00016 
00017 class TEveCaloViz;
00018 class TEveCalo3D;
00019 class TGDoubleHSlider;
00020 class TEveGValuator;
00021 class TEveGDoubleValuator;
00022 class TGCheckButton;
00023 class TGRadioButton;
00024 class TGNumberEntry;
00025 
00026 class TGVerticalFrame;
00027 
00028 class TEveCaloVizEditor : public TGedFrame
00029 {
00030 private:
00031    TEveCaloVizEditor(const TEveCaloVizEditor&);            // Not implemented
00032    TEveCaloVizEditor& operator=(const TEveCaloVizEditor&); // Not implemented
00033    void MakeSliceInfo();
00034 
00035 protected:
00036    TEveCaloViz               *fM; // Model object.
00037 
00038    TGNumberEntry             *fFrameTransparency;
00039 
00040    TGRadioButton             *fPlotE;
00041    TGRadioButton             *fPlotEt;
00042 
00043    TGCheckButton             *fScaleAbs;
00044    TEveGValuator             *fMaxValAbs;
00045    TEveGValuator             *fMaxTowerH;
00046 
00047    TEveGDoubleValuator       *fEtaRng;
00048    TEveGValuator             *fPhi;
00049    TEveGValuator             *fPhiOffset;
00050 
00051    TGVerticalFrame           *fDataFrame;
00052    TGVerticalFrame           *fSliceFrame;
00053 
00054 public:
00055    TEveCaloVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
00056                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00057    virtual ~TEveCaloVizEditor() {}
00058 
00059    virtual void SetModel(TObject* obj);
00060 
00061    void DoMaxTowerH();
00062    void DoScaleAbs();
00063    void DoMaxValAbs();
00064 
00065    void DoPlot();
00066 
00067    void DoEtaRange();
00068    void DoPhi();
00069 
00070    void DoSliceThreshold();
00071    void DoSliceColor(Pixel_t color);
00072    void DoSliceTransparency(Long_t transp);
00073 
00074    ClassDef(TEveCaloVizEditor, 0); // GUI editor for TEveCaloVizEditor.
00075 };
00076 
00077 /**************************************************************************/
00078 
00079 class TEveCalo3DEditor : public TGedFrame
00080 {
00081 private:
00082    TEveCalo3DEditor(const TEveCalo3DEditor&);            // Not implemented
00083    TEveCalo3DEditor& operator=(const TEveCalo3DEditor&); // Not implemented
00084 
00085 protected:
00086    TEveCalo3D          *fM; // Model object.
00087    TGNumberEntry       *fFrameTransparency;
00088 
00089 public:
00090    TEveCalo3DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
00091                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00092    virtual ~TEveCalo3DEditor() {}
00093 
00094    virtual void SetModel(TObject* obj);
00095    void    DoFrameTransparency();
00096 
00097    ClassDef(TEveCalo3DEditor, 0); // GUI editor for TEveCalo3DEditor.
00098 };
00099 
00100 #endif

Generated on Tue Jul 5 14:14:49 2011 for ROOT_528-00b_version by  doxygen 1.5.1