ROOT logo
ROOT » GUI » GED » TH2Editor

class TH2Editor: public TGedFrame


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.

Function Members (Methods)

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 Bool_tTGedFrame::AcceptModel(TObject*)
virtual voidTGFrame::Activate(Bool_t)
virtual voidActivateBaseClassEditors(TClass* cl)
virtual voidTGedFrame::ActivateBaseClassEditors(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 = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidTGFrame::ChangeOptions(UInt_t options)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
static TClass*Class()
static TClass*TGedFrame::Class()
static TClass*TGCompositeFrame::Class()
static TClass*TGFrame::Class()
static TClass*TQObject::Class()
static TClass*TGWindow::Class()
static TClass*TGObject::Class()
static TClass*TObject::Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
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 char* name)
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()SIGNAL
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 voidTObject::DrawClass() constMENU
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidTGFrame::Dump() const
virtual voidTObject::Dump() constMENU
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 TGFrameElement*TGCompositeFrame::FindFrameElement(TGFrame* f) 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
virtual UInt_tTGFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGCompositeFrame::GetDefaultSize() const
virtual TGDimensionTGFrame::GetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual UInt_tTGFrame::GetDefaultWidth() const
virtual TDNDData*TGFrame::GetDNDData(Atom_t)
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TGedFrame::GetDrawOption() const
virtual Option_t*TObject::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)
virtual TGFrame*TGFrame::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 const char*TObject::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::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_tTGFrame::HandleDNDDrop(TDNDData*)
virtual Atom_tTGFrame::HandleDNDEnter(Atom_t*)
virtual Bool_tTGFrame::HandleDNDFinished()
virtual Bool_tTGFrame::HandleDNDLeave()
virtual Atom_tTGFrame::HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
virtual Bool_tTGCompositeFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tTGFrame::HandleDragDrop(TGFrame*, Int_t, Int_t, TGLayoutHints*)
virtual Bool_tTGCompositeFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGWindow::HandleEvent(Event_t*)
virtual Bool_tTGWindow::HandleExpose(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tTGCompositeFrame::HandleKey(Event_t*)
virtual Bool_tTGFrame::HandleKey(Event_t*)
virtual Bool_tTGCompositeFrame::HandleMotion(Event_t*)
virtual Bool_tTGFrame::HandleMotion(Event_t*)
virtual Bool_tTGCompositeFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
virtual ULong_tTObject::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
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual TClass*TGedFrame::IsA() const
virtual TClass*TGCompositeFrame::IsA() const
virtual TClass*TGFrame::IsA() const
virtual TClass*TQObject::IsA() const
virtual TClass*TGWindow::IsA() const
virtual TClass*TGObject::IsA() const
virtual TClass*TObject::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_tTGFrame::IsComposite() const
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() const
virtual Bool_tTGCompositeFrame::IsEditable() const
virtual Bool_tTGFrame::IsEditable() const
virtual Bool_tTGWindow::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGCompositeFrame::IsLayoutBroken() const
virtual Bool_tTGFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGCompositeFrame::IsMapSubwindows() const
virtual Bool_tTGWindow::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()
virtual voidTGFrame::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 voidTGWindow::MapRaised()
virtual voidTGCompositeFrame::MapSubwindows()
virtual voidTGFrame::MapSubwindows()
virtual voidTGWindow::MapSubwindows()
virtual voidTGFrame::MapWindow()
virtual voidTGWindow::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGWindow::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 voidTGWindow::MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual Int_tTGCompositeFrame::MustCleanup() const
virtual Int_tTGWindow::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)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::Print(Option_t* option = "") const
virtual voidTGFrame::Print(Option_t* option = "") const
virtual voidTGWindow::Print(Option_t* option = "") const
virtual voidTObject::Print(Option_t* option = "") const
virtual voidTGFrame::ProcessedConfigure(Event_t* event)SIGNAL
virtual voidTGFrame::ProcessedEvent(Event_t* event)SIGNAL
virtual Bool_tTGCompositeFrame::ProcessMessage(Long_t, Long_t, Long_t)
virtual Bool_tTGFrame::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::RemoveAll()
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::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 voidTGWindow::Resize(UInt_t w, UInt_t h)
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTGCompositeFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& 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::SetBackgroundColor(Pixel_t color)
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::SetCleanup(Int_t = kLocalCleanup)
voidTGFrame::SetDNDSource(Bool_t onoff)
voidTGFrame::SetDNDTarget(Bool_t onoff)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGedFrame::SetDrawOption(Option_t* option = "")
virtual voidTGFrame::SetDrawOption(Option_t* = "")
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGCompositeFrame::SetEditable(Bool_t on = kTRUE)
virtual voidTGFrame::SetEditable(Bool_t)
virtual voidTGWindow::SetEditable(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetEditDisabled(UInt_t on = 1)
virtual voidTGWindow::SetEditDisabled(UInt_t on = kEditDisable)
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 voidTGFrame::SetLayoutBroken(Bool_t = kTRUE)
virtual voidTGCompositeFrame::SetLayoutManager(TGLayoutManager* l)
virtual voidTGCompositeFrame::SetMapSubwindows(Bool_t on)
virtual voidTGWindow::SetMapSubwindows(Bool_t)
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)
virtual voidTGedFrame::SetModel(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 voidTGedFrame::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGCompositeFrame::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGFrame::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTQObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGWindow::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
virtual voidTGedFrame::Streamer(TBuffer& b)
virtual voidTGCompositeFrame::Streamer(TBuffer& b)
virtual voidTGFrame::Streamer(TBuffer& b)
virtual voidTQObject::Streamer(TBuffer& b)
virtual voidTGWindow::Streamer(TBuffer& b)
virtual voidTGObject::Streamer(TBuffer& b)
virtual voidTObject::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGedFrame::StreamerNVirtual(TBuffer& b)
voidTGCompositeFrame::StreamerNVirtual(TBuffer& b)
voidTGFrame::StreamerNVirtual(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 voidTGWindow::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 void*TQObject::GetSender()
virtual const char*TQObject::GetSenderClassName() const
virtual voidTGedFrame::MakeTitle(const char* title)
voidTObject::MakeZombie()
TGWindow&TGWindow::operator=(const TGWindow& tgw)
TGObject&TGObject::operator=(const TGObject& tgo)
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)

Data Members

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TH2Editor(const TGWindow* p = 0, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
 Constructor of histogram attribute GUI.
void CreateBinTab()
 Create the Binning tab.
~TH2Editor()
 Destructor.
void ConnectSignals2Slots()
 Connect signals to slots.
Bool_t AcceptModel(TObject* model)
 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 )
 Slot connected to the fill area color.
void DoFillPattern(Style_t )
 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).
TString GetCutOptionString()
 Return draw option string related to graphical cut in use.
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.