69 label =
new TGLabel(scf,
"ScaleAbsolute:");
74 fScaleAbs->
Connect(
"Toggled(Bool_t)",
"TEveCaloVizEditor",
this,
"DoScaleAbs()");
83 fMaxValAbs->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoMaxValAbs()");
96 fMaxTowerH->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoMaxTowerH()");
109 TGFont *myfont =
gClient->GetFont(
"-adobe-times-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
110 label =
new TGLabel(labfr,
"Plot:");
116 fPlotE->
Connect(
"Clicked()",
"TEveCaloVizEditor",
this,
"DoPlot()");
120 fPlotEt->
Connect(
"Clicked()",
"TEveCaloVizEditor",
this,
"DoPlot()");
133 fEtaRng->
Connect(
"ValueSet()",
"TEveCaloVizEditor",
this,
"DoEtaRange()");
142 fPhi->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoPhi()");
167 for (
Int_t i=nf; i<ns; ++i)
177 threshold->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoSliceThreshold()");
182 color->
Connect(
"ColorSelected(Pixel_t)",
"TEveCaloVizEditor",
this,
"DoSliceColor(Pixel_t)");
190 transparency->
Connect(
"ValueSet(Long_t)",
"TEveCaloVizEditor",
this,
"DoSliceTransparency(Long_t)");
199 for (
Int_t i=0; i<nf; ++i)
250 if (
p->GetList()->IsEmpty())
396 fFrameTransparency(0)
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
R__EXTERN void * gTQSender
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
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 TEveCalo3D.
void DoFrameTransparency()
Slot for frame transparency.
void SetModel(TObject *obj) override
Set model object.
TGNumberEntry * fFrameTransparency
TEveCalo3DEditor(const TEveCalo3DEditor &)
Visualization of a calorimeter event data in 3D.
void SetFrameTransparency(Char_t x)
Char_t GetFrameTransparency() const
virtual void GetEtaLimits(Double_t &min, Double_t &max) const =0
void SetSliceTransparency(Int_t slice, Char_t t)
Set transparency for given slice.
SliceInfo_t & RefSliceInfo(Int_t s)
Bool_t GetWrapTwoPi() const
virtual void GetPhiLimits(Double_t &min, Double_t &max) const =0
GUI editor for TEveCaloEditor.
void DoMaxValAbs()
Slot for setting max E in for absolute scale.
TEveGValuator * fPhiOffset
void DoPlot()
Slot for setting E/Et plot.
void SetModel(TObject *obj) override
Set model object.
void DoEtaRange()
Slot for setting eta range.
TEveCaloVizEditor(const TEveCaloVizEditor &)
void DoScaleAbs()
Slot for enabling/disabling absolute scale.
TEveGDoubleValuator * fEtaRng
TGCheckButton * fScaleAbs
TGVerticalFrame * fSliceFrame
void DoSliceTransparency(Long_t transp)
Slot for slice transparency.
TEveGValuator * fMaxTowerH
TGVerticalFrame * fDataFrame
void DoMaxTowerH()
Slot for setting max tower height.
void DoSliceColor(Pixel_t color)
Slot for slice info Color.
void DoSliceThreshold()
Slot for SliceThreshold.
void MakeSliceInfo()
Create slice info gui.
TEveGValuator * fMaxValAbs
void DoPhi()
Slot for setting phi range.
Base class for calorimeter data visualization.
void SetDataSliceColor(Int_t slice, Color_t col)
Set slice color in data.
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
Float_t GetMaxTowerH() const
void SetPlotEt(Bool_t x)
Set E/Et plot.
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
TEveCaloData * GetData() const
void SetEta(Float_t l, Float_t u)
Set eta range.
virtual void SetScaleAbs(Bool_t x)
void SetMaxTowerH(Float_t x)
Float_t GetMaxValAbs() const
void SetMaxValAbs(Float_t x)
Bool_t GetScaleAbs() const
Composite GUI element for selection of range (label, two number-entries and double-slider).
void Build(Bool_t connect=kTRUE) override
Create sub-components (label, number entries, double-slider).
TGDoubleHSlider * GetSlider()
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
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.
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.
virtual TList * GetList() const
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
Encapsulate fonts used in the GUI system.
void MapWindow() override
map window
void UnmapWindow() override
unmap window
virtual void SetWidth(UInt_t w)
virtual void SetHeight(UInt_t h)
A composite frame that layout their children in horizontal way.
TGHotString is a string with a "hot" character underlined.
This class handles GUI labels.
virtual void SetText(TGString *newText)
Set new text in label.
virtual void SetTextFont(TGFont *font, Bool_t global=kFALSE)
Changes text font specified by pointer to TGFont object.
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.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
virtual TGCompositeFrame * GetEditorTab(const char *name)
Find or create tab with name.
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.
TGedEditor * GetGedEditor()
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
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.