39 fTransparency(nullptr),
45 fCell2DTextMin(nullptr),
49 fPixelsPerBin(nullptr),
50 fNormalizeRebin(nullptr)
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)");
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()");
141 fAutoRebin->
Connect(
"Toggled(Bool_t)",
"TEveCaloLegoEditor",
this,
"DoAutoRebin()");
ULong_t Pixel_t
Pixel value.
winID h TVirtualViewer3D TVirtualGLPainter p
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.
Bool_t GetNormalizeRebin() const
void Set2DMode(E2DMode_e p)
Int_t GetPixelsPerBin() const
Color_t GetFontColor() const
void SetProjection(EProjection_e p)
void SetFontColor(Color_t ci)
void SetAutoRebin(Bool_t s)
void SetDrawNumberCellPixels(Int_t x)
void SetPlaneColor(Color_t ci)
void SetBoxMode(EBoxMode_e p)
void SetPixelsPerBin(Int_t bw)
void SetNormalizeRebin(Bool_t s)
Color_t GetPlaneColor() const
EProjection_e GetProjection() const
Char_t GetPlaneTransparency() const
Int_t GetDrawNumberCellPixels()
void SetGridColor(Color_t ci)
Bool_t GetAutoRebin() const
Color_t GetGridColor() const
void SetPlaneTransparency(Char_t t)
void SetLabelWidth(Int_t w)
void SetShowSlider(Bool_t s=kTRUE)
void SetNELength(Int_t l)
Composite GUI element for single value selection (supports label, number-entry and slider).
void Build(Bool_t connect=kTRUE) override
Create sub-components (label, number entry, slider).
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
virtual Int_t GetSelected() const
virtual void AddEntry(TGString *s, Int_t id)
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...
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
virtual void SetHeight(UInt_t h)
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.
TGNumberEntryField * GetNumberEntry() const
Get the number entry field.
virtual Double_t GetNumber() const
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
ROOT GUI Window base class.
Base frame for implementing GUI - a service class.
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
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.
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.