ROOT » GUI » GED » TH1Editor

class TH1Editor: public TGedFrame

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

/* */

/* */

These changes can be made via the TH1Editor:
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/
2d Plot:
'Error'   : ComboBox: add different error bars to the histogram
(no errors, simple, ...,  see THistPainter::Paint
'Add'     : ComboBox: further things which can be added to the
histogram (None, simple/smooth line, fill area
'Simple Drawing': CheckBox: draw a simple histogram without
errors (= "HIST" drawoption). In combination with
some other draw options an outer line is drawn on
top of the histogram
'Show markers': CheckBox: draw a marker on to of each bin (="P"
'Draw bar chart': CheckBox: draw a bar chart (="B" drawoption)
change the Fill Color with Fill in the Style Tab
=> will show Bar menue in the Style Tab
'Bar option': CheckBox: draw a bar chart (="BAR" drawoption)
=> will show Bar menue in the Style Tab
3d Plot:
'Type'    : ComboBox: set histogram type Lego-Plot or Surface
draw(Lego, Lego1.2, Surf, Surf1..5)
see THistPainter::Paint
'Coords'  : ComboBox: set the coordinate system (Cartesian, ..
Spheric) see THistPainter::Paint
'Error'   : see 2D plot
'Bar'     : change the bar attributes
'W' : change Bar Width
'O' : change Bar Offset
      'Percentage': specifies the percentage of the bar which is drawn
brighter and darker (10% == BAR1 drawoption)
'Horizontal Bar': draw a horizontal bar chart

'Marker'   : change the Marker attributes (color, appearance,
thickness) see TAttMarkerEditor

/* */
      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:
TFile f("hsimple.root");
hpx->Draw("BAR1");        // non ntuple histogram
ntuple->Draw("px");       // ntuple histogram
Non ntuple histogram:
       'Rebin': with the Slider 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 slider 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 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)

voidTObject::AbstractMethod(const char* method) const
virtual Bool_tAcceptModel(TObject* model)
virtual voidTGFrame::Activate(Bool_t)
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 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
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 voidDoAddB(Bool_t)
virtual voidDoAddBar(Bool_t)
virtual voidDoAddMarker(Bool_t on)
virtual voidDoAddSimple(Bool_t on)
virtual voidDoApply()
virtual voidDoAxisRange()
virtual voidDoBarOffset()
virtual voidDoBarWidth()
virtual voidDoBinLabel()
virtual voidDoBinLabel1()
virtual voidDoBinMoved(Int_t number)
virtual voidDoBinMoved1()
virtual voidDoBinOffset()
virtual voidDoBinPressed()
virtual voidDoBinReleased()
virtual voidDoBinReleased1()
virtual voidDoCancel()
virtual voidDoHBar(Bool_t on)
virtual voidDoHistChanges()
virtual voidDoHistComplex()
virtual voidDoHistSimple()
virtual voidDoHistView()
virtual voidDoOffsetMoved(Int_t num)
virtual voidDoOffsetPressed()
virtual voidDoOffsetReleased()
virtual voidDoPercent()
virtual voidDoSliderMoved()
virtual voidDoSliderPressed()
virtual voidDoSliderReleased()
virtual voidDoTitle(const char* text)
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, va_list va)
voidTQObject::EmitVA<>(const char* signal_name, Int_t)
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
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGCompositeFrame::GetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual TDNDData*TGFrame::GetDNDData(Atom_t)
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
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGCompositeFrame::GetFrameFromPoint(Int_t x, Int_t y)
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
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
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
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_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_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
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() 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()
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)SIGNAL
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
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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)
TH1Editor&operator=(const TH1Editor&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidPaintBox3D(Float_t* p1, Float_t* p2, Float_t* p3, Float_t* p4)
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::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 voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidRecursiveRemove(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::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual voidTGObject::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)
voidTGFrame::SetDNDSource(Bool_t onoff)
voidTGFrame::SetDNDTarget(Bool_t onoff)
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) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
TH1Editor(const TH1Editor&)
TH1Editor(const TGWindow* p = 0, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
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
static TGComboBox*BuildHistAddComboBox(TGFrame* parent, Int_t id)
static TGComboBox*BuildHistCoordsComboBox(TGFrame* parent, Int_t id)
static TGComboBox*BuildHistErrorComboBox(TGFrame* parent, Int_t id)
static TGComboBox*BuildHistTypeComboBox(TGFrame* parent, Int_t id)
static TGComboBox*BuildPercentComboBox(TGFrame* parent, Int_t id)
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static TStringTQObject::CompressName(const char* method_name)
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)
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)
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)

Data Members

