61 fGridColor->Connect(
"ColorSelected(Pixel_t)",
"TEveCaloLegoEditor",
this,
"DoGridColor(Pixel_t)");
74 fFontColor->Connect(
"ColorSelected(Pixel_t)",
"TEveCaloLegoEditor",
this,
"DoFontColor(Pixel_t)");
86 fPlaneColor->Connect(
"ColorSelected(Pixel_t)",
"TEveCaloLegoEditor",
this,
"DoPlaneColor(Pixel_t)");
92 fTransparency->GetNumberEntry()->SetToolTipText(
"Transparency: 0 is opaque, 100 fully transparent.");
94 fTransparency->Connect(
"ValueSet(Long_t)",
"TEveCaloLegoEditor",
this,
"DoTransparency()");
105 fProjection->Connect(
"Selected(Int_t)",
"TEveCaloLegoEditor",
this,
"DoProjection()");
111 f2DMode->Connect(
"Selected(Int_t)",
"TEveCaloLegoEditor",
this,
"Do2DMode()");
117 fBoxMode->Connect(
"Selected(Int_t)",
"TEveCaloLegoEditor",
this,
"DoBoxMode()");
126 fCell2DTextMin->Connect(
"ValueSet(Double_t)",
"TEveCaloLegoEditor",
this,
"DoCell2DTextMin()");
140 fAutoRebin->Connect(
"Toggled(Bool_t)",
"TEveCaloLegoEditor",
this,
"DoAutoRebin()");
144 fNormalizeRebin->Connect(
"Toggled(Bool_t)",
"TEveCaloLegoEditor",
this,
"DoNormalize()");
152 fPixelsPerBin->SetToolTip(
"Number of labels along the Z axis.");
153 fPixelsPerBin->Connect(
"ValueSet(Double_t)",
"TEveCaloLegoEditor",
this,
"DoPixelsPerBin()");
ULong_t Pixel_t
Pixel value.
int Int_t
Signed integer 4 bytes (int).
char Char_t
Character 1 byte (char).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
short Color_t
Color number (short).
static Int_t GetColor(const char *hexcolor)
static ULong_t Number2Pixel(Int_t ci)
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.