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()");
168 for (
Int_t i=nf; i<ns; ++i)
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)
397 fFrameTransparency(0)
TGVerticalFrame * fSliceFrame
virtual TGCompositeFrame * GetEditorTab(const char *name)
Find or create tab with name.
void DoScaleAbs()
Slot for enabling/disabling absolute scale.
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
void SetEta(Float_t l, Float_t u)
Set eta range.
Bool_t GetScaleAbs() const
void DoSliceColor(Pixel_t color)
Slot for slice info Color.
SliceInfo_t & RefSliceInfo(Int_t s)
ClassImp(TEveCaloVizEditor)
void SetPlotEt(Bool_t x)
Set E/Et plot.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
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.
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.
virtual TList * GetList() const
Bool_t GetWrapTwoPi() const
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)
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
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.
TGNumberEntryField * GetNumberEntry() const
TEveCalo3DEditor(const TEveCalo3DEditor &)
virtual void SetText(TGString *newText)
Set new text in label.
virtual Bool_t IsEmpty() const
Float_t GetMaxValAbs() const
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'.
if(pyself &&pyself!=Py_None)
virtual void SetScaleAbs(Bool_t x)
TEveGValuator * fMaxTowerH
virtual void GetPhiLimits(Double_t &min, Double_t &max) const =0
void DoEtaRange()
Slot for setting eta range.
TGNumberEntry * fFrameTransparency
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...
Char_t GetFrameTransparency() const
TEveCaloData * GetData() const
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()
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 Int_t GetSize() 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).
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.
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.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
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)
void SetLabelWidth(Int_t w)
ClassImp(TSlaveInfo) Int_t TSlaveInfo const TSlaveInfo * si
Used to sort slaveinfos by ordinal.
virtual Double_t GetNumber() const
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
void SetMaxValAbs(Float_t x)
Float_t GetMaxTowerH() const
virtual void MakeTitle(const char *title)
Create attribute frame title.
void DoPhi()
Slot for setting phi range.
void DoMaxValAbs()
Slot for setting max E in for absolute scale.
void MakeSliceInfo()
Create slice info gui.