static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TGWindow::EEditModeTGWindow::kEditDisable
static TGWindow::EEditModeTGWindow::kEditDisableBtnEnable
static TGWindow::EEditModeTGWindow::kEditDisableEvents
static TGWindow::EEditModeTGWindow::kEditDisableGrab
static TGWindow::EEditModeTGWindow::kEditDisableHeight
static TGWindow::EEditModeTGWindow::kEditDisableKeyEnable
static TGWindow::EEditModeTGWindow::kEditDisableLayout
static TGWindow::EEditModeTGWindow::kEditDisableResize
static TGWindow::EEditModeTGWindow::kEditDisableWidth
static TGWindow::EEditModeTGWindow::kEditEnable
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
TGCompositeFrame*f10Contains the Bar Option Title
TGCompositeFrame*f11Contains the Bar Width/Offset NumberEntries
TGCompositeFrame*f12Contains fPercentCombo, fMakeHBar
TGCompositeFrame*f15Contains outer line CheckBox
TGCompositeFrame*f3Contains Histogram Type
TGCompositeFrame*f6Contains the Add-ComboBox (Style)
TGCompositeFrame*f7Contains the Marker OnOff CheckBox
TGCompositeFrame*f8Contains the Bar Chart CheckBox
TGCompositeFrame*f9Contains the Bar Option CheckBox
TGCheckButton*fAddActivate more Options
TGCheckButton*fAddBDraw a Bar Chart
TGCheckButton*fAddBarBar Option
TGComboBox*fAddComboAdd Lines, Bars, Fill
TGCheckButton*fAddMarkerDraw a Marker on top of each bin
TGCheckButton*fAddSimpleDraw a simple histogram (==HIST draw option)
TGTextButton*fApplyApply-Button to accept the rebinned histogram
Bool_tTGedFrame::fAvoidSignalflag for executing slots
Pixel_tTGFrame::fBackgroundframe background color
TGNumberEntry*fBarOffsetChange the Bar Offset
TGNumberEntry*fBarWidthChange the Bar Width
TGCompositeFrame*fBinContains the Binning Widgets
TGCompositeFrame*fBinContContains the Rebin Widgets for case 1
TGCompositeFrame*fBinCont1Contains the Rebin Widgets for case 2
TGNumberEntryField*fBinNumberEntryLabel which shows the rebinned bin number
TGNumberEntryField*fBinNumberEntry1Label which shows the rebinned bin number for ntuple histogram
TGHSlider*fBinOffsetSldAdd an offset to the origin of the histogram
TGHSlider*fBinSliderSlider to set rebinning integer value
TGHSlider*fBinSlider1Slider to set rebinning integer value for ntuple histogram
Int_tTGFrame::fBorderWidthframe border width
TGTextButton*fCancelCancel-Button to reprobate the rebinned histogram
TGClient*TGObject::fClientConnection to display server
TGComboBox*fCoordsComboCoordinate System combo box
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"
TGComboBox*fErrorComboError combo box
UInt_tTGFrame::fEventMaskcurrenty active event mask
TList*TGedFrame::fExtraTabsaddtional tabs in ged editor
TGFrameElement*TGFrame::fFEpointer to frame element
TGedEditor*TGedFrame::fGedEditormanager of this frame
UInt_tTGFrame::fHeightframe height
TH1*fHisthistogram object
TGCheckButton*fHistOnOffDraw a simple histogram with default options
Handle_tTGObject::fIdX11/Win32 Window identifier
Bool_tTGedFrame::fInitinit flag for setting signals/slots
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
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
TGCheckButton*fMakeHBarDraw Horizontal Bar Chart
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
TGNumberEntryField*fOffsetNumberEntryShows the offset to the origin of the histogram
UInt_tTGFrame::fOptionsframe options
const TGWindow*TGWindow::fParentParent window
TGComboBox*fPercentComboPercentage of the Bar which is drawn in a different color
Int_tTGedFrame::fPrioritylocation in GedEditor
Bool_tfSameOptflag for option "same"
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
TGNumberEntryField*fSldMaxContains the maximum value of the x-Axis
TGNumberEntryField*fSldMinContains the minimum value of the x-Axis
TGDoubleHSlider*fSliderSlider to set x-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
Int_tTGFrame::fYframe y position
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
static TGFrame::(anonymous)TGFrame::kDeleteWindowCalled
TH1*fBinHistCloned histogram for rebin
Bool_tfMakeVeto Variable
Bool_tfMakeBavoid execution of Bar Slots
Double_tfOldOffsetsave the old offset of the histogram

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TH1Editor(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 binning tab.
 Destructor of TH1 editor.
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 current values of histogram attributes.
void DoTitle(const char* text)
 Slot connected to the histogram title setting.
void DoAddMarker(Bool_t on)
 Slot connected to the show markers check box.
void DoAddB(Bool_t )
 Slot connected to the bar Add check box.
void DoAddBar(Bool_t )
 Slot connected to the bar Add check box.
void DoAddSimple(Bool_t on)
 Slot connected to fAddSimple check box for drawing a simple histogram
 without errors (== HIST draw option) in combination with some other
 draw options. It draws an additional line on the top of the bins.
void DoHistView()
 Slot connected to the 'Plot' button group.
void DoHistSimple()
 Slot connected to the 2D radio button.
void DoHistComplex()
 Slot connected to the 3D radio button.
void DoHistChanges()
 Slot connected to the histogram type, the coordinate type, the error type
 and the Add combo box.
void DoBarWidth()
 Slot connected to the Bar Width of the Bar Charts.
void DoBarOffset()
 Slot connected to the Bar Offset of the Bar Charts.
void DoPercent()
 Slot connected to the bar percentage settings.
void DoHBar(Bool_t on)
 Slot connected to the Horizontal Bar check button.
void DoSliderMoved()
 Slot connected to the x-Slider for redrawing of the histogram
 according to the new Slider range.
void DoSliderPressed()
 Slot connected to the x-axis Range slider for initialising the
 values of the slider movement.
void DoSliderReleased()
 Slot connected to the x-axis Range slider for finalizing the
 values of the slider movement.
void DoAxisRange()
 Slot connected to the number entry fields containing the Max/Min
 value of the x-axis.
void DoBinReleased()
 Slot connected to the rebin slider in case of a not ntuple histogram
 Updates some other widgets which are related to the rebin slider.
void DoBinMoved(Int_t number)
 Slot connected to the rebin slider in case of a not ntuple histogram
 (does the Rebinning of the histogram).
void DoBinPressed()
 Slot connected to the rebin slider in case of a not ntuple histogram.
void DoBinReleased1()
 Slot connected to the BinNumber Slider in case of a ntuple histogram
 (does the Rebinning of the histogram).
void DoBinMoved1()
 Slot connected to the rebin slider in case of an ntuple histogram.
 It updates the BinNumberEntryField during the BinSlider movement.
void DoBinLabel()
 Slot connected to the Bin number entry of the Rebinning tab.
void DoBinLabel1()
 Slot connected to the Bin number entry of the Rebinning tab.
void DoOffsetPressed()
 Slot connected to the OffSetSlider that saves the OldBinOffset
 (nessesary for delay draw mode).
void DoOffsetReleased()
 Slot connected to the OffSetSlider.
 It changes the origin of the histogram inbetween a binwidth and
 rebin the histogram with the new Offset given by the Slider.
void DoOffsetMoved(Int_t num)
 Slot connected to the OffSetSlider.
 It changes the origin of the histogram inbetween a binwidth and
 rebin the histogram with the new offset given by the Slider.
void DoBinOffset()
 Slot connected to the OffSetNumberEntry which is related to the
 OffSetSlider changes the origin of the histogram inbetween a binwidth.
void DoApply()
 Slot connected to the Apply button of the Binning tab.
void DoCancel()
 Slot connected to the Cancel button of the Binning tab.
TString GetHistTypeLabel()
 Returns the selected histogram type (HIST, LEGO1-2, SURF1-5).
TString GetHistCoordsLabel()
 Return the selected coordinate system of the histogram (POL,CYL,SPH,PSR).
TString GetHistErrorLabel()
 Return the selected error type (E,E1-5).
TString GetHistAddLabel()
 Return the selected shape of the histogram (C, L, LF2).
TGComboBox* BuildHistTypeComboBox(TGFrame* parent, Int_t id)
 Create histogram type combo box.
TGComboBox* BuildHistCoordsComboBox(TGFrame* parent, Int_t id)
 Create coordinate system type combo box.
TGComboBox* BuildHistErrorComboBox(TGFrame* parent, Int_t id)
 Create error type combo box.
TGComboBox* BuildHistAddComboBox(TGFrame* parent, Int_t id)
 Create Line/Bar combo box.
TGComboBox* BuildPercentComboBox(TGFrame* parent, Int_t id)
 Create Percentage combo box for bar option.
void ChangeErrorCombo(Int_t i)
 Change the error combo box entry.
void PaintBox3D(Float_t* p1, Float_t* p2, Float_t* p3, Float_t* p4)
 Paint a 3D box.
Int_t* Dividers(Int_t n)
 Return an array of dividers of n (without the trivial divider n).
 The number of dividers is saved in the first entry.
void RecursiveRemove(TObject* obj)
 If the contained histogram obj is deleted we must set its pointer to zero
TH1Editor(const TGWindow* p = 0, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())