Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4WindowEditSlots Class Reference

#include <TGo4WindowEditSlots.h>

Inheritance diagram for TGo4WindowEditSlots:

TGo4SlotsBaseClass List of all members.

Public Methods

 TGo4WindowEditSlots (const char *name, const char *title, TGo4WindowEdit *p=0)
virtual ~TGo4WindowEditSlots ()
void StatusChanged (TGo4Status *status)
void AddObject (TNamed *)
TGo4Status * GetStatus ()
void SetGUI (TGo4WindowEdit *GUI)
void SendUpdateCommand (const Text_t *newname=0)
void SendRefreshCommand (const Text_t *newname=0)
void CreateNewCondition (const Text_t *name, const Text_t *classname, Int_t num=1, Int_t dim=1)
 Create new condition name of class classname and put it into current editor (central mode only). More...

void SetWorkingPad ()
 Set currently active pad as working pad for window display. More...

void SetHistogram ()
 Set currently active histogram. More...

void SetViewPanel (TGo4PreviewPanel *view)
 framework calls this method whenever view focus changes. More...

void Click (TGo4PreviewPanel *view, TPad *pad)
 framework calls this method whenever mouse clicks on pad. More...

void RemoveViewPanel (TGo4PreviewPanel *view)
 framework calls this method when view was deleted. More...

void AssignWorkViewPanel (TGo4PreviewPanel *view)
 Conditions in the pad options of view will be set as working conditions. More...

void DrawMarkers ()
 Draw all visible information to the working pad. More...

void DrawConditions ()
 Draw conditions to the working pad. More...

void HighlightCondition (Int_t index)
 Highlight the active condition of index. More...

void ClearConditions (Bool_t keeplabels=kFALSE)
 Clear all condition related information from the working pad. More...

void ClearCounters ()
 Reset the counter of the condition under edit. More...

void EnterEvent ()
 Called when mouse event resizes box. More...

