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()");
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)
396 fFrameTransparency(0)
include TDocParser_001 C image html pict1_TDocParser_001 png width
R__EXTERN void * gTQSender
virtual Bool_t IsEmpty() const
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.
virtual void SetModel(TObject *obj)
Set model object.
void DoFrameTransparency()
Slot for frame transparency.
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 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
virtual void SetModel(TObject *obj)
Set model object.
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).
TGDoubleHSlider * GetSlider()
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
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 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 Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
virtual TList * GetList() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void SetWidth(UInt_t w)
virtual void MapWindow()
map window
virtual void SetHeight(UInt_t h)
virtual void UnmapWindow()
unmap window
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.
virtual void SetNumber(Double_t val)
TGNumberEntryField * GetNumberEntry() const
virtual Double_t GetNumber() const
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
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.
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()
virtual TObject * At(Int_t idx) const
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.
static constexpr double ns