70 label =
new TGLabel(scf,
"ScaleAbsolute:");
75 fScaleAbs->
Connect(
"Toggled(Bool_t)",
"TEveCaloVizEditor",
this,
"DoScaleAbs()");
84 fMaxValAbs->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoMaxValAbs()");
97 fMaxTowerH->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoMaxTowerH()");
110 TGFont *myfont =
gClient->GetFont(
"-adobe-times-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
111 label =
new TGLabel(labfr,
"Plot:");
117 fPlotE->
Connect(
"Clicked()",
"TEveCaloVizEditor",
this,
"DoPlot()");
121 fPlotEt->
Connect(
"Clicked()",
"TEveCaloVizEditor",
this,
"DoPlot()");
134 fEtaRng->
Connect(
"ValueSet()",
"TEveCaloVizEditor",
this,
"DoEtaRange()");
143 fPhi->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoPhi()");
178 threshold->
Connect(
"ValueSet(Double_t)",
"TEveCaloVizEditor",
this,
"DoSliceThreshold()");
183 color->
Connect(
"ColorSelected(Pixel_t)",
"TEveCaloVizEditor",
this,
"DoSliceColor(Pixel_t)");
191 transparency->
Connect(
"ValueSet(Long_t)",
"TEveCaloVizEditor",
this,
"DoSliceTransparency(Long_t)");
200 for (
Int_t i=0; i<nf; ++i)
TGVerticalFrame * fSliceFrame
TEveCaloData * GetData() const
Float_t GetMaxTowerH() const
virtual TGCompositeFrame * GetEditorTab(const char *name)
Find or create tab with name.
void DoScaleAbs()
Slot for enabling/disabling absolute scale.
void SetEta(Float_t l, Float_t u)
Set eta range.
void DoSliceColor(Pixel_t color)
Slot for slice info Color.
SliceInfo_t & RefSliceInfo(Int_t s)
Bool_t GetWrapTwoPi() const
void SetPlotEt(Bool_t x)
Set E/Et plot.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
Float_t GetMaxValAbs() const
void SetMaxTowerH(Float_t x)
R__EXTERN void * gTQSender
void SetDataSliceColor(Int_t slice, Color_t col)
Set slice color in data.
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
Char_t GetFrameTransparency() const
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
virtual void SetNumber(Double_t val)
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
void DoSliceThreshold()
Slot for SliceThreshold.
virtual void SetModel(TObject *obj)
Set model object.
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
virtual void SetTextFont(TGFont *font, Bool_t global=kFALSE)
Changes text font specified by pointer to TGFont object.
void SetFrameTransparency(Char_t x)
TGDoubleHSlider * GetSlider()
Composite GUI element for single value selection (supports label, number-entry and slider)...
TEveCaloVizEditor(const TEveCaloVizEditor &)
void DoFrameTransparency()
Slot for frame transparency.
TGVerticalFrame * fDataFrame
GUI editor for TEveCalo3D.
TEveCalo3DEditor(const TEveCalo3DEditor &)
virtual void SetText(TGString *newText)
Set new text in label.
TGNumberEntry * fFrameTransparency
virtual void Update()
Update the current pad when an attribute is changed via GUI.
TEveGValuator * fMaxValAbs
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
virtual void SetScaleAbs(Bool_t x)
virtual TList * GetList() const
TEveGValuator * fMaxTowerH
virtual void GetPhiLimits(Double_t &min, Double_t &max) const =0
void DoEtaRange()
Slot for setting eta range.
TGNumberEntry * fFrameTransparency
Bool_t GetScaleAbs() const
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
TGCheckButton * fScaleAbs
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...
void SetShowSlider(Bool_t s=kTRUE)
void SetNELength(Int_t l)
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 TEveCaloEditor.
TGedEditor * GetGedEditor()
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
void DoPlot()
Slot for setting E/Et plot.
void DoMaxTowerH()
Slot for setting max tower height.
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
static ULong_t Number2Pixel(Int_t ci)
Static method that given a color index number, returns the corresponding pixel value.
virtual void SetWidth(UInt_t w)
virtual Bool_t IsEmpty() const
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
virtual Double_t GetNumber() const
void SetSliceTransparency(Int_t slice, Char_t t)
Set transparency for given slice.
virtual void SetModel(TObject *obj)
Set model object.
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Base class for calorimeter data visualization.
void DoSliceTransparency(Long_t transp)
Slot for slice transparency.
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.
Mother of all ROOT objects.
virtual void GetEtaLimits(Double_t &min, Double_t &max) const =0
virtual void UnmapWindow()
virtual void SetHeight(UInt_t h)
TGNumberEntryField * GetNumberEntry() const
void SetLabelWidth(Int_t w)
Composite GUI element for selection of range (label, two number-entries and double-slider).
TEveGValuator * fPhiOffset
Visualization of a calorimeter event data in 3D.
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
TEveGDoubleValuator * fEtaRng
virtual Int_t GetSize() const
void SetMaxValAbs(Float_t x)
virtual void MakeTitle(const char *title)
Create attribute frame title.
static constexpr double ns
void DoPhi()
Slot for setting phi range.
void DoMaxValAbs()
Slot for setting max E in for absolute scale.
void MakeSliceInfo()
Create slice info gui.