Bool_t NeedsUpdate ()
void SetLimits (Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
 Change the limits of the currently edited condition. More...

void SetResultMode (Int_t mode)
 Change the result mode of working condition. More...

void SetInvertMode (Int_t mode)
 Change the result mode of working condition. More...

Bool_t IsVisible ()
 True if currently edited condition is visible. More...

void SetVisible (Bool_t on)
 Change visibility on canvas for currently edited con. More...

Bool_t IsHistogramLink ()
 True if currently edited condition is linked to a histogram. More...

void SetHistogramLink (Bool_t on)
 Link name of current histogram to this condition. More...

const Text_t * GetHistogramName ()
 Delivers name of currently active Histogram. More...

const Text_t * GetLinkedHistogramName ()
 Delivers name of linked histogram. More...

Double_t GetIntegral ()
 Value of currently active Histogram. More...

Double_t GetMean (Int_t axis=1)
 Value of currently active Histogram. More...

Double_t GetRMS (Int_t axis=1)
 Value of currently active Histogram. More...

Double_t GetXMax ()
 Value of currently active Histogram. More...

Double_t GetYMax ()
 Value of currently active Histogram. More...

Double_t GetCMax ()
 Value of currently active Histogram. More...

void SetHideMode (Bool_t on)
void SetLabelDraw (Bool_t on)
void SetLimitsDraw (Bool_t on)
void SetIntDraw (Bool_t on)
void SetXMeanDraw (Bool_t on)
void SetXRMSDraw (Bool_t on)
void SetYMeanDraw (Bool_t on)
void SetYRMSDraw (Bool_t on)
void SetXMaxDraw (Bool_t on)
void SetYMaxDraw (Bool_t on)
void SetCMaxDraw (Bool_t on)
Bool_t IsLabelDraw ()
Bool_t IsLimitsDraw ()
Bool_t IsIntDraw ()
Bool_t IsXMeanDraw ()
Bool_t IsXRMSDraw ()
Bool_t IsYMeanDraw ()
Bool_t IsYRMSDraw ()
Bool_t IsXMaxDraw ()
Bool_t IsYMaxDraw ()
Bool_t IsCMaxDraw ()
void SetMouseMode (Go4MouseMode_t mode)
void SetPickArray (Bool_t on)
void SetPickCounter (UInt_t val)
Bool_t IsHideMode ()
Go4MouseMode_t GetMouseMode ()
Bool_t IsPickArray ()
Int_t GetNumPads ()
void SetNewTCutG (Bool_t editmode, Bool_t cancel=kFALSE)
 Assign newly created cutg on working pad to current polygon condition. More...

TGo4Condition * GetWorkPadCondition (Int_t index=-1)
 access to condition stored in the padoptions of a working pad. More...

void SetWorkPadCondition (TGo4Condition *con)
 Stor condition con into options of current working pad. More...

void SetCurrentPad (Int_t index=0)
 Set pad from the list of workings pads with index as actual working pad. More...

TPad * WorkingPad (Int_t index=-1)
 Delivers working pad indexed in vector of registered pads. More...

TGo4WindowEdit * GetGUI ()

Private Methods

TPad * FindObjectSubpad (TObject *obj, TPad *parent)
 Find the subpad of parent which really contains object obj. More...


Private Attributes

TGo4GUIRegistry * fxTGo4GUIRegistry
 @supplierCardinality 1. More...

TGo4WindowEdit * fxTGo4WindowEdit
TGo4WindowEditStatus * fxTGo4WindowEditStatus
TGo4PreviewPanel * fxView
 reference to active viewpanel of main window. More...

TGo4PreviewPanel * fxWorkView
 reference to currently used viewpanel. More...

vector< TPad * > fxPad
 references to assigned working pads. More...

Int_t fiCurrentPad
 index of currently used working pad. More...

Int_t fiNumPads
 maximum number of working pads at the moment. More...

TH1 * fxHisto
 reference to currently used histogram. More...

Bool_t fbHideAll
 If true, all visible conditions are not shown. More...

Go4MouseMode_t fiMouseMode
 This switches mouse modes: 0: normal (root) mode 1: pick mode for cursor 2: pick mode for condition limits (integration) see Go4MouseModes.h. More...

Bool_t fbPickArray
 Sets condition limits pick mode to record whole array. More...

UInt_t fuPickCounter
 Used to count number of clicks for recording condition limits. More...

Bool_t fbInitDone
 If true, dynamic arrays have been initialized. More...

Bool_t fbNeedsUpdate
 true ifcondition values have been changed since last refresh. More...


Detailed Description

Author:
Mohammad Al-Turany, Joern Adamczewski
Since:
14.07.03

Definition at line 44 of file TGo4WindowEditSlots.h.


Constructor & Destructor Documentation

TGo4WindowEditSlots::TGo4WindowEditSlots (  const char *    name,
const char *    title,
TGo4WindowEdit *    p = 0
) 
 

Definition at line 46 of file TGo4WindowEditSlots.cxx.

References fiNumPads, fxPad, fxTGo4GUIRegistry, fxTGo4WindowEditStatus, TGo4GUIRegistry::GetMainWindow(), TGo4GUIRegistry::Instance(), kMouseROOT, p, TGo4GUIRegistry::RegisterSlotClass(), TGo4MainWindow::RegisterWindowEditSlots(), and TGo4WindowEditStatus::SetSlot().

TGo4WindowEditSlots::~TGo4WindowEditSlots (    )  [virtual]
 

Definition at line 69 of file TGo4WindowEditSlots.cxx.

References fxTGo4GUIRegistry, fxTGo4WindowEditStatus, fxWorkView, TGo4GUIRegistry::GetMainWindow(), kMouseROOT, TGo4PreviewPanelSlots::SetMouseMode(), TGo4MainWindow::UnregisterWindowEditSlots(), and WorkingPad().


Member Function Documentation

void TGo4WindowEditSlots::StatusChanged (  TGo4Status *    status )  [virtual]
 

Reimplemented from TGo4SlotsBaseClass.

Definition at line 654 of file TGo4WindowEditSlots.cxx.

void TGo4WindowEditSlots::AddObject (  TNamed *    )  [virtual]
 

Reimplemented from TGo4SlotsBaseClass.

Definition at line 101 of file TGo4WindowEditSlots.cxx.

References ClearConditions(), DrawMarkers(), TGo4QItem::DrawObj(), fbNeedsUpdate, fxTGo4GUIRegistry, fxTGo4WindowEdit, fxTGo4WindowEditStatus, TGo4BrowserSlots::GetBrowserGUI(), TGo4GUIRegistry::GetCentralWindow(), TGo4QItem::GetDrawCanvas(), TGo4QItem::GetDrawPad(), TGo4QItem::GetDrawPanel(), TGo4Condition::GetLinkedHistogram(), TGo4GUIRegistry::GetMainWindow(), TGo4GUIRegistry::GetSlotClass(), TGo4QItem::IsExisting(), TGo4Condition::IsHistogramLink(), TGo4WindowEditStatus::SetCondition(), SetViewPanel(), SetWorkingPad(), and TGo4MainWindow::ViewPanelSlot().

Referenced by AssignWorkViewPanel(), CreateNewCondition(), TGo4QConItem::ItemDBkLocal(), and SetCurrentPad().

TGo4Status * TGo4WindowEditSlots::GetStatus (    ) 
 

Definition at line 95 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus.

Referenced by TGo4QConItem::ItemDBkRemote().

void TGo4WindowEditSlots::SetGUI (  TGo4WindowEdit *    GUI )  [inline]
 

Definition at line 54 of file TGo4WindowEditSlots.h.

References fxTGo4WindowEdit.

void TGo4WindowEditSlots::SendUpdateCommand (  const Text_t *    newname = 0 ) 
 

Definition at line 172 of file TGo4WindowEditSlots.cxx.

References fbNeedsUpdate, fxTGo4GUIRegistry, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4Condition::IsMultiEdit(), TGo4ComSetCondition::SetCondition(), TGo4Condition::SetMultiEdit(), SetWorkPadCondition(), and TGo4GUIRegistry::SubmitCommand().

Referenced by ClearCounters().

void TGo4WindowEditSlots::SendRefreshCommand (  const Text_t *    newname = 0 ) 
 

Definition at line 196 of file TGo4WindowEditSlots.cxx.

References fxTGo4GUIRegistry, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4Condition::GetLinkedHistogram(), TGo4Condition::IsHistogramLink(), and TGo4GUIRegistry::SubmitCommand().

Referenced by ClearCounters().

void TGo4WindowEditSlots::CreateNewCondition (  const Text_t *    name,
const Text_t *    classname,
Int_t    num = 1,
Int_t    dim = 1
) 
 

Create new condition name of class classname and put it into current editor (central mode only).

If num>1, an condition array of the type is created. Dimension dim specifies window condition dimension

Definition at line 225 of file TGo4WindowEditSlots.cxx.

References AddObject(), b, TGo4Condition::Enable(), i, TGo4Status::kGo4CanDelete, TGo4CondArray::Poly(), TGo4Condition::SetDimension(), TGo4PolyCond::SetValues(), TGo4WinCond::SetValues(), and TGo4CondArray::Win().

void TGo4WindowEditSlots::SetWorkingPad (    ) 
 

Set currently active pad as working pad for window display.

Definition at line 286 of file TGo4WindowEditSlots.cxx.

References ClearConditions(), fiCurrentPad, fiNumPads, fxPad, fxView, fxWorkView, and SetHistogram().

Referenced by AddObject().

void TGo4WindowEditSlots::SetHistogram (    ) 
 

Set currently active histogram.

Definition at line 306 of file TGo4WindowEditSlots.cxx.

References fiCurrentPad, fxHisto, fxPad, fxWorkView, and WorkingPad().

Referenced by RemoveViewPanel(), SetCurrentPad(), SetViewPanel(), and SetWorkingPad().

void TGo4WindowEditSlots::SetViewPanel (  TGo4PreviewPanel *    view ) 
 

framework calls this method whenever view focus changes.

Definition at line 320 of file TGo4WindowEditSlots.cxx.

References fxView, and SetHistogram().

Referenced by TGo4MainWindow::ActivePadChanged(), AddObject(), TGo4MainWindow::RegisterWindowEditSlots(), TGo4MainWindow::WindowActivatedSlot(), and TGo4MainWindow::WorkSpaceNewChild().

void TGo4WindowEditSlots::Click (  TGo4PreviewPanel *    view,
TPad *    pad
) 
 

framework calls this method whenever mouse clicks on pad.

Definition at line 328 of file TGo4WindowEditSlots.cxx.

References DrawConditions(), fiMouseMode, fuPickCounter, fxTGo4WindowEdit, fxTGo4WindowEditStatus, fxWorkView, TGo4WindowEditStatus::GetCurrentIndex(), TGo4WindowEditStatus::GetNumberOfConditions(), TGo4WindowEditStatus::IsArray(), IsPickArray(), kMouseDraw, kMousePickCursor, kMousePickLimits, kMouseROOT, SetLimits(), WorkingPad(), TGo4WindowEditStatus::Xmax(), TGo4WindowEditStatus::Xmin(), TGo4WindowEditStatus::Ymax(), and TGo4WindowEditStatus::Ymin().

Referenced by TGo4MainWindow::MouseClick().

void TGo4WindowEditSlots::RemoveViewPanel (  TGo4PreviewPanel *    view ) 
 

framework calls this method when view was deleted.

We cleanup possible references then!

Definition at line 412 of file TGo4WindowEditSlots.cxx.

References fiCurrentPad, fiNumPads, fxPad, fxTGo4WindowEdit, fxView, fxWorkView, and SetHistogram().

Referenced by TGo4MainWindow::WorkSpaceRemovedChild().

void TGo4WindowEditSlots::AssignWorkViewPanel (  TGo4PreviewPanel *    view ) 
 

Conditions in the pad options of view will be set as working conditions.

Evaluates list of working pads.

Definition at line 1069 of file TGo4WindowEditSlots.cxx.

References AddObject(), ClearConditions(), fiCurrentPad, fiNumPads, fxPad, fxTGo4WindowEditStatus, fxView, fxWorkView, TGo4PadOptions::GetCondition(), and TGo4WindowEditStatus::SetCondition().

void TGo4WindowEditSlots::DrawMarkers (    ) 
 

Draw all visible information to the working pad.

Definition at line 437 of file TGo4WindowEditSlots.cxx.

References DrawConditions().

Referenced by AddObject().

void TGo4WindowEditSlots::DrawConditions (    ) 
 

Draw conditions to the working pad.

Use TGo4Condition::Draw

Definition at line 443 of file TGo4WindowEditSlots.cxx.

References TGo4PolyCond::CleanupSpecials(), TGo4Condition::Draw(), fxHisto, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4WindowEditStatus::IsPolygon(), TGo4Condition::SetWorkHistogram(), and WorkingPad().

Referenced by Click(), DrawMarkers(), and SetNewTCutG().

void TGo4WindowEditSlots::HighlightCondition (  Int_t    index ) 
 

Highlight the active condition of index.

Definition at line 486 of file TGo4WindowEditSlots.cxx.

References WorkingPad().

void TGo4WindowEditSlots::ClearConditions (  Bool_t    keeplabels = kFALSE ) 
 

Clear all condition related information from the working pad.

If keeplabels is true, label boxes are restored.

Definition at line 504 of file TGo4WindowEditSlots.cxx.

References TGo4PolyCond::CleanupSpecials(), fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4WindowEditStatus::IsPolygon(), TGo4Condition::UnDraw(), and WorkingPad().

Referenced by AddObject(), AssignWorkViewPanel(), SetCurrentPad(), and SetWorkingPad().

void TGo4WindowEditSlots::ClearCounters (    ) 
 

Reset the counter of the condition under edit.

Definition at line 550 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4Condition::MarkReset(), TGo4Condition::ResetCounts(), SendRefreshCommand(), and SendUpdateCommand().

void TGo4WindowEditSlots::EnterEvent (    ) 
 

Called when mouse event resizes box.

Definition at line 535 of file TGo4WindowEditSlots.cxx.

References TGo4PolyCond::CleanupSpecials(), fbNeedsUpdate, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4Condition::IsChanged(), TGo4WindowEditStatus::IsPolygon(), and TGo4Condition::SetChanged().

Bool_t TGo4WindowEditSlots::NeedsUpdate (    )  [inline]
 

Definition at line 104 of file TGo4WindowEditSlots.h.

References fbNeedsUpdate.

void TGo4WindowEditSlots::SetLimits (  Double_t    xmin,
Double_t    xmax,
Double_t    ymin,
Double_t    ymax
) 
 

Change the limits of the currently edited condition.

Definition at line 561 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4WindowEditStatus::Is2D(), and TGo4Condition::SetValues().

Referenced by Click().

void TGo4WindowEditSlots::SetResultMode (  Int_t    mode ) 
 

Change the result mode of working condition.

Definition at line 575 of file TGo4WindowEditSlots.cxx.

References TGo4Condition::Disable(), TGo4Condition::Enable(), fxTGo4WindowEditStatus, and TGo4WindowEditStatus::GetCondition().

void TGo4WindowEditSlots::SetInvertMode (  Int_t    mode ) 
 

Change the result mode of working condition.

Definition at line 597 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::Invert().

Bool_t TGo4WindowEditSlots::IsVisible (    ) 
 

True if currently edited condition is visible.

Definition at line 616 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, and TGo4WindowEditStatus::IsVisible().

void TGo4WindowEditSlots::SetVisible (  Bool_t    on ) 
 

Change visibility on canvas for currently edited con.

Definition at line 622 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetVisible().

Bool_t TGo4WindowEditSlots::IsHistogramLink (    ) 
 

True if currently edited condition is linked to a histogram.

Definition at line 629 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsHistogramLink().

void TGo4WindowEditSlots::SetHistogramLink (  Bool_t    on ) 
 

Link name of current histogram to this condition.

Definition at line 640 of file TGo4WindowEditSlots.cxx.

References fxHisto, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), TGo4Condition::SetHistogram(), and TGo4Condition::SetHistogramLink().

