370 gROOT->GetListOfCleanups()->Add(
this);
681 gROOT->GetListOfCleanups()->Remove(
this);
698 fTitle->
Connect(
"TextChanged(const char *)",
"TH2Editor",
this,
"DoTitle(const char *)");
703 fAddArr->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddArr(Bool_t)");
704 fAddBox->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddBox(Bool_t)");
705 fAddCol->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddCol(Bool_t)");
706 fAddScat->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddScat(Bool_t)");
707 fAddText->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddText(Bool_t)");
708 fAddError->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddError(Bool_t)");
711 fAddFB->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddFB()");
712 fAddBB->
Connect(
"Toggled(Bool_t)",
"TH2Editor",
this,
"DoAddBB()");
715 this,
"DoContLevel()");
718 this,
"DoContLevel1()");
721 this,
"DoBarWidth()");
724 this,
"DoBarOffset()");
733 fApply->
Connect(
"Clicked()",
"TH2Editor",
this,
"DoApply()");
749 fSliderX->
Connect(
"PositionChanged()",
"TH2Editor",
this,
"DoSliderXMoved()");
751 fSliderX->
Connect(
"Released()",
"TH2Editor",
this,
"DoSliderXReleased()");
752 fSldXMin->
Connect(
"ReturnPressed()",
"TH2Editor",
this,
"DoXAxisRange()");
753 fSldXMax->
Connect(
"ReturnPressed()",
"TH2Editor",
this,
"DoXAxisRange()");
754 fSliderY->
Connect(
"PositionChanged()",
"TH2Editor",
this,
"DoSliderYMoved()");
756 fSliderY->
Connect(
"Released()",
"TH2Editor",
this,
"DoSliderYReleased()");
757 fSldYMin->
Connect(
"ReturnPressed()",
"TH2Editor",
this,
"DoYAxisRange()");
758 fSldYMax->
Connect(
"ReturnPressed()",
"TH2Editor",
this,
"DoYAxisRange()");
759 fFrameColor->
Connect(
"ColorSelected(Pixel_t)",
"TH2Editor",
this,
"DoFillColor(Pixel_t)");
760 fFramePattern->
Connect(
"PatternSelected(Style_t)",
"TH2Editor",
this,
"DoFillPattern(Style_t)");
772 ((
TH2*)obj)->GetEntries() == 0)) {
950 Int_t nxbinmin =
fHist -> GetXaxis() -> GetFirst();
951 Int_t nxbinmax =
fHist -> GetXaxis() -> GetLast();
958 Int_t nybinmin =
fHist -> GetYaxis() -> GetFirst();
959 Int_t nybinmax =
fHist -> GetYaxis() -> GetLast();
1000 Int_t n1 = 0, n2 =0;
1001 Int_t upx =0, upy =0;
1013 if (divx[0]-1 <= 1) upx = 2;
1014 else upx = divx[0]-1;
1016 if (divy[0]-1 <= 1) upy = 2;
1017 else upy = divy[0]-1;
1023 while ( divx[i] != nx) i ++;
1029 while ( divy [j] != ny) j ++;
1109 if (str==
"" || str==
"SCAT" || str==
fCutString) {
1187 if (str==
"" || str==
"SCAT" || str==
fCutString) {
1268 if (str==
"" || str==
"SCAT" || str==
fCutString) {
1300 if (str==
"" || str==
"SCAT" || str==
fCutString) {
1342 if (str==
"" || str==
"SCAT" || str==
fCutString)
1401 if (str==
"" || str==
"SCAT" || str==
fCutString)
1603 if (divx[0]==2 && divy[0]==2) {
1663 if (divx[0]==2 && divy[0]==2 && !
fBinHist)
1665 "TH2Editor",
"It is not possible to rebin the histogram",
1684 if (divx[0]==2 && divy[0]==2) {
1699 if (nx < 1 || ny < 1)
return;
1712 if (maxx==1) maxx=2;
1713 if (maxy==1) maxy=2;
1780 if (nx < 2 || ny < 2)
return;
1786 for (i = 2; i <= divx[0]; i++) {
1793 for (i = 2; i <= divy[0]; i++) {
1822 "TH2 Editor",
"Replace origin histogram with rebinned one?",
1833 Int_t upx = 0, upy = 0;
1834 if (divx[0]-1 <= 1) upx = 2;
1835 else upx = divx[0]-1;
1836 if (divy[0]-1 <= 1) upy = 2;
1837 else upy = divy[0]-1;
1905 if (xnumber==5 && ynumber==5)
return;
1908 Int_t xBinNumber = 0;
1909 Int_t yBinNumber = 0;
1913 if (xnumber >= 5) xfact = xnumber - 4;
1914 else xfact = xnumber - 6;
1915 if (ynumber >= 5) yfact = ynumber - 4;
1916 else yfact = ynumber - 6;
1918 if (!player)
return;
1938 if (xfact > 0) xBinNumber = xfact*nx;
1939 if (xfact < 0) xBinNumber = (
Int_t) ((-1)*nx/xfact+0.5);
1940 if (xBinNumber < 1) xBinNumber = 1;
1941 if (xBinNumber > 1000) xBinNumber= 1000;
1942 if (yfact > 0) yBinNumber = yfact*ny;
1943 if (yfact < 0) yBinNumber = (
Int_t) ((-1)*ny/yfact+0.5);
1944 if (yBinNumber < 1) yBinNumber = 1;
1945 if (yBinNumber > 1000) yBinNumber= 1000;
1950 ((
TH2*)player->
GetHistogram())->SetBins(xBinNumber, minx-oldXOffset+xOffset,
1951 maxx-oldXOffset+xOffset,
1952 yBinNumber, miny-oldYOffset+yOffset,
1953 maxy-oldYOffset+yOffset);
1965 xaxis->
FindBin(rmaxx-xBinWidth/2));
1967 yaxis->
FindBin(rmaxy-yBinWidth/2));
1973 xaxis->
FindBin(rmaxx-xBinWidth/2));
1975 yaxis->
FindBin(rmaxy-yBinWidth/2));
2012 Int_t numx = lastx-firstx+1;
2013 Int_t numy = lasty-firsty+1;
2016 Int_t xBinNumber = 0;
2017 Int_t yBinNumber = 0;
2018 if (xnumber >= 5) xfact = xnumber - 4;
2019 else xfact = xnumber - 6;
2020 if (xfact > 0) xBinNumber = xfact*numx;
2021 if (xfact < 0) xBinNumber = (
Int_t) ((-1)*numx/xfact+0.5);
2022 if (xBinNumber < 1) xBinNumber = 1;
2023 if (xBinNumber > 1000) xBinNumber= 1000;
2027 if (ynumber >= 5) yfact = ynumber - 4;
2028 else yfact = ynumber - 6;
2029 if (yfact > 0) yBinNumber = yfact*numy;
2030 if (yfact < 0) yBinNumber = (
Int_t) ((-1)*numy/yfact+0.5);
2031 if (yBinNumber < 1) yBinNumber = 1;
2032 if (yBinNumber > 1000) yBinNumber= 1000;
2050 if (!player)
return;
2070 Int_t xBinNumber = (
Int_t) ((maxx-minx)/(rmaxx - rminx)*numx + 0.5);
2071 if (xBinNumber < 1) xBinNumber = 1;
2072 if (xBinNumber > 1000) xBinNumber= 1000;
2074 Int_t yBinNumber = (
Int_t) ((maxy-miny)/(rmaxy - rminy)*numy + 0.5);
2075 if (yBinNumber < 1) yBinNumber = 1;
2076 if (yBinNumber > 1000) yBinNumber= 1000;
2079 ((
TH2*)player->
GetHistogram())->SetBins(xBinNumber, minx-oldXOffset+xOffset,
2080 maxx-oldXOffset+xOffset,
2081 yBinNumber, miny-oldYOffset+yOffset,
2082 maxy-oldYOffset+yOffset);
2094 xaxis->
FindBin(rmaxx-xBinWidth/2));
2096 yaxis->
FindBin(rmaxy-yBinWidth/2));
2102 xaxis->
FindBin(rmaxx-xBinWidth/2));
2104 yaxis->
FindBin(rmaxy-yBinWidth/2));
2143 Double_t xOffset = 1.*numx/100*xBinWidth;
2144 Double_t yOffset = 1.*numy/100*yBinWidth;
2151 if (!player)
return;
2170 maxx-oldXOffset+xOffset,
2171 ny, miny-oldYOffset+yOffset,
2172 maxy-oldYOffset+yOffset);
2182 xaxis->
FindBin(rmaxx+xOffset-oldXOffset-xBinWidth/2));
2184 yaxis->
FindBin(rmaxy+yOffset-oldYOffset-yBinWidth/2));
2210 Double_t xOffset = 1.*numx/100*xBinWidth;
2211 Double_t yOffset = 1.*numy/100*yBinWidth;
2219 if (!player)
return;
2238 maxx-oldXOffset+xOffset,
2239 ny, miny-oldYOffset+yOffset,
2240 maxy-oldYOffset+yOffset);
2250 xaxis->
FindBin(rmaxx+xOffset-oldXOffset-xBinWidth/2));
2252 yaxis->
FindBin(rmaxy+yOffset-oldYOffset-yBinWidth/2));
2285 if (!player)
return;
2303 maxx+xOffset-oldXOffset,
2304 ny,miny+yOffset-oldYOffset,
2305 maxy+yOffset-oldYOffset);
2315 xaxis->
FindBin(rmaxx+xOffset-oldXOffset-xBinWidth/2));
2317 yaxis->
FindBin(rmaxy+yOffset-oldYOffset-yBinWidth/2));
2337 Int_t px1,py1,px2,py2;
2365 Float_t p1[3], p2[3], p3[3], p4[3], p5[3], p6[3], p7[3], p8[3];
2375 p1[0] = p4[0] = p5[0] = p8[0] =
2377 p2[0] = p3[0] = p6[0] = p7[0] =
2379 p1[1] = p2[1] = p3[1] = p4[1] = rmin[1];
2380 p5[1] = p6[1] = p7[1] = p8[1] = rmax[1];
2381 p1[2] = p2[2] = p5[2] = p6[2] = rmin[2];
2382 p3[2] = p4[2] = p7[2] = p8[2] = rmax[2];
2389 for (
Int_t i = 0; i<3; i++){
2524 Int_t px1,py1,px2,py2;
2552 Float_t p1[3], p2[3], p3[3], p4[3], p5[3], p6[3], p7[3], p8[3];
2562 p1[0] = p2[0] = p3[0] = p4[0] = rmin[0];
2563 p5[0] = p6[0] = p7[0] = p8[0] = rmax[0];
2564 p1[1] = p4[1] = p5[1] = p8[1] =
2566 p2[1] = p3[1] = p6[1] = p7[1] =
2568 p1[2] = p2[2] = p5[2] = p6[2] = rmin[2];
2569 p3[2] = p4[2] = p7[2] = p8[2] = rmax[2];
2576 for (
Int_t i = 0; i<3; i++) {
2700 Int_t nybinmin = yaxis -> GetFirst();
2701 Int_t nybinmax = yaxis -> GetLast();
2735 case (-1) : {s =
"";
break;}
2760 case (-1) : {s =
"";
break;}
2778 case (-1) : {s =
"";
break;}
2780 case (
kCONT_0) : {s =
"CONT0";
break;}
2781 case (
kCONT_1) : {s =
"CONT1";
break;}
2782 case (
kCONT_2) : {s =
"CONT2";
break;}
2783 case (
kCONT_3) : {s =
"CONT3";
break;}
2784 case (
kCONT_4) : {s =
"CONT4";
break;}
2822 cutopt += opt(scut,ecut);
2904 }
else if (
n == 1) {
2913 for (
Int_t i=2; i <=
n/2; i++) {
ULong_t Pixel_t
Pixel value.
include TDocParser_001 C image html pict1_TDocParser_001 png width
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
Color_t GetFrameFillColor() const
void SetFrameFillColor(Color_t color=1)
void SetFrameFillStyle(Style_t styl=0)
Style_t GetFrameFillStyle() const
Class to manage histogram axis.
virtual Int_t FindBin(Double_t x)
Find bin number corresponding to abscissa x.
virtual Double_t GetBinLowEdge(Int_t bin) const
Return low edge of bin.
Int_t GetLast() const
Return last bin on the axis i.e.
virtual void SetRangeUser(Double_t ufirst, Double_t ulast)
Set the viewing range for the axis from ufirst to ulast (in user coordinates, that is,...
virtual void SetRange(Int_t first=0, Int_t last=0)
Set the viewing range for the axis using bin numbers.
virtual Double_t GetBinWidth(Int_t bin) const
Return bin width.
virtual Double_t GetBinUpEdge(Int_t bin) const
Return up edge of bin.
Int_t GetFirst() const
Return first bin on the axis i.e.
virtual void Selected(TVirtualPad *pad, TObject *obj, Int_t event)
Emit Selected() signal.
void FeedbackMode(Bool_t set)
Turn rubberband feedback mode on or off.
TClass instances represent classes, structs and namespaces in the ROOT type system.
static ULong_t Number2Pixel(Int_t ci)
Static method that given a color index number, returns the corresponding pixel value.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
virtual Int_t GetSelected() const
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Layout()
Layout the elements of the composite frame.
virtual void ChangeOptions(UInt_t options)
Change composite frame options. Options is an OR of the EFrameTypes.
virtual void ShowFrame(TGFrame *f)
Show sub frame.
virtual void HideFrame(TGFrame *f)
Hide sub frame.
virtual Float_t GetMaxPosition() const
virtual Float_t GetMinPosition() const
virtual void SetRange(Float_t min, Float_t max)
virtual void SetPosition(Float_t min, Float_t max)
virtual UInt_t GetDefaultHeight() const
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
Bool_t Contains(Int_t x, Int_t y) const
virtual void Resize(UInt_t w, UInt_t h)
Resize the frame.
virtual void Disable(Bool_t on=kTRUE)
virtual void Resize(UInt_t w, UInt_t h)
Resize the listbox widget.
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
virtual void SetLimits(ELimit limits=kNELNoLimits, Double_t min=0, Double_t max=1)
Set the numerical limits.
virtual void SetIntNumber(Long_t val)
Set the numeric value (integer representation).
virtual void SetNumber(Double_t val)
Set the numeric value (floating point representation).
virtual void SetNumber(Double_t val)
virtual void SetIntNumber(Long_t val)
TGNumberEntryField * GetNumberEntry() const
virtual Double_t GetNumber() const
virtual Int_t GetMaxPosition() const
virtual Int_t GetPosition() const
virtual void SetPosition(Int_t pos)
virtual void SetRange(Int_t min, Int_t max)
virtual void SetScale(Int_t scale)
Bool_t IsEnabled(Int_t tabIndex) const
Returns true if tab is enabled.
virtual void SetEnabled(Int_t tabIndex, Bool_t on=kTRUE)
Enable or disable tab.
virtual Bool_t SetTab(Int_t tabIndex, Bool_t emit=kTRUE)
Brings the composite frame with the index tabIndex to the front and generate the following event if t...
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
void ActivateEditors(TList *bcl, Bool_t recurse)
Searches GedFrames for classes in the given list.
virtual TCanvas * GetCanvas() const
virtual TVirtualPad * GetPad() const
virtual Option_t * GetDrawOption() const
Get draw options of the selected object.
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
virtual void SetDrawOption(Option_t *option="")
Set drawing option for object.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Refresh(TObject *model)
Refresh the GUI info about the object attributes.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
void SetPattern(Style_t pattern, Bool_t emit=kTRUE)
Set pattern.
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
virtual void SetTitle(const char *title)
See GetStatOverflows for more information.
virtual void SetBarOffset(Float_t offset=0.25)
Set the bar offset as fraction of the bin width for drawing mode "B".
virtual Float_t GetBarWidth() const
virtual Float_t GetBarOffset() const
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
TObject * Clone(const char *newname=0) const
Make a complete copy of the underlying object.
virtual Bool_t Add(TF1 *h1, Double_t c1=1, Option_t *option="")
Performs the operation: this = this + c1*f1 if errors are defined (see TH1::Sumw2),...
virtual void SetContour(Int_t nlevels, const Double_t *levels=0)
Set the number and values of contour levels.
virtual Double_t GetEntries() const
Return the current number of entries.
virtual UInt_t SetCanExtend(UInt_t extendBitMask)
Make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
@ kNoAxis
NOTE: Must always be 0 !!!
virtual void SetBins(Int_t nx, Double_t xmin, Double_t xmax)
Redefine x axis parameters.
virtual Int_t GetContour(Double_t *levels=0)
Return contour values into array levels if pointer levels is non zero.
virtual void SetBarWidth(Float_t width=0.5)
Set the width of bars as fraction of the bin width for drawing mode "B".
TGNumberEntryField * fSldXMin
TGNumberEntryField * fYOffsetNumberEntry
virtual void DoOffsetPressed()
Slot connected to the OffSetSlider.
TGNumberEntry * fContLevels1
virtual void DoBarWidth()
Slot connected to the bar width of the bar chart.
virtual void SetModel(TObject *obj)
Pick up the values of current histogram attributes.
virtual void DoBinReleased()
Slot connected to the rebin slider in case of no ntuple histogram.
TGNumberEntryField * fXOffsetNumberEntry
virtual void RecursiveRemove(TObject *obj)
If the contained histogram obj is deleted we must set its pointer to zero.
TGCompositeFrame * fBinXCont
virtual void DoBinPressed()
Slot connected to the rebin slider in case of no ntuple histogram.
TGDoubleHSlider * fSliderY
void CreateBinTab()
Create the Binning tab.
virtual Bool_t AcceptModel(TObject *model)
Check if object is able to configure with this editor.
virtual void DoAddError(Bool_t on)
Slot connected to the "Error" check button.
virtual void DoAddArr(Bool_t on)
Slot connected to the "Arrow draw option" check button.
TGCheckButton * fAddError
TGNumberEntryField * fBinXNumberEntry1
virtual void DoAddBB()
Slot connected to the "BB back-box draw option" check button.
TGCheckButton * fAddPalette1
virtual void DoFillPattern(Style_t)
Slot connected to the fill area pattern.
TGDoubleHSlider * fSliderX
virtual void DoApply()
Slot connected to the Apply Button in the Rebinned histogram Window.
TGNumberEntryField * fBinYNumberEntry
TGHSlider * fYBinOffsetSld
TGNumberEntryField * fBinXNumberEntry
virtual void DoSliderYPressed()
Slot connected to y-axis slider which initialises the "virtual" box which is drawn in delay draw mode...
TGCheckButton * fAddPalette
TGCompositeFrame * fBinXCont1
virtual void DoOffsetMoved()
Slot connected to the OffSetSlider.
void PaintBox3D(Float_t *p1, Float_t *p2, Float_t *p3, Float_t *p4)
Paint a square in 3D.
TGNumberEntry * fBarWidth
TGNumberEntryField * fSldYMin
virtual void DoYAxisRange()
Slot connected to the Max/Min number entry fields showing y-axis range.
virtual void DoContLevel()
Slot connected to the contour level number entry fContLevels.
virtual void DoContLevel1()
Slot connected to the contour level number entry fContLevels1.
TGHSlider * fXBinOffsetSld
virtual void DoAddPalette(Bool_t on)
Slot connected to the color palette check button.
virtual void DoHistChanges()
Slot connected to histogram type, coordinate system, contour combo box.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void DoBinLabel1()
Slot connected to the Bin Number Entry for the Rebin.
TGNumberEntry * fContLevels
TString GetHistTypeLabel()
Return the immediate histogram type (HIST, LEGO1-4, SURF1-5).
TGedPatternSelect * fFramePattern
TGCheckButton * fDelaydraw
static TGComboBox * BuildHistCoordsComboBox(TGFrame *parent, Int_t id)
Create coordinate system combo box.
virtual void ActivateBaseClassEditors(TClass *cl)
Skip TH1Editor in building list of editors.
virtual void DoAddScat(Bool_t on)
Slot connected to the "Scat draw option" check button.
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.
virtual void DoSliderXReleased()
Slot connected to the x-axis slider finalizing values after the slider movement.
virtual void DoSliderXPressed()
Slot connected to the x axis range slider that initialises the "virtual" box which is drawn in delay ...
virtual void DoAddText(Bool_t on)
Slot connected to the "Text draw option" check button.
virtual void DoHistView()
Slot connected to the 'Plot' button group.
virtual void DoXAxisRange()
Slot connected to the Max/Min number entry fields showing x-axis range.
TString GetCutOptionString()
Return draw option string related to graphical cut in use.
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 divi...
TString GetHistContLabel()
Returns histogram contour option (None,Cont0..5).
virtual void DoBinReleased1()
Slot connected to the BinNumber Slider in case of a 'ntuple histogram'.
TGColorSelect * fFrameColor
TString GetHistCoordsLabel()
Return the immediate coordinate system of the histogram.
virtual void DoSliderYMoved()
Slot connected to the x-slider for redrawing the histogram with the new slider Range (immediately).
virtual void DoBinLabel()
Slot connected to the Bin Number Entry for the Rebin.
TGNumberEntryField * fSldYMax
TGNumberEntryField * fSldXMax
virtual void DoBinMoved1()
Slot connected to the rebin slider in case of an ntuple histogram.
virtual void DoTitle(const char *text)
Slot connected to the histogram title setting.
virtual void DoAddCol(Bool_t on)
Slot connected to the "Col draw option" check button.
virtual void DoBarOffset()
Slot connected to the bar offset of the bar chart.
virtual void DoOffsetReleased()
Slot connected to the OffSetSlider that changes the origin of the histogram inbetween a binwidth; reb...
virtual ~TH2Editor()
Destructor.
virtual void DoBinOffset()
Slot connected to the OffSetNumberEntry, related to the OffSetSlider changes the origin of the histog...
static TGComboBox * BuildHistTypeComboBox(TGFrame *parent, Int_t id)
Create histogram type combo box.
static TGComboBox * BuildHistContComboBox(TGFrame *parent, Int_t id)
Create contour combo box.
TGNumberEntry * fBarOffset
TGComboBox * fCoordsCombo
virtual void DoCancel()
Slot connected to the Cancel Button in the Rebinned histogram Window.
TGCompositeFrame * fBinYCont1
virtual void DoSliderYReleased()
Slot connected to the y-axis slider finalizing values after the slider movement.
TGHButtonGroup * fDimGroup
virtual void DoBinMoved()
Slot connected to the rebin sliders in case of no ntuple histogram does the rebinning of the selected...
virtual void DoAddFB()
Slot connected to the "FB front-box draw option" check button.
TString GetHistAdditiveLabel()
Return histogram additive options (Arr,Box,Col,Scat,Col,Text,E,Z,FB,BB).
TGNumberEntryField * fBinYNumberEntry1
virtual void DoHistSimple()
Slot connected to the 2D-Plot radio button.
virtual void DoFillColor(Pixel_t)
Slot connected to the fill area color.
virtual void DoAddBox(Bool_t on)
Slot connected to the "Box draw option" check button.
virtual void DoHistComplex()
Slot connected to the 3D-Plot radio button.
virtual void DoSliderXMoved()
Slot connected to the x-Slider that redraws the histogram with the new slider range.
Service class for 2-Dim histogram classes.
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
virtual TH2 * Rebin2D(Int_t nxgroup=2, Int_t nygroup=2, const char *newname="")
Rebin this histogram grouping nxgroup/nygroup bins along the xaxis/yaxis together.
virtual const char * GetTitle() const
Returns title of object.
Mother of all ROOT objects.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
A specialized TSelector for TTree::Draw.
virtual void TakeAction()
Execute action for object obj fNfill times.
Ssiz_t First(char c) const
Find first occurrence of a character c.
const char * Data() const
void ToUpper()
Change string to upper case.
TString & Remove(Ssiz_t pos)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
Implement some of the functionality of the class TTree requiring access to extra libraries (Histogram...
virtual TSelector * GetSelector() const
TH1 * GetHistogram() const
virtual Int_t GetNfill() const
virtual Double_t * GetRmax()=0
virtual Double_t * GetRmin()=0
virtual void Modified(Bool_t flag=1)=0
virtual Int_t YtoAbsPixel(Double_t y) const =0
virtual Double_t GetUymax() const =0
virtual void PaintLine3D(Float_t *p1, Float_t *p2)=0
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
virtual Int_t XtoAbsPixel(Double_t x) const =0
virtual Double_t GetUxmax() const =0
virtual Double_t GetUymin() const =0
virtual Double_t GetUxmin() const =0
virtual TView * GetView() const =0
virtual TCanvas * GetCanvas() const =0
static TVirtualTreePlayer * GetCurrentPlayer()
Static function: return the current player (if any)