library: libGed
#include "TH2Editor.h"

TH2Editor


class description - header file - source file
viewCVS header - viewCVS source

class TH2Editor: public TGedFrame

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TH2Editor(const TGWindow* p = 0, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
virtual~TH2Editor()
voidTObject::AbstractMethod(const char* method) const
virtual Bool_tAcceptModel(TObject* model)
virtual voidTGFrame::Activate(Bool_t)
virtual voidActivateBaseClassEditors(TClass* cl)
virtual voidTGedFrame::AddExtraTab(TGedFrame::TGedSubFrame* sf)
virtual voidTGCompositeFrame::AddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
Bool_tTGFrame::Contains(Int_t x, Int_t y) const
virtual voidTObject::Copy(TObject& object) const
virtual TGVerticalFrame*TGedFrame::CreateEditorTabSubFrame(const Text_t* name)
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
Bool_tTQObject::Disconnect(const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = "0")
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
Int_t*Dividers(Int_t n)
virtual voidDoAddArr(Bool_t on)
virtual voidDoAddBB()
virtual voidDoAddBox(Bool_t on)
virtual voidDoAddCol(Bool_t on)
virtual voidDoAddError(Bool_t on)
virtual voidDoAddFB()
virtual voidDoAddPalette(Bool_t on)
virtual voidDoAddScat(Bool_t on)
virtual voidDoAddText(Bool_t on)
virtual voidDoApply()
virtual voidDoBarOffset()
virtual voidDoBarWidth()
virtual voidDoBinLabel()
virtual voidDoBinLabel1()
virtual voidDoBinMoved()
virtual voidDoBinMoved1()
virtual voidDoBinOffset()
virtual voidDoBinPressed()
virtual voidDoBinReleased()
virtual voidDoBinReleased1()
virtual voidDoCancel()
virtual voidDoContLevel()
virtual voidDoContLevel1()
virtual voidDoFillColor(Pixel_t)
virtual voidDoFillPattern(Style_t)
virtual voidDoHistChanges()
virtual voidDoHistComplex()
virtual voidDoHistSimple()
virtual voidDoHistView()
virtual voidDoOffsetMoved()
virtual voidDoOffsetPressed()
virtual voidDoOffsetReleased()
virtual voidDoSliderXMoved()
virtual voidDoSliderXPressed()
virtual voidDoSliderXReleased()
virtual voidDoSliderYMoved()
virtual voidDoSliderYPressed()
virtual voidDoSliderYReleased()
virtual voidDoTitle(const char* text)
virtual voidDoXAxisRange()
virtual voidDoYAxisRange()
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidTGFrame::Dump() const
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Pixel_tTGFrame::GetBackground() const
static const TGGC&TGFrame::GetBckgndGC()
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
TGClient*TGObject::GetClient() const
static Int_tTGWindow::GetCounter()
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGCompositeFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGCompositeFrame::GetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TGedFrame::GetDrawOption() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
UInt_tTGFrame::GetEventMask() const
TList*TGedFrame::GetExtraTabs()
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGCompositeFrame::GetFrameFromPoint(Int_t x, Int_t y)
TGedEditor*TGedFrame::GetGedEditor()
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
virtual TGLayoutHints*TGedFrame::GetLayoutHints()
virtual TGLayoutManager*TGCompositeFrame::GetLayoutManager() const
virtual TList*TGCompositeFrame::GetList() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
UInt_tTGFrame::GetMinHeight() const
UInt_tTGFrame::GetMinWidth() const
TClass*TGedFrame::GetModelClass()
virtual const char*TGWindow::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
const TGWindow*TGWindow::GetParent() const
Int_tTGedFrame::GetPriority()
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
Int_tTGCompositeFrame::GetState(TGFrame* f) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
static const TGGC&TGFrame::GetWhiteGC()
static Pixel_tTGFrame::GetWhitePixel()
UInt_tTGFrame::GetWidth() const
Int_tTGFrame::GetX() const
Int_tTGFrame::GetY() const
virtual Bool_tTGCompositeFrame::HandleButton(Event_t*)
virtual Bool_tTGFrame::HandleClientMessage(Event_t* event)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleConfigureNotify(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleCrossing(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tTGCompositeFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGWindow::HandleExpose(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tTGCompositeFrame::HandleKey(Event_t*)
virtual Bool_tTGCompositeFrame::HandleMotion(Event_t*)
virtual Bool_tTGCompositeFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
virtual voidTGCompositeFrame::HideFrame(TGFrame* f)
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = "0")
virtual voidTGWindow::IconifyWindow()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTGFrame::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
Bool_tTGCompositeFrame::IsArranged(TGFrame* f) const
Bool_tTGCompositeFrame::IsArranged(TGFrameElement* ptr) const
virtual Bool_tTGCompositeFrame::IsComposite() const
virtual Bool_tTGCompositeFrame::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGCompositeFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGCompositeFrame::IsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTGCompositeFrame::IsVisible(TGFrame* f) const
Bool_tTGCompositeFrame::IsVisible(TGFrameElement* ptr) const
Bool_tTObject::IsZombie() const
virtual voidTGCompositeFrame::Layout()
static voidTQObject::LoadRQ_OBJECT()
virtual voidTGWindow::LowerWindow()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = "0")
virtual voidTObject::ls(Option_t* option = "") const
virtual voidTGFrame::MapRaised()
virtual voidTGCompositeFrame::MapSubwindows()
virtual voidTGFrame::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual Int_tTGCompositeFrame::MustCleanup() const
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::Print(Option_t* option = "") const
virtual voidTGFrame::ProcessedEvent(Event_t* event)
virtual Bool_tTGCompositeFrame::ProcessMessage(Long_t, Long_t, Long_t)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTGedFrame::Refresh(TObject* model)
virtual voidTGCompositeFrame::RemoveFrame(TGFrame* f)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGFrame::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTGCompositeFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGCompositeFrame::SavePrimitiveSubframes(ostream& out, Option_t* option = "")
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
virtual voidTGFrame::SetBackgroundColor(Pixel_t back)
virtual voidTGWindow::SetBackgroundPixmap(Pixmap_t pixmap)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTGCompositeFrame::SetCleanup(Int_t mode = kLocalCleanup)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGedFrame::SetDrawOption(Option_t* option = "")
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGCompositeFrame::SetEditable(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetEditDisabled(UInt_t on = 1)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGedFrame::SetGedEditor(TGedEditor* ed)
virtual voidTGFrame::SetHeight(UInt_t h)
virtual voidTGCompositeFrame::SetLayoutBroken(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetLayoutManager(TGLayoutManager* l)
virtual voidTGCompositeFrame::SetMapSubwindows(Bool_t on)
virtual voidTGFrame::SetMaxHeight(UInt_t h)
virtual voidTGFrame::SetMaxWidth(UInt_t w)
virtual voidTGFrame::SetMinHeight(UInt_t h)
virtual voidTGFrame::SetMinWidth(UInt_t w)
virtual voidSetModel(TObject* obj)
voidTGedFrame::SetModelClass(TClass* mcl)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTGFrame::SetSize(const TGDimension& s)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGFrame::SetWidth(UInt_t w)
virtual voidTGWindow::SetWindowName(const char* name = "0")
virtual voidTGFrame::SetX(Int_t x)
virtual voidTGFrame::SetY(Int_t y)
virtual voidTGCompositeFrame::ShowFrame(TGFrame* f)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual Bool_tTGCompositeFrame::TranslateCoordinates(TGFrame* child, Int_t x, Int_t y, Int_t& fx, Int_t& fy)
virtual voidTGFrame::UnmapWindow()
virtual voidTGedFrame::Update()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
static TGComboBox*BuildHistContComboBox(TGFrame* parent, Int_t id)
static TGComboBox*BuildHistCoordsComboBox(TGFrame* parent, Int_t id)
static TGComboBox*BuildHistTypeComboBox(TGFrame* parent, Int_t id)
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
virtual voidConnectSignals2Slots()
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
voidCreateBinTab()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGFrame::DoRedraw()
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
static Time_tTGFrame::GetLastClick()
TStringTGFrame::GetOptionString() const
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
virtual voidTGedFrame::MakeTitle(const char* title)
voidTObject::MakeZombie()
TGWindow&TGWindow::operator=(const TGWindow& tgw)
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
private:
TStringGetHistAdditiveLabel()
TStringGetHistContLabel()
TStringGetHistCoordsLabel()
TStringGetHistTypeLabel()
voidPaintBox3D(Float_t* p1, Float_t* p2, Float_t* p3, Float_t* p4)

Data Members

public:
enum TGWindow::EEditMode { kEditEnable
kEditDisable
kEditDisableEvents
kEditDisableGrab
kEditDisableLayout
kEditDisableResize
kEditDisableHeight
kEditDisableWidth
kEditDisableBtnEnable
kEditDisableKeyEnable
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TH2*fHisthistogram object
TGCompositeFrame*fBinContains the Binning Widgets
TGCompositeFrame*fFitContains the Fitting Widgets
TGTextEntry*fTitlehistogram title input field
TGComboBox*fTypeCombohistogram type combo box
TGComboBox*fCoordsComboCoordinate System combo box
TGComboBox*fContComboContour selecting combo box
TGLabel*fColContLblNo. of Contours Label 1
TGLabel*fColContLbl1No. of Contours Label 2
Int_tfTitlePrecfont precision level
TGHButtonGroup*fDimGroupRadiobuttongroup to change 2D <-> 3D-Plot
TGRadioButton*fDim2D-Plot RadioButton
TGRadioButton*fDim03D-Plot RadioButton
TGLayoutHints*fDimlhlayout hints for 2D-Plot RadioButton
TGLayoutHints*fDim0lhlayout hints for 3D-Plot RadioButton
TGCompositeFrame*f3Frame that contains Histogram Type-ComboBox
TGCompositeFrame*f4Frame that contains Histogram Coord-ComboBox
TGCompositeFrame*f5Frame that contains Histogram Contour-ComboBox
TGCompositeFrame*f6Frame that contains the 2D CheckBox DrawOptions
TGCompositeFrame*f9Frame that contains the 3D CheckBox DrawOptions
TGCompositeFrame*f12Frame that contains the Bar-Title
TGCompositeFrame*f13Frame that contains the Bar Width/Offset NumberEntries
TGCompositeFrame*f16Frame that contains the ColorLevel NumberEnrtry
TGCompositeFrame*f19Frame that contains the ColorLevel NumberEnrtry
TGCompositeFrame*f38Frame that contains the Frame Fill widgets
TGCheckButton*fAddErrorCheckBox connected to error bars
TGCheckButton*fAddPaletteCheckBox connected to Z option (2D)
TGCheckButton*fAddPalette1CheckBox connected to Z option (3D)
TGCheckButton*fAddArrCheckBox connected to Arr-Option
TGCheckButton*fAddBoxCheckBox connected to Box-Option
TGCheckButton*fAddScatCheckBox connected to Scat-Option
TGCheckButton*fAddColCheckBox connected to Col-Option
TGCheckButton*fAddFBDraw front box (or not)
TGCheckButton*fAddBBDraw back box (or not)
TGCheckButton*fAddTextDraw bin contents as text
TGNumberEntry*fContLevelsSet number of contour levels
TGNumberEntry*fContLevels1Set number of contour levels
TGNumberEntry*fBarWidthSet bar width of histogram
TGNumberEntry*fBarOffsetSet bar offset of histogram
TGCompositeFrame*fBinXContContains the rebin widgets for case 1
TGHSlider*fBinXSliderSlider to set rebinning x integer value
TGNumberEntryField*fBinXNumberEntryLabel which shows the rebinned bin number
TGHSlider*fBinYSliderSlider to set rebinning y integer value
TGNumberEntryField*fBinYNumberEntryLabel which shows the rebinned bin number
TGTextButton*fApplyApply-Button to accept the rebinned histogram
TGTextButton*fCancelCancel-Button to reprobate the rebinned histogram
TGCompositeFrame*fBinXCont1Contains the X Rebin Widgets for case 2
TGHSlider*fBinXSlider1Slider to set x rebinning integer value
TGNumberEntryField*fBinXNumberEntry1Label which shows the rebinned x bin number
TGNumberEntryField*fXOffsetNumberEntryShows the offset to the x origin of the histogram
TGHSlider*fXBinOffsetSldAdd an x-offset to the origin of the histogram
TGCompositeFrame*fBinYCont1Contains the Y Rebin Widgets for case 2
TGHSlider*fBinYSlider1Slider to set y rebinning integer value
TGNumberEntryField*fBinYNumberEntry1Label which shows the rebinned y bin number
TGNumberEntryField*fYOffsetNumberEntryShows the offset to the y origin of the histogram
TGHSlider*fYBinOffsetSldAdd an y-offset to the origin of the histogram
TGDoubleHSlider*fSliderXSlider to set x-axis range
TGNumberEntryField*fSldXMinContains the minimum value of the x-Axis
TGNumberEntryField*fSldXMaxContains the maximum value of the x-Axis
TGDoubleHSlider*fSliderYSlider to set y-axis range
TGNumberEntryField*fSldYMinContains the minimum value of the y-Axis
TGNumberEntryField*fSldYMaxContains the maximum value of the y-Axis
TGCheckButton*fDelaydrawDelayed drawing of the new axis range
TGColorSelect*fFrameColorSelect the Frame Color
TGedPatternSelect*fFramePatternSelect the Frame Pattern Style
Bool_tTGedFrame::fInitinit flag for setting signals/slots
TGedEditor*TGedFrame::fGedEditormanager of this frame
TClass*TGedFrame::fModelClassclass corresponding to instantiated GedFrame
TGLayoutHints*TGedFrame::fLayoutHintsdefines how this frame is added to fGedEditor
Bool_tTGedFrame::fAvoidSignalflag for executing slots
TList*TGedFrame::fExtraTabsaddtional tabs in ged editor
Int_tTGedFrame::fPrioritylocation in GedEditor
TGLayoutManager*TGCompositeFrame::fLayoutManagerlayout manager
TList*TGCompositeFrame::fListcontainer of frame elements
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
Int_tTGCompositeFrame::fMustCleanupcleanup mode (see EFrameCleanup)
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
static TGLayoutHints*TGCompositeFrame::fgDefaultHintsdefault hints used by AddFrame()
Int_tTGFrame::fXframe x position
Int_tTGFrame::fYframe y position
UInt_tTGFrame::fWidthframe width
UInt_tTGFrame::fHeightframe height
UInt_tTGFrame::fMinWidthminimal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMaxHeightmaximal frame height
Int_tTGFrame::fBorderWidthframe border width
UInt_tTGFrame::fOptionsframe options
Pixel_tTGFrame::fBackgroundframe background color
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGFrameElement*TGFrame::fFEpointer to frame element
static Bool_tTGFrame::fgInit
static Pixel_tTGFrame::fgDefaultFrameBackground
static Pixel_tTGFrame::fgDefaultSelectedBackground
static Pixel_tTGFrame::fgWhitePixel
static Pixel_tTGFrame::fgBlackPixel
static const TGGC*TGFrame::fgBlackGC
static const TGGC*TGFrame::fgWhiteGC
static const TGGC*TGFrame::fgHilightGC
static const TGGC*TGFrame::fgShadowGC
static const TGGC*TGFrame::fgBckgndGC
static Time_tTGFrame::fgLastClick
static UInt_tTGFrame::fgLastButton
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Window_tTGFrame::fgDbw
static UInt_tTGFrame::fgUserColor
const TGWindow*TGWindow::fParentParent window
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
TStringTGWindow::fNamename of the window used in SavePrimitive()
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
Handle_tTGObject::fIdX11/Win32 Window identifier
TGClient*TGObject::fClientConnection to display server
TList*TQObject::fListOfSignals! list of signals from this object
TList*TQObject::fListOfConnections! list of connections to this object
private:
Int_tfPx1old
Int_tfPy1old
Int_tfPx2old
Int_tfPy2old
Float_tfP1oldx[3]
Float_tfP2oldx[3]
Float_tfP3oldx[3]
Float_tfP4oldx[3]
Float_tfP5oldx[3]
Float_tfP6oldx[3]
Float_tfP7oldx[3]
Float_tfP8oldx[3]
Float_tfP1oldy[3]
Float_tfP2oldy[3]
Float_tfP3oldy[3]
Float_tfP4oldy[3]
Float_tfP5oldy[3]
Float_tfP6oldy[3]
Float_tfP7oldy[3]
Float_tfP8oldy[3]
TH2*fBinHistCloned histogram for rebin
Double_tfOldXOffsetsaves the old x offset of the histogram
Double_tfOldYOffsetsaves the old y offset of the histogram

Class Description

                                                                      
  TH2Editor                                                           
  Editor for changing TH2 histogram attributes, rebinning & fitting.  
  For all possible draw options (there are a few which are not imple- 
  mentable in a graphical user interface) see THistPainter::Paint in  
  root/histpainter/THistPainter.cxx                                   

/* */

/*

*/
  These changes can be made via the TH2Editor:                        
    Style Tab:                                                        
      'Line'     : change Line attributes (color, thickness)          
                   see TAttLineEditor                                 
      'Fill'     : change Fill attributes (color, pattern)            
                   see TAttFillEditor                                 
      'Title'    : TextEntry: set the title of the histogram          
      'Histogram': change the draw options of the histogram           
      'Plot'     : Radiobutton: draw a 2D or 3D plot of the histogram 
                   according to the Plot dimension there will be      
                   different drawing possibilities (ComboBoxes/       
                   CheckBoxes)                                        
    2d Plot:                                                          
      'Contour' : ComboBox: draw a contour plot (None, Cont0..4)      
      'Cont #'  : TGNumberEntry: set the number of Contours           
    2d Plot checkboxes:                                               
      'Arrow'   : arrow mode. Shows gradient between adjacent cells   
      'Col'     : a box is drawn for each cell with a color scale     
                  varying with contents                               
      'Text'    : Draw bin contents as text                           // 
      'Box'     : a box is drawn for each cell with surface           
                  proportional to contents                            
      'Scat'    : Draw a scatter-plot (default)                       
      'Palette' : the color palette is drawn                          
                                                                      
    3d Plot:                                                          
      'Type'    : ComboBox: set histogram type Lego or Surface-Plot   
                  draw(Lego, Lego1.2, Surf, Surf1..5)                 
                  see THistPainter::Paint                             
      'Coords'  : ComboBox: set the coordinate system (Cartesian, ..  
                  Spheric) see THistPainter::Paint                    
      'Cont #'  : TGNumberEntry: set the number of Contours (for e.g. 
                  Lego2 drawoption                                    
    3d Plot checkboxes:                                               
      'Errors'  : draw errors in a cartesian lego plot                
      'Palette' : the color palette is drawn                          
      'Front'   : draw the front box of a cartesian lego plot         
      'Back'    : draw the back box of a cartesian lego plot          
    Available for a 3D lego plot:                                     
      'Bar'     : change the bar attributes                           
            'W' : change Bar Width                                    
            'O' : change Bar Offset                                   
   Further Editor:                                                    
      'Marker'   : change the Marker attributes (color, appearance,   
                   thickness) see TAttMarkerEditor                    
                                                                      
/* */

/*

*/
                                                                      
   Rebinning Tab:                                                     
      This Tab has two different layouts. One is for a histogram which
      is not drawn from an ntuple. The other one is available for a   
      histogram which is drawn from an ntuple. In this case the rebin 
      algorithm can create a rebinned histogram from the original data
      i.e. the ntuple.                                                
      To see te differences do for example:                           
         TFile f("hsimple.root");                                     
         hpxpy->Draw("Lego2");              // non ntuple histogram   
         ntuple->Draw("px:py","","Lego2");  // ntuple histogram       
    Non ntuple histogram:                                             
       'Rebin': with the Sliders (one for the x, one for the y axis)  
                the number of bins (shown in the field below the      
                Slider) can be changed to any number which divides    
                the number of bins of the original histogram.         
                Pushing 'Apply' will delete the origin histogram and  
                replace it by the rebinned one on the screen.         
                Pushing 'Ignore' the origin histogram will be restored
    Histogram drawn from an ntuple:                                   
       'Rebin'  with the sliders the number of bins can be enlarged by
                a factor of 2,3,4,5 (moving to the right) or reduced  
                by a factor of 1/2, 1/3, 1/4, 1/5                     
       'BinOffset': with the BinOffset slider the origin of the       
                histogram can be changed within one binwidth          
                Using this slider the effect of binning the data into 
                bins can be made visible => statistical fluctuations  
       'Axis Range': with the DoubleSlider it is possible to zoom into
                the specified axis range. It is also possible to set  
                the upper and lower limit in fields below the slider  
       'Delayed drawing': all the Binning sliders can be set to delay 
                draw mode. Then the changes on the histogram are only 
                updated, when the Slider is released. This should be  
                activated if the redrawing of the histogram is too    
                time consuming.                                       

TH2Editor(const TGWindow *p, Int_t width, Int_t height, UInt_t options, Pixel_t back)
 Constructor of histogram attribute GUI.
void CreateBinTab()
 Create the Binning tab.
~TH2Editor()
 Destructor.
void ConnectSignals2Slots()
 Connect signals to slots.
Bool_t AcceptModel(TObject* obj)
 Check if object is able to configure with this editor.
void SetModel(TObject* obj)
 Pick up the values of current histogram attributes.
void DoTitle(const char *text)
 Slot connected to the histogram title setting.
void DoHistView()
 Slot connected to the 'Plot' button group.
void DoHistSimple()
 Slot connected to the 2D-Plot radio button.
void DoHistComplex()
 Slot connected to the 3D-Plot radio button.
void DoHistChanges()
 Slot connected to histogram type, coordinate system, contour combo box.
void DoAddArr(Bool_t on)
 Slot connected to the "Arrow draw option" check button.
void DoAddBox(Bool_t on)
 Slot connected to the "Box draw option" check button.
void DoAddCol(Bool_t on)
 Slot connected to the "Col draw option" check button.
void DoAddScat(Bool_t on)
 Slot connected to the "Scat draw option" check button.
void DoAddText(Bool_t on)
 Slot connected to the "Text draw option" check button.
void DoAddError(Bool_t on)
 Slot connected to the "Error" check button.
void DoAddPalette(Bool_t on)
 Slot connected to the color palette check button. 
void DoAddFB()
 Slot connected to the "FB front-box draw option" check button.
void DoAddBB()
 Slot connected to the "BB back-box draw option" check button.
void DoContLevel()
 Slot connected to the contour level number entry fContLevels.
void DoContLevel1()
 Slot connected to the contour level number entry fContLevels1. 
void DoBarWidth()
 Slot connected to the bar width of the bar chart.
void DoBarOffset()
 Slot connected to the bar offset of the bar chart.
void DoBinReleased()
 Slot connected to the rebin slider in case of no ntuple histogram.
 It updates some other widgets related to the rebin slider.
void DoBinPressed()
 Slot connected to the rebin slider in case of no ntuple histogram.
void DoBinMoved()
 Slot connected to the rebin sliders in case of no ntuple histogram
 does the rebinning of the selected histogram. 
void DoBinLabel()
 Slot connected to the Bin Number Entry for the Rebin.
void DoApply()
 Slot connected to the Apply Button in the Rebinned histogram Window.
void DoCancel()
 Slot connected to the Cancel Button in the Rebinned histogram Window.
void DoBinReleased1()
 Slot connected to the BinNumber Slider in case of a 'ntuple histogram'.
 It does the rebin.
void DoBinMoved1()
 Slot connected to the rebin slider in case of an ntuple histogram.
 Updates the BinNumberEntryField during the BinSlider movement.
void DoBinLabel1()
 Slot connected to the Bin Number Entry for the Rebin.
void DoOffsetPressed()
 Slot connected to the OffSetSlider. It saves the OldBinOffset 
 (nessesary for delay draw mode).
void DoOffsetReleased()
 Slot connected to the OffSetSlider that
 changes the origin of the histogram inbetween a binwidth;
 rebin the histogram with the new Offset given by the slider.
 problem: histogram with variable binwidth??
void DoOffsetMoved()
 Slot connected to the OffSetSlider.
 It changes the origin of the histogram inbetween a binwidth;
 rebin the histogram with the new offset given by the slider.
 problem: histogram with variable binwidth??
void DoBinOffset()
 Slot connected to the OffSetNumberEntry, related to the OffSetSlider
 changes the origin of the histogram inbetween a binwidth.
void DoSliderXMoved()
 Slot connected to the x-Slider that redraws the histogram 
 with the new slider range.
void DoSliderXPressed()
 Slot connected to the x axis range slider that initialises
 the "virtual" box which is drawn in delay draw mode.
void DoSliderXReleased()
 Slot connected to the x-axis slider finalizing values after 
 the slider movement. 
void DoXAxisRange()
 Slot connected to the Max/Min number entry fields showing x-axis range.
void DoSliderYMoved()
 Slot connected to the x-slider for redrawing the
 histogram with the new slider Range (immediately).
void DoSliderYPressed()
 Slot connected to y-axis slider which initialises
 the "virtual" box which is drawn in delay draw mode.
void DoSliderYReleased()
 Slot connected to the y-axis slider finalizing values after 
 the slider movement. 
void DoYAxisRange()
 Slot connected to the Max/Min number entry fields showing y-axis range.
void DoFillColor(Pixel_t color)
 Slot connected to the fill area color.
void DoFillPattern(Style_t pattern)
 Slot connected to the fill area pattern.
TString GetHistTypeLabel()
 Return the immediate histogram type (HIST, LEGO1-2, SURF1-5).
TString GetHistCoordsLabel()
 Return the immediate coordinate system of the histogram. 
 (POL, CYL, SPH,PSR)
TString GetHistContLabel()
 Returns histogram contour option (None,Cont0..5).
TString GetHistAdditiveLabel()
 Return histogram additive options (Arr,Box,Col,Scat,Col,Text,E,Z,FB,BB).
TGComboBox* BuildHistTypeComboBox(TGFrame* parent, Int_t id)
 Create histogram type combo box.
TGComboBox* BuildHistCoordsComboBox(TGFrame* parent, Int_t id)
 Create coordinate system combo box.
TGComboBox* BuildHistContComboBox(TGFrame* parent, Int_t id)
 Create contour combo box.
void PaintBox3D(Float_t *p1, Float_t *p2,Float_t *p3, Float_t *p4)
 Paint a square in 3D.
Int_t* Dividers(Int_t n)
 Give an array of dividers of n (without the trivial divider n))
 in the first entry the number of dividers is saved.
void ActivateBaseClassEditors(TClass* /*cl*/)
 Skip TH1Editor in building list of editors in fGedEditor.   

Author: Carsten Hof 09/08/04
Last update: root/ged:$Name: TH2Editor.cxx
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.