const Text_t * TGo4WindowEditSlots::GetHistogramName (    ) 
 

Delivers name of currently active Histogram.

Definition at line 661 of file TGo4WindowEditSlots.cxx.

References fxHisto.

Referenced by TGo4WindowEditStatus::Print().

const Text_t * TGo4WindowEditSlots::GetLinkedHistogramName (    ) 
 

Delivers name of linked histogram.

Definition at line 669 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::GetLinkedHistogram().

Double_t TGo4WindowEditSlots::GetIntegral (    ) 
 

Value of currently active Histogram.

Definition at line 679 of file TGo4WindowEditSlots.cxx.

References fxHisto, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::GetIntegral().

Referenced by TGo4WindowEditStatus::Print().

Double_t TGo4WindowEditSlots::GetMean (  Int_t    axis = 1 ) 
 

Value of currently active Histogram.

Definition at line 690 of file TGo4WindowEditSlots.cxx.

References fxHisto, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::GetMean().

Referenced by TGo4WindowEditStatus::Print().

Double_t TGo4WindowEditSlots::GetRMS (  Int_t    axis = 1 ) 
 

Value of currently active Histogram.

Definition at line 701 of file TGo4WindowEditSlots.cxx.

References fxHisto, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::GetRMS().

Referenced by TGo4WindowEditStatus::Print().

