62 fGridColor->Connect(
"ColorSelected(Pixel_t)",
"TEveCaloLegoEditor",
this,
"DoGridColor(Pixel_t)");
75 fFontColor->Connect(
"ColorSelected(Pixel_t)",
"TEveCaloLegoEditor",
this,
"DoFontColor(Pixel_t)");
87 fPlaneColor->Connect(
"ColorSelected(Pixel_t)",
"TEveCaloLegoEditor",
this,
"DoPlaneColor(Pixel_t)");
93 fTransparency->GetNumberEntry()->SetToolTipText(
"Transparency: 0 is opaque, 100 fully transparent.");
95 fTransparency->Connect(
"ValueSet(Long_t)",
"TEveCaloLegoEditor",
this,
"DoTransparency()");
106 fProjection->Connect(
"Selected(Int_t)",
"TEveCaloLegoEditor",
this,
"DoProjection()");
112 f2DMode->Connect(
"Selected(Int_t)",
"TEveCaloLegoEditor",
this,
"Do2DMode()");
118 fBoxMode->Connect(
"Selected(Int_t)",
"TEveCaloLegoEditor",
this,
"DoBoxMode()");
127 fCell2DTextMin->Connect(
"ValueSet(Double_t)",
"TEveCaloLegoEditor",
this,
"DoCell2DTextMin()");
141 fAutoRebin->Connect(
"Toggled(Bool_t)",
"TEveCaloLegoEditor",
this,
"DoAutoRebin()");
145 fNormalizeRebin->Connect(
"Toggled(Bool_t)",
"TEveCaloLegoEditor",
this,
"DoNormalize()");
153 fPixelsPerBin->SetToolTip(
"Number of labels along the Z axis.");
154 fPixelsPerBin->Connect(
"ValueSet(Double_t)",
"TEveCaloLegoEditor",
this,
"DoPixelsPerBin()");
ULong_t Pixel_t
Pixel value.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pixel
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
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",...
GUI editor for TEveCaloLego.
TGCheckButton * fAutoRebin
TGVerticalFrame * fRebinFrame
TEveCaloLegoEditor(const TEveCaloLegoEditor &)
TGColorSelect * fPlaneColor
TGNumberEntry * fTransparency
void DoProjection()
Slot for projection.
TEveGValuator * fCell2DTextMin
TGCheckButton * fNormalizeRebin
void DoBoxMode()
Slot for projection.
void DoFontColor(Pixel_t color)
Slot for FontColor.
void Do2DMode()
Slot for projection.
void SetModel(TObject *obj) override
Set model object.
void DoTransparency()
Slot for Transparency.
TGColorSelect * fFontColor
void DoCell2DTextMin()
Slot for setting limit in pixels in which cell value is rendered.
TEveGValuator * fPixelsPerBin
void DoGridColor(Pixel_t color)
Slot for GridColor.
void DoPlaneColor(Pixel_t color)
Slot for PlaneColor.
void DoPixelsPerBin()
Slot for PixelsPerBin.
TGColorSelect * fGridColor
TGComboBox * MakeLabeledCombo(const char *name, Int_t off)
Helper function. Creates TGComboBox with fixed size TGLabel.
Visualization of calorimeter data as eta/phi histogram.
Composite GUI element for single value selection (supports label, number-entry and slider).
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
TGCompositeFrame(const TGCompositeFrame &)=delete
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
A composite frame that layout their children in horizontal way.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
TGNumberEntry is a number entry input widget with up/down buttons.
ROOT GUI Window base class.
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
TGedFrame(const TGedFrame &)=delete
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Mother of all ROOT objects.