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()");
void SetNormalizeRebin(Bool_t s)
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
Bool_t GetNormalizeRebin() const
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
void SetDrawNumberCellPixels(Int_t x)
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
GUI editor for TEveCaloLego.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
virtual void SetNumber(Double_t val)
Char_t GetPlaneTransparency() const
void SetPixelsPerBin(Int_t bw)
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
void Set2DMode(E2DMode_e p)
Int_t GetDrawNumberCellPixels()
TGColorSelect * fFontColor
void SetProjection(EProjection_e p)
Composite GUI element for single value selection (supports label, number-entry and slider)...
void SetFontColor(Color_t ci)
TGComboBox * MakeLabeledCombo(const char *name, Int_t off)
Helper function. Creates TGComboBox with fixed size TGLabel.
TGNumberEntryField * GetNumberEntry() const
Color_t GetPlaneColor() const
void DoProjection()
Slot for projection.
TEveGValuator * fPixelsPerBin
TEveCaloLegoEditor(const TEveCaloLegoEditor &)
ClassImp(TEveCaloLegoEditor)
virtual void Update()
Update the current pad when an attribute is changed via GUI.
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 TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
TGColorSelect * fGridColor
void DoGridColor(Pixel_t color)
Slot for GridColor.
void DoFontColor(Pixel_t color)
Slot for FontColor.
TGNumberEntry * fTransparency
virtual Int_t GetSelected() const
virtual void SetModel(TObject *obj)
Set model object.
TGVerticalFrame * fRebinFrame
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...
TGColorSelect * fPlaneColor
void SetShowSlider(Bool_t s=kTRUE)
TGCheckButton * fAutoRebin
void SetNELength(Int_t l)
void DoPlaneColor(Pixel_t color)
Slot for PlaneColor.
Color_t GetFontColor() const
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb"...
void SetGridColor(Color_t ci)
void SetPlaneTransparency(Char_t t)
Visualization of calorimeter data as eta/phi histogram.
static ULong_t Number2Pixel(Int_t ci)
Static method that given a color index number, returns the corresponding pixel value.
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
Bool_t GetAutoRebin() const
virtual void AddEntry(TGString *s, Int_t id)
void DoTransparency()
Slot for Transparency.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
void Do2DMode()
Slot for projection.
void SetBoxMode(EBoxMode_e p)
void DoBoxMode()
Slot for projection.
Mother of all ROOT objects.
virtual void SetHeight(UInt_t h)
void DoCell2DTextMin()
Slot for setting limit in pixels in which cell value is rendered.
void SetPlaneColor(Color_t ci)
void SetLabelWidth(Int_t w)
Color_t GetGridColor() const
TGCheckButton * fNormalizeRebin
virtual Double_t GetNumber() const
void SetAutoRebin(Bool_t s)
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
void DoPixelsPerBin()
Slot for PixelsPerBin.
TEveGValuator * fCell2DTextMin
virtual void MakeTitle(const char *title)
Create attribute frame title.
Int_t GetPixelsPerBin() const
EProjection_e GetProjection() const