Double_t TGo4WindowEditSlots::GetXMax (    ) 
 

Value of currently active Histogram.

Definition at line 712 of file TGo4WindowEditSlots.cxx.

References fxHisto, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::GetXMax().

Referenced by TGo4WindowEditStatus::Print().

Double_t TGo4WindowEditSlots::GetYMax (    ) 
 

Value of currently active Histogram.

Definition at line 723 of file TGo4WindowEditSlots.cxx.

References fxHisto, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::GetYMax().

Referenced by TGo4WindowEditStatus::Print().

Double_t TGo4WindowEditSlots::GetCMax (    ) 
 

Value of currently active Histogram.

Definition at line 734 of file TGo4WindowEditSlots.cxx.

References fxHisto, fxTGo4WindowEditStatus, TGo4Condition::GetCMax(), and TGo4WindowEditStatus::GetCondition().

Referenced by TGo4WindowEditStatus::Print().

void TGo4WindowEditSlots::SetHideMode (  Bool_t    on )  [inline]
 

Definition at line 150 of file TGo4WindowEditSlots.h.

References fbHideAll.

void TGo4WindowEditSlots::SetLabelDraw (  Bool_t    on ) 
 

Definition at line 745 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetLabelDraw().

void TGo4WindowEditSlots::SetLimitsDraw (  Bool_t    on ) 
 

