library: libGed
#include "TH1Editor.h"


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

class TH1Editor: public TGedFrame

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
TH1Editor(const TGWindow* p = 0, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
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 = "")
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 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)
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
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 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
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_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 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::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
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)
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)
TGWindow&TGWindow::operator=(const TGWindow& tgw)
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
voidChangeErrorCombo(Int_t i)

Data Members

enum TGWindow::EEditMode { kEditEnable
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
TH1*fHisthistogram object
Bool_tfSameOptflag for option "same"
TGCompositeFrame*fBinContains the Binning Widgets
Int_tfTitlePrecfont precision level
TGTextEntry*fTitlehistogram title input field
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
TGComboBox*fTypeCombohistogram type combo box
TGComboBox*fCoordsComboCoordinate System combo box
TGComboBox*fErrorComboError combo box
TGCheckButton*fHistOnOffDraw a simple histogram with default options
TGCheckButton*fAddMarkerDraw a Marker on top of each bin
TGCheckButton*fAddBDraw a Bar Chart
TGCheckButton*fAddBarBar Option
TGCheckButton*fAddActivate more Options
TGCheckButton*fMakeHBarDraw Horizontal Bar Chart
TGCheckButton*fAddSimpleDraw a simple histogram (==HIST draw option)
TGNumberEntry*fBarWidthChange the Bar Width
TGNumberEntry*fBarOffsetChange the Bar Offset
TGComboBox*fAddComboAdd Lines, Bars, Fill
TGComboBox*fPercentComboPercentage of the Bar which is drawn in a different color
TGCompositeFrame*f3Contains Histogram Type
TGCompositeFrame*f4Contains Histogram Coordinate 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
TGCompositeFrame*f10Contains the Bar Option Title
TGCompositeFrame*f11Contains the Bar Width/Offset NumberEntries
TGCompositeFrame*f12Contains fPercentCombo, fMakeHBar
TGCompositeFrame*f15Contains outer line CheckBox
TGCompositeFrame*fBinContContains the Rebin Widgets for case 1
TGCompositeFrame*fBinCont1Contains the Rebin Widgets for case 2
TGHSlider*fBinSliderSlider to set rebinning integer value
TGHSlider*fBinSlider1Slider to set rebinning integer value for ntuple histogram
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
TGNumberEntryField*fOffsetNumberEntryShows the offset to the origin of the histogram
TGDoubleHSlider*fSliderSlider to set x-axis range
TGNumberEntryField*fSldMinContains the minimum value of the x-Axis
TGNumberEntryField*fSldMaxContains the maximum value of the x-Axis
TGCheckButton*fDelaydrawDelayed drawing of the new axis range
TGTextButton*fApplyApply-Button to accept the rebinned histogram
TGTextButton*fCancelCancel-Button to reprobate the rebinned histogram
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
Bool_tfMakeVeto Variable
Bool_tfMakeBavoid execution of Bar Slots
TH1*fBinHistCloned histogram for rebin
Double_tfOldOffsetsave the old offset of the histogram

Class Description

  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.                                       

/* */


TH1Editor(const TGWindow *p, Int_t width, Int_t height, UInt_t options, Pixel_t back)
 Constructor of histogram attribute GUI.
void CreateBinTab()
 Create binning tab.
 Destructor of TH1 editor.
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 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 on)
 Slot connected to the bar Add check box.
void DoAddBar(Bool_t on)
 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 numx)
 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.

Author: Carsten Hof 16/08/04
Last update: root/ged:$Name: TH1Editor.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.