Definition at line 752 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetLimitsDraw().

void TGo4WindowEditSlots::SetIntDraw (  Bool_t    on ) 
 

Definition at line 760 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetIntDraw().

void TGo4WindowEditSlots::SetXMeanDraw (  Bool_t    on ) 
 

Definition at line 766 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetXMeanDraw().

void TGo4WindowEditSlots::SetXRMSDraw (  Bool_t    on ) 
 

Definition at line 772 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetXRMSDraw().

void TGo4WindowEditSlots::SetYMeanDraw (  Bool_t    on ) 
 

Definition at line 778 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetYMeanDraw().

void TGo4WindowEditSlots::SetYRMSDraw (  Bool_t    on ) 
 

Definition at line 784 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetYRMSDraw().

void TGo4WindowEditSlots::SetXMaxDraw (  Bool_t    on ) 
 

Definition at line 790 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetXMaxDraw().

void TGo4WindowEditSlots::SetYMaxDraw (  Bool_t    on ) 
 

Definition at line 796 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetYMaxDraw().

void TGo4WindowEditSlots::SetCMaxDraw (  Bool_t    on ) 
 

Definition at line 802 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::SetCMaxDraw().

Bool_t TGo4WindowEditSlots::IsLabelDraw (    ) 
 

Definition at line 808 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsLabelDraw().

Bool_t TGo4WindowEditSlots::IsLimitsDraw (    ) 
 

Definition at line 816 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsLimitsDraw().

Bool_t TGo4WindowEditSlots::IsIntDraw (    ) 
 

Definition at line 824 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsIntDraw().

Bool_t TGo4WindowEditSlots::IsXMeanDraw (    ) 
 

Definition at line 832 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsXMeanDraw().

Bool_t TGo4WindowEditSlots::IsXRMSDraw (    ) 
 

Definition at line 840 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsXRMSDraw().

Bool_t TGo4WindowEditSlots::IsYMeanDraw (    ) 
 

Definition at line 848 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsYMeanDraw().

Bool_t TGo4WindowEditSlots::IsYRMSDraw (    ) 
 

Definition at line 856 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsYRMSDraw().

Bool_t TGo4WindowEditSlots::IsXMaxDraw (    ) 
 

Definition at line 864 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsXMaxDraw().

Bool_t TGo4WindowEditSlots::IsYMaxDraw (    ) 
 

Definition at line 872 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsYMaxDraw().

Bool_t TGo4WindowEditSlots::IsCMaxDraw (    ) 
 

Definition at line 880 of file TGo4WindowEditSlots.cxx.

References fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), and TGo4Condition::IsCMaxDraw().

void TGo4WindowEditSlots::SetMouseMode (  Go4MouseMode_t    mode )  [inline]
 

Definition at line 171 of file TGo4WindowEditSlots.h.

References fiMouseMode, and Go4MouseMode_t.

void TGo4WindowEditSlots::SetPickArray (  Bool_t    on )  [inline]
 

Definition at line 172 of file TGo4WindowEditSlots.h.

References fbPickArray.

void TGo4WindowEditSlots::SetPickCounter (  UInt_t    val )  [inline]
 

Definition at line 173 of file TGo4WindowEditSlots.h.

References fuPickCounter.

Bool_t TGo4WindowEditSlots::IsHideMode (    )  [inline]
 

Definition at line 174 of file TGo4WindowEditSlots.h.

References fbHideAll.

Go4MouseMode_t TGo4WindowEditSlots::GetMouseMode (    )  [inline]
 

Definition at line 175 of file TGo4WindowEditSlots.h.

References fiMouseMode, and Go4MouseMode_t.

Bool_t TGo4WindowEditSlots::IsPickArray (    )  [inline]
 

Definition at line 176 of file TGo4WindowEditSlots.h.

References fbPickArray.

Referenced by Click().

Int_t TGo4WindowEditSlots::GetNumPads (    )  [inline]
 

Definition at line 177 of file TGo4WindowEditSlots.h.

References fiNumPads.

void TGo4WindowEditSlots::SetNewTCutG (  Bool_t    editmode,
Bool_t    cancel = kFALSE
) 
 

Assign newly created cutg on working pad to current polygon condition.

If editmode true, start root cutg editor. otherwise assign first cut on current pad If cancel true, discard any new cut on current pad

Definition at line 889 of file TGo4WindowEditSlots.cxx.

References TGo4Condition::Draw(), DrawConditions(), fxTGo4WindowEditStatus, fxWorkView, TGo4Condition::GetActiveCondition(), TGo4WindowEditStatus::GetCondition(), TGo4WindowEditStatus::IsPolygon(), kMouseConditionEditor, kMouseROOT, TGo4PreviewPanelSlots::SetMouseMode(), TGo4PolyCond::SetValues(), TGo4Condition::UnDraw(), and WorkingPad().

TGo4Condition * TGo4WindowEditSlots::GetWorkPadCondition (  Int_t    index = -1 ) 
 

access to condition stored in the padoptions of a working pad.

The pad is taken by index from vector of registered working pads. Negative index(default) will deliver condition in the current working pad.

Definition at line 993 of file TGo4WindowEditSlots.cxx.

References fxWorkView, TGo4PadOptions::GetCondition(), and WorkingPad().

Referenced by SetCurrentPad().

void TGo4WindowEditSlots::SetWorkPadCondition (  TGo4Condition *    con ) 
 

Stor condition con into options of current working pad.

Definition at line 1005 of file TGo4WindowEditSlots.cxx.

References fxWorkView, TGo4PadOptions::SetCondition(), and WorkingPad().

Referenced by SendUpdateCommand(), and SetCurrentPad().

void TGo4WindowEditSlots::SetCurrentPad (  Int_t    index = 0 ) 
 

Set pad from the list of workings pads with index as actual working pad.

Definition at line 1017 of file TGo4WindowEditSlots.cxx.

References AddObject(), ClearConditions(), fiCurrentPad, fiNumPads, fxTGo4WindowEditStatus, TGo4WindowEditStatus::GetCondition(), GetWorkPadCondition(), SetHistogram(), and SetWorkPadCondition().

TPad * TGo4WindowEditSlots::WorkingPad (  Int_t    index = -1 ) 
 

Delivers working pad indexed in vector of registered pads.

Checks limits of workingpad array. Negative index (default) will deliver current working pad

Definition at line 1040 of file TGo4WindowEditSlots.cxx.

References fiCurrentPad, fiNumPads, fxPad, and fxWorkView.

Referenced by ClearConditions(), Click(), DrawConditions(), GetWorkPadCondition(), HighlightCondition(), SetHistogram(), SetNewTCutG(), SetWorkPadCondition(), and ~TGo4WindowEditSlots().

TGo4WindowEdit* TGo4WindowEditSlots::GetGUI (    )  [inline]
 

Definition at line 199 of file TGo4WindowEditSlots.h.

References fxTGo4WindowEdit.

Referenced by TGo4MainWindow::~TGo4MainWindow().

TPad * TGo4WindowEditSlots::FindObjectSubpad (  TObject *    obj,
TPad *    parent
)  [private]
 

Find the subpad of parent which really contains object obj.

used to locate the draw panel in a picture

Definition at line 962 of file TGo4WindowEditSlots.cxx.


Member Data Documentation

TGo4GUIRegistry* TGo4WindowEditSlots::fxTGo4GUIRegistry [private]
 

@supplierCardinality 1.

Definition at line 203 of file TGo4WindowEditSlots.h.

Referenced by AddObject(), SendRefreshCommand(), SendUpdateCommand(), TGo4WindowEditSlots(), and ~TGo4WindowEditSlots().

TGo4WindowEdit* TGo4WindowEditSlots::fxTGo4WindowEdit [private]
 

Definition at line 204 of file TGo4WindowEditSlots.h.

Referenced by AddObject(), Click(), GetGUI(), RemoveViewPanel(), and SetGUI().

TGo4WindowEditStatus* TGo4WindowEditSlots::fxTGo4WindowEditStatus [private]
 

Definition at line 205 of file TGo4WindowEditSlots.h.

Referenced by AddObject(), AssignWorkViewPanel(), ClearConditions(), ClearCounters(), Click(), DrawConditions(), EnterEvent(), GetCMax(), GetIntegral(), GetLinkedHistogramName(), GetMean(), GetRMS(), GetStatus(), GetXMax(), GetYMax(), IsCMaxDraw(), IsHistogramLink(), IsIntDraw(), IsLabelDraw(), IsLimitsDraw(), IsVisible(), IsXMaxDraw(), IsXMeanDraw(), IsXRMSDraw(), IsYMaxDraw(), IsYMeanDraw(), IsYRMSDraw(), SendRefreshCommand(), SendUpdateCommand(), SetCMaxDraw(), SetCurrentPad(), SetHistogramLink(), SetIntDraw(), SetInvertMode(), SetLabelDraw(), SetLimits(), SetLimitsDraw(), SetNewTCutG(), SetResultMode(), SetVisible(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), TGo4WindowEditSlots(), and ~TGo4WindowEditSlots().

TGo4PreviewPanel* TGo4WindowEditSlots::fxView [private]
 

reference to active viewpanel of main window.

Definition at line 208 of file TGo4WindowEditSlots.h.

Referenced by AssignWorkViewPanel(), RemoveViewPanel(), SetViewPanel(), and SetWorkingPad().

TGo4PreviewPanel* TGo4WindowEditSlots::fxWorkView [private]
 

reference to currently used viewpanel.

Definition at line 211 of file TGo4WindowEditSlots.h.

Referenced by AssignWorkViewPanel(), Click(), GetWorkPadCondition(), RemoveViewPanel(), SetHistogram(), SetNewTCutG(), SetWorkingPad(), SetWorkPadCondition(), WorkingPad(), and ~TGo4WindowEditSlots().

vector<TPad*> TGo4WindowEditSlots::fxPad [private]
 

references to assigned working pads.

Multiple pads support for pictures.

Definition at line 214 of file TGo4WindowEditSlots.h.

Referenced by AssignWorkViewPanel(), RemoveViewPanel(), SetHistogram(), SetWorkingPad(), TGo4WindowEditSlots(), and WorkingPad().

Int_t TGo4WindowEditSlots::fiCurrentPad [private]
 

index of currently used working pad.

Definition at line 217 of file TGo4WindowEditSlots.h.

Referenced by AssignWorkViewPanel(), RemoveViewPanel(), SetCurrentPad(), SetHistogram(), SetWorkingPad(), and WorkingPad().

Int_t TGo4WindowEditSlots::fiNumPads [private]
 

maximum number of working pads at the moment.

Definition at line 220 of file TGo4WindowEditSlots.h.

Referenced by AssignWorkViewPanel(), GetNumPads(), RemoveViewPanel(), SetCurrentPad(), SetWorkingPad(), TGo4WindowEditSlots(), and WorkingPad().

TH1* TGo4WindowEditSlots::fxHisto [private]
 

reference to currently used histogram.

Definition at line 223 of file TGo4WindowEditSlots.h.

Referenced by DrawConditions(), GetCMax(), GetHistogramName(), GetIntegral(), GetMean(), GetRMS(), GetXMax(), GetYMax(), SetHistogram(), and SetHistogramLink().

Bool_t TGo4WindowEditSlots::fbHideAll [private]
 

If true, all visible conditions are not shown.

Definition at line 226 of file TGo4WindowEditSlots.h.

Referenced by IsHideMode(), and SetHideMode().

Go4MouseMode_t TGo4WindowEditSlots::fiMouseMode [private]
 

This switches mouse modes: 0: normal (root) mode 1: pick mode for cursor 2: pick mode for condition limits (integration) see Go4MouseModes.h.

Definition at line 233 of file TGo4WindowEditSlots.h.

Referenced by Click(), GetMouseMode(), and SetMouseMode().

Bool_t TGo4WindowEditSlots::fbPickArray [private]
 

Sets condition limits pick mode to record whole array.

Definition at line 236 of file TGo4WindowEditSlots.h.

Referenced by IsPickArray(), and SetPickArray().

UInt_t TGo4WindowEditSlots::fuPickCounter [private]
 

Used to count number of clicks for recording condition limits.

Definition at line 239 of file TGo4WindowEditSlots.h.

Referenced by Click(), and SetPickCounter().

Bool_t TGo4WindowEditSlots::fbInitDone [private]
 

If true, dynamic arrays have been initialized.

Definition at line 242 of file TGo4WindowEditSlots.h.

Bool_t TGo4WindowEditSlots::fbNeedsUpdate [private]
 

true ifcondition values have been changed since last refresh.

Definition at line 245 of file TGo4WindowEditSlots.h.

Referenced by AddObject(), EnterEvent(), NeedsUpdate(), and SendUpdateCommand().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:57:01 2005 for Go4-v2.10-5 by doxygen1.2.15