Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4Condition Class Reference

#include <TGo4Condition.h>

Inheritance diagram for TGo4Condition:

TGo4CondArray TGo4CounterCond TGo4PolyCond TGo4WinCond List of all members.

Public Member Functions

 TGo4Condition ()
 TGo4Condition (const char *name, const char *title="Go4 Condition")
virtual ~TGo4Condition ()
virtual void Paint (Option_t *opt="")
 Display condition with plain root canvas and in go4 viewpanel.
virtual void Draw (Option_t *opt="")
 Draw this condition on current pad.
virtual void UnDraw (Option_t *opt="")
 Erase view of this condition from the pad.
virtual void Pop ()
 Re-implement TObject method to pop all our views to front.
virtual TGo4ConditionPainterCreatePainter ()
 Factory method to generate the subclass implentation for painter.
virtual Int_t Counts ()
 Return number of calls of the Test method.
virtual Int_t TrueCounts ()
 Return number of true results of the Test method call.
virtual void ResetCounts ()
 Clear counters.
virtual void SetCounts (Int_t truecounts, Int_t counts)
 Set counters.
virtual void Disable (Bool_t result)
 Freeze condition, on Test() return result.
virtual void Enable ()
 Enable (unfreeze) Test execution.
Bool_t IsEnabled () const
 Returns true if condition is enabled.
virtual Bool_t Test ()
 Test if condition is true.
virtual Bool_t Test (Double_t x, Double_t y)
virtual Bool_t Test (Double_t x)
virtual Bool_t Test (Bool_t result)
virtual void SetValues ()
 Set values needed, i.e.
virtual void SetValues (Double_t low1, Double_t up1)
virtual void SetValues (Double_t low1, Double_t up1, Double_t low2, Double_t up2)
virtual void SetValues (TCutG *newcut)
virtual void SetValues (Double_t *x, Double_t *y, Int_t len)
virtual void AddCondition (TGo4Condition *next)
 Add another condition to this one.
void IncCounts ()
 Increment the test counter.
void IncTrueCounts ()
 Increment the "test was true" counter.
Bool_t IsTrue () const
 Use this as return, if test was true.
Bool_t IsFalse () const
 Use this as return, if test was false.
Bool_t FixedResult () const
 Returns the value set by Disable(value).
virtual void Invert (Bool_t on)
 Inverts return values, when on is true, i.e.
virtual void PrintCondition (Bool_t full=kTRUE)
 Prints counters and boolean members.
virtual void PrintBar ()
 Prints counters and bar.
virtual void Print (Option_t *opt="") const
 Default printout for root object lists.
void SetLast (Bool_t value)
 Can be used in Test to store the result.
Bool_t GetLast ()
 Returns result of last Test.
virtual Bool_t UpdateFrom (TGo4Condition *cond, Bool_t counts)
 Copy values from cond to this.
virtual void GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2)
virtual Double_t GetXLow ()
virtual Double_t GetXUp ()
virtual Double_t GetYLow ()
virtual Double_t GetYUp ()
virtual TCutG * GetCut (Bool_t owner)
virtual Double_t GetIntegral (TH1 *histo, Option_t *opt="")
 Calculate value for histogram inside condition limits.
virtual Double_t GetMean (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits.
virtual Double_t GetRMS (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits.
virtual Double_t GetXMax (TH1 *histo)
 Calculate value for histogram inside condition limits.
virtual Double_t GetYMax (TH1 *histo)
 Calculate value for histogram inside condition limits.
virtual Double_t GetCMax (TH1 *histo)
 Calculate value for histogram inside condition limits.
virtual TGo4ConditionGetActiveCondition ()
 To be overwritten for condition array.
virtual void MarkReset (Bool_t on)
 defines if condition counters shall be reset in UpdateFrom method
virtual void Clear (Option_t *opt="")
virtual void SetFlags (Bool_t enabled, Bool_t lastresult, Bool_t markreset, Bool_t result, Bool_t truevalue, Bool_t falsevalue)
 Sets values of external boolean flags to internal variables.
virtual void GetFlags (Bool_t *enabled, Bool_t *lastresult, Bool_t *markreset, Bool_t *result, Bool_t *truevalue, Bool_t *falsevalue)
 Sets values of internal boolean flags to external variables.
virtual void SetVisible (Bool_t on)
 Set/Unset visibility.
virtual Bool_t IsVisible ()
 Visibility property for gui display in editor.
void SetHistogramLink (Bool_t on)
 Define if this condition has association with an analysis histogram.
Bool_t IsHistogramLink ()
 True if the histogram of given name is linked to this.
void SetHistogram (const char *name)
 Define the name of the associated histogram.
const char * GetLinkedHistogram ()
 Access name of the associated histogram.
void SetWorkHistogram (TH1 *histo)
 Set reference to work histogram for statistics functions.
TH1 * GetWorkHistogram ()
 access work histogram reference
virtual void SetPainter (TGo4ConditionPainter *painter)
 Replace default painter of this condition by external one.
void SetUpdateEpsilon (Double_t val)
 Configure graphical update tolerance for this condition individually.
Double_t GetUpdateEpsilon ()
void SaveLabelStyle ()
 This will save draw flags into static default setup.
void InitLabelStyle ()
 Initialize label setup from static default variables.
void ResetLabel (Option_t *opt="reset")
 Will reset label position to defaults with other option than reset, just pop label to front.
virtual void SetLabelDraw (Bool_t on)
virtual Bool_t IsLabelDraw ()
virtual void SetLimitsDraw (Bool_t on)
virtual Bool_t IsLimitsDraw ()
virtual void SetIntDraw (Bool_t on)
virtual Bool_t IsIntDraw ()
virtual void SetXMeanDraw (Bool_t on)
virtual Bool_t IsXMeanDraw ()
virtual void SetXRMSDraw (Bool_t on)
virtual Bool_t IsXRMSDraw ()
virtual void SetYMeanDraw (Bool_t on)
virtual Bool_t IsYMeanDraw ()
virtual void SetYRMSDraw (Bool_t on)
virtual Bool_t IsYRMSDraw ()
virtual void SetXMaxDraw (Bool_t on)
virtual Bool_t IsXMaxDraw ()
virtual void SetYMaxDraw (Bool_t on)
virtual Bool_t IsYMaxDraw ()
virtual void SetCMaxDraw (Bool_t on)
virtual Bool_t IsCMaxDraw ()
virtual void SetChanged (Bool_t on)
virtual Int_t IsChanged ()
void SetMultiEdit (Bool_t on)
virtual Bool_t IsMultiEdit ()
void SetDimension (Int_t d)
Int_t GetDimension ()
void SetOwnedByEditor (Bool_t on)
Bool_t IsOwnedByEditor ()
virtual void SetCurrentIndex (Int_t ix)
 set index for array type subclasses
virtual Int_t GetCurrentIndex ()
 get index for array type subclasses
virtual Int_t GetNumberOfConditions ()
 for condition aggregates: return total number of conditions, i.e.size of condition array
virtual Int_t GetMemorySize ()
virtual Bool_t IsPolygonType ()
virtual Bool_t IsArrayType ()
void DeletePainter ()

Static Public Attributes

static const Double_t fgdUPDATEEPSILON = 0.01
 default value for graphical update tolerance.
static Bool_t fgbLABELDRAW = kTRUE
 default setting for all conditions for label draw on/off flag.
static Bool_t fgbLIMITSDRAW = kTRUE
 default setting for all conditions for label draw limits flag.
static Bool_t fgbINTDRAW = kTRUE
 default setting for all conditions for label draw integral flag.
static Bool_t fgbXMEANDRAW = kTRUE
 default setting for all conditions for label draw xmean flag.
static Bool_t fgbXRMSDRAW = kTRUE
 default setting for all conditions for label draw xrms flag.
static Bool_t fgbYMEANDRAW = kFALSE
 default setting for all conditions for label draw ymean flag.
static Bool_t fgbYRMSDRAW = kFALSE
 default setting for all conditions for label draw yrms flag.
static Bool_t fgbXMAXDRAW = kTRUE
 default setting for all conditions for label draw xmax flag.
static Bool_t fgbYMAXDRAW = kFALSE
 default setting for all conditions for label draw ymax flag.
static Bool_t fgbCMAXDRAW = kTRUE
 default setting for all conditions for label draw cmax flag.

Protected Member Functions

void SetPainted (Bool_t on)
Bool_t IsPainted () const

Protected Attributes

TGo4ConditionPainterfxPainter
 Painter instance to display the condition in root pad.
TH1 * fxCutHis
 temporary histogram used to calculate statistics on polygon cuts.

Private Attributes

Int_t fiDim
 Dimension (1 or 2).
Bool_t fbMarkReset
Bool_t fbLastResult
 This can be used to store the last result by SetLast(bool).
Bool_t fbTrue
 These are inverted by Invert(true), and restored by Invert(false).
Bool_t fbFalse
 These are inverted by Invert(true), and restored by Invert(false).
Int_t fiTrueCounts
 Counts the number of calls of the Test method with true result.
Int_t fiCounts
 Counts the number of calls of the Test method.
Bool_t fbEnabled
 Flag to enable/disable this condition.
Bool_t fbResult
 If fbEnabled is false, return this as result.
Bool_t fbMultiEdit
 Flag to indicate that properties of all conditions in array are edited/used.
Bool_t fbVisible
 Property to store visibility of condition on display.
Bool_t fbHistogramLink
 is true if this condition has link to a histogram name
TString fxHistoName
 contains associatied histogram name
Double_t fdUpdateEpsilon
 Precision for the check if graphical representation change requires update.
Bool_t fbLabelDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbLimitsDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbIntDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbXMeanDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbXRMSDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbYMeanDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbYRMSDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbXMaxDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbYMaxDraw
 If true, draw corresponding value as label on working pad.
Bool_t fbCMaxDraw
 If true, draw corresponding value as label on working pad.
TH1 * fxHisto
 Reference to currently used histogram (for statistics boxes).
Int_t fiIsChanged
 Counter indicate how many times condition was changed from graphical view.
Bool_t fbIsPainted
 Flag to prevent Paint() method to redraw condition views after UnDraw.
Bool_t fbOwnedByEditor
 Flag to suppress interactive deletion of condition.
Bool_t fbStreamedCondition
 This allows to treat conditions streamed into pad.

Friends

class TGo4CondArray

Constructor & Destructor Documentation

TGo4Condition::TGo4Condition  ) 
 

Definition at line 47 of file TGo4Condition.cxx.

References fbEnabled, fbFalse, fbHistogramLink, fbIsPainted, fbMarkReset, fbMultiEdit, fbOwnedByEditor, fbResult, fbStreamedCondition, fbTrue, fbVisible, fdUpdateEpsilon, fgdUPDATEEPSILON, fiCounts, fiDim, fiTrueCounts, InitLabelStyle(), and TRACE.

TGo4Condition::TGo4Condition const char *  name,
const char *  title = "Go4 Condition"
 

Definition at line 76 of file TGo4Condition.cxx.

References fbEnabled, fbFalse, fbHistogramLink, fbIsPainted, fbMarkReset, fbMultiEdit, fbOwnedByEditor, fbResult, fbStreamedCondition, fbTrue, fbVisible, fdUpdateEpsilon, fgdUPDATEEPSILON, fiCounts, fiDim, fiTrueCounts, InitLabelStyle(), and TRACE.

TGo4Condition::~TGo4Condition  )  [virtual]
 

Definition at line 105 of file TGo4Condition.cxx.

References fxCutHis, fxPainter, TRACE, and UnDraw().


Member Function Documentation

void TGo4Condition::Paint Option_t *  opt = ""  )  [virtual]
 

Display condition with plain root canvas and in go4 viewpanel.

Definition at line 565 of file TGo4Condition.cxx.

References CreatePainter(), fbStreamedCondition, fxPainter, IsPainted(), TGo4ConditionPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and SetPainted().

Referenced by TGo4CondArrayPainter::PaintCondition().

void TGo4Condition::Draw Option_t *  opt = ""  )  [virtual]
 

Draw this condition on current pad.

Reimplemented in TGo4CondArray.

Definition at line 583 of file TGo4Condition.cxx.

References IsVisible(), SetPainted(), and UnDraw().

Referenced by TGo4CondArray::Draw(), and TGo4RootBrowserProxy::DrawCondition().

void TGo4Condition::UnDraw Option_t *  opt = ""  )  [virtual]
 

Erase view of this condition from the pad.

Definition at line 595 of file TGo4Condition.cxx.

References CreatePainter(), fxPainter, SetPainted(), TGo4ConditionPainter::UnPaintCondition(), and TGo4LabelPainter::UnPaintLabel().

Referenced by Draw(), TGo4CondArrayPainter::UnPaintCondition(), and ~TGo4Condition().

void TGo4Condition::Pop  )  [virtual]
 

Re-implement TObject method to pop all our views to front.

Definition at line 609 of file TGo4Condition.cxx.

References TGo4LabelPainter::DisplayToFront(), and fxPainter.

TGo4ConditionPainter * TGo4Condition::CreatePainter  )  [virtual]
 

Factory method to generate the subclass implentation for painter.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 614 of file TGo4Condition.cxx.

Referenced by Paint(), and UnDraw().

Int_t TGo4Condition::Counts  )  [virtual]
 

Return number of calls of the Test method.

Reimplemented in TGo4CondArray.

Definition at line 145 of file TGo4Condition.cxx.

References fiCounts, and TRACE.

Referenced by TGo4CondArray::Counts(), Print(), and TGo4CondArray::TrueCounts().

Int_t TGo4Condition::TrueCounts  )  [virtual]
 

Return number of true results of the Test method call.

Reimplemented in TGo4CondArray.

Definition at line 151 of file TGo4Condition.cxx.

References fiTrueCounts, and TRACE.

Referenced by Print().

void TGo4Condition::ResetCounts  )  [virtual]
 

Clear counters.

Reimplemented in TGo4CondArray.

Definition at line 157 of file TGo4Condition.cxx.

References fiCounts, fiTrueCounts, and TRACE.

Referenced by Clear(), TGo4CondArray::ResetCounts(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), TYYYUnpackProc::TYYYUnpackProc(), and UpdateFrom().

void TGo4Condition::SetCounts Int_t  truecounts,
Int_t  counts
[virtual]
 

Set counters.

Definition at line 164 of file TGo4Condition.cxx.

References fiCounts, fiTrueCounts, and TRACE.

void TGo4Condition::Disable Bool_t  result  )  [virtual]
 

Freeze condition, on Test() return result.

This overwrites inverted result, but does not change it

Reimplemented in TGo4CondArray.

Definition at line 429 of file TGo4Condition.cxx.

References fbEnabled, and fbResult.

Referenced by TGo4CondArray::Disable(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

void TGo4Condition::Enable  )  [virtual]
 

Enable (unfreeze) Test execution.

Reimplemented in TGo4CondArray.

Definition at line 435 of file TGo4Condition.cxx.

References fbEnabled.

Referenced by TGo4CondArray::Enable(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

Bool_t TGo4Condition::IsEnabled  )  const [inline]
 

Returns true if condition is enabled.

Definition at line 81 of file TGo4Condition.h.

References fbEnabled.

Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test().

Bool_t TGo4Condition::Test  )  [virtual]
 

Test if condition is true.

Result is returned, the internal counters are set appropriately. Should return fbResult if condition is not enabled. the default is increment test counter and return true.

Definition at line 121 of file TGo4Condition.cxx.

References fiCounts.

Referenced by TGo4CondArray::Test(), and TGo4HistogramEntry::TestConditionNew().

virtual Bool_t TGo4Condition::Test Double_t  x,
Double_t  y
[inline, virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 87 of file TGo4Condition.h.

virtual Bool_t TGo4Condition::Test Double_t  x  )  [inline, virtual]
 

Reimplemented in TGo4CondArray, and TGo4WinCond.

Definition at line 88 of file TGo4Condition.h.

virtual Bool_t TGo4Condition::Test Bool_t  result  )  [inline, virtual]
 

Reimplemented in TGo4CounterCond.

Definition at line 89 of file TGo4Condition.h.

virtual void TGo4Condition::SetValues  )  [inline, virtual]
 

Set values needed, i.e.

limits for windows or cuts for polygons

Reimplemented in TGo4CounterCond.

Definition at line 92 of file TGo4Condition.h.

Referenced by TGo4CondArray::SetValues().

virtual void TGo4Condition::SetValues Double_t  low1,
Double_t  up1
[inline, virtual]
 

Reimplemented in TGo4CondArray, and TGo4WinCond.

Definition at line 93 of file TGo4Condition.h.

virtual void TGo4Condition::SetValues Double_t  low1,
Double_t  up1,
Double_t  low2,
Double_t  up2
[inline, virtual]
 

Reimplemented in TGo4CondArray, and TGo4WinCond.

Definition at line 94 of file TGo4Condition.h.

virtual void TGo4Condition::SetValues TCutG *  newcut  )  [inline, virtual]
 

Reimplemented in TGo4CondArray, and TGo4PolyCond.

Definition at line 95 of file TGo4Condition.h.

virtual void TGo4Condition::SetValues Double_t *  x,
Double_t *  y,
Int_t  len
[inline, virtual]
 

Reimplemented in TGo4PolyCond.

Definition at line 96 of file TGo4Condition.h.

void TGo4Condition::AddCondition TGo4Condition next  )  [virtual]
 

Add another condition to this one.

The newly added condition is added as next condition and may be tested together with the current condition. User may specify the logical connection between the chained conditions (e.g. a locical "and", "or", "xor" relationships are all possible). Depends on the implementation of Test() method. The chained conditions are _not_ owned by the top level condition and are not deleted by dtor, thus one condition instance may be chained to several others.

Definition at line 128 of file TGo4Condition.cxx.

References TRACE.

void TGo4Condition::IncCounts  ) 
 

Increment the test counter.

User has to take care that this method is called within his/her Test method.

Definition at line 139 of file TGo4Condition.cxx.

References fiCounts, and TRACE.

Referenced by TGo4WinCond::Test(), TGo4PolyCond::Test(), TGo4CounterCond::Test(), and TGo4CondArray::Test().

void TGo4Condition::IncTrueCounts  ) 
 

Increment the "test was true" counter.

User has to take care that this method is called within his/her Test method on success.

Definition at line 133 of file TGo4Condition.cxx.

References fiTrueCounts, and TRACE.

Referenced by TGo4WinCond::Test(), TGo4PolyCond::Test(), TGo4CounterCond::Test(), and TGo4CondArray::Test().

Bool_t TGo4Condition::IsTrue  )  const [inline]
 

Use this as return, if test was true.

Takes into account inversion, i.e. when condition is inverted, IsTrue returns false.

Definition at line 121 of file TGo4Condition.h.

References fbTrue.

Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test().

Bool_t TGo4Condition::IsFalse  )  const [inline]
 

Use this as return, if test was false.

Takes into account inversion, i.e. when condition is inverted, IsFalse returns true.

Definition at line 125 of file TGo4Condition.h.

References fbFalse.

Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test().

Bool_t TGo4Condition::FixedResult  )  const [inline]
 

Returns the value set by Disable(value).

Definition at line 128 of file TGo4Condition.h.

References fbResult.

Referenced by TGo4WinCond::Test(), and TGo4PolyCond::Test().

void TGo4Condition::Invert Bool_t  on  )  [virtual]
 

Inverts return values, when on is true, i.e.

isTrue() will return false, and isFalse() will return true. Whn on is false, inversion is reset.

Reimplemented in TGo4CondArray.

Definition at line 173 of file TGo4Condition.cxx.

References fbFalse, fbTrue, and TRACE.

Referenced by TGo4CondArray::Invert(), TGo4AnalysisObjectManager::MakePolyCond(), TGo4AnalysisObjectManager::MakeWindowCond(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc().

void TGo4Condition::PrintCondition Bool_t  full = kTRUE  )  [virtual]
 

Prints counters and boolean members.

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 181 of file TGo4Condition.cxx.

References fbEnabled, fbHistogramLink, fbResult, fbTrue, fiCounts, fiTrueCounts, and fxHistoName.

Referenced by TGo4WinCond::PrintCondition(), TGo4PolyCond::PrintCondition(), and TGo4CounterCond::PrintCondition().

void TGo4Condition::PrintBar  )  [virtual]
 

Prints counters and bar.

Reimplemented in TGo4CondArray.

Definition at line 204 of file TGo4Condition.cxx.

References fiCounts, and fiTrueCounts.

Referenced by Print(), and TGo4CondArray::PrintBar().

void TGo4Condition::Print Option_t *  opt = ""  )  const [virtual]
 

Default printout for root object lists.

Definition at line 219 of file TGo4Condition.cxx.

References Counts(), fbEnabled, fbResult, fbTrue, GetActiveCondition(), GetCMax(), GetIntegral(), GetMean(), GetRMS(), GetWorkHistogram(), GetXLow(), GetXMax(), GetXUp(), GetYLow(), GetYMax(), GetYUp(), IsPolygonType(), IsVisible(), TGo4Log::Message(), PrintBar(), and TrueCounts().

Referenced by TGo4CondArray::PrintCondition().

void TGo4Condition::SetLast Bool_t  value  )  [inline]
 

Can be used in Test to store the result.

Is retrieved by GetLast() without further test.

Definition at line 145 of file TGo4Condition.h.

References fbLastResult.

Bool_t TGo4Condition::GetLast  )  [inline]
 

Returns result of last Test.

Definition at line 148 of file TGo4Condition.h.

References fbLastResult.

Bool_t TGo4Condition::UpdateFrom TGo4Condition cond,
Bool_t  counts
[virtual]
 

Copy values from cond to this.

When counts is true, copy also counters.

Reimplemented in TGo4CondArray, TGo4CounterCond, TGo4PolyCond, and TGo4WinCond.

Definition at line 301 of file TGo4Condition.cxx.

References fbCMaxDraw, fbEnabled, fbFalse, fbHistogramLink, fbIntDraw, fbLabelDraw, fbMarkReset, fbMultiEdit, fbResult, fbTrue, fbVisible, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fdUpdateEpsilon, fiCounts, fiDim, fiTrueCounts, fxHistoName, GetDimension(), and ResetCounts().

Referenced by TGo4AnalysisObjectManager::SetAnalysisCondition(), TGo4WinCond::UpdateFrom(), TGo4PolyCond::UpdateFrom(), TGo4CounterCond::UpdateFrom(), TGo4CondArray::UpdateFrom(), and TGo4BrowserProxy::UpdateObjectContent().

void TGo4Condition::GetValues Int_t &  dim,
Double_t &  x1,
Double_t &  y1,
Double_t &  x2,
Double_t &  y2
[virtual]
 

Reimplemented in TGo4WinCond.

Definition at line 335 of file TGo4Condition.cxx.

References GetDimension(), GetXLow(), GetXUp(), GetYLow(), and GetYUp().

Double_t TGo4Condition::GetXLow  )  [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 344 of file TGo4Condition.cxx.

Referenced by GetValues(), TGo4CondArray::GetXLow(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetXUp  )  [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 345 of file TGo4Condition.cxx.

Referenced by GetValues(), TGo4CondArray::GetXUp(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetYLow  )  [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 346 of file TGo4Condition.cxx.

Referenced by GetValues(), TGo4CondArray::GetYLow(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetYUp  )  [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 347 of file TGo4Condition.cxx.

Referenced by GetValues(), TGo4CondArray::GetYUp(), TGo4ConditionPainter::PaintLabel(), and Print().

TCutG * TGo4Condition::GetCut Bool_t  owner  )  [virtual]
 

Reimplemented in TGo4PolyCond.

Definition at line 348 of file TGo4Condition.cxx.

Double_t TGo4Condition::GetIntegral TH1 *  histo,
Option_t *  opt = ""
[virtual]
 

Calculate value for histogram inside condition limits.

Option may specify "width" to scale channel sum with axes

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 403 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetIntegral(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetMean TH1 *  histo,
Int_t  axis = 1
[virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 408 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetMean(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetRMS TH1 *  histo,
Int_t  axis = 1
[virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 412 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetRMS(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetXMax TH1 *  histo  )  [virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 416 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetXMax(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetYMax TH1 *  histo  )  [virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 420 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetYMax(), TGo4ConditionPainter::PaintLabel(), and Print().

Double_t TGo4Condition::GetCMax TH1 *  histo  )  [virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 424 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetCMax(), TGo4ConditionPainter::PaintLabel(), and Print().

TGo4Condition * TGo4Condition::GetActiveCondition  )  [virtual]
 

To be overwritten for condition array.

By default, it returns this.

Reimplemented in TGo4CondArray.

Definition at line 351 of file TGo4Condition.cxx.

Referenced by Print().

void TGo4Condition::MarkReset Bool_t  on  )  [virtual]
 

defines if condition counters shall be reset in UpdateFrom method

Reimplemented in TGo4CondArray.

Definition at line 372 of file TGo4Condition.cxx.

References fbMarkReset.

Referenced by TGo4CondArray::MarkReset().

void TGo4Condition::Clear Option_t *  opt = ""  )  [virtual]
 

Definition at line 376 of file TGo4Condition.cxx.

References ResetCounts().

void TGo4Condition::SetFlags Bool_t  enabled,
Bool_t  lastresult,
Bool_t  markreset,
Bool_t  result,
Bool_t  truevalue,
Bool_t  falsevalue
[virtual]
 

Sets values of external boolean flags to internal variables.

Overwritten in TGo4CondArray.

Definition at line 390 of file TGo4Condition.cxx.

References fbEnabled, fbFalse, fbLastResult, fbMarkReset, fbResult, and fbTrue.

void TGo4Condition::GetFlags Bool_t *  enabled,
Bool_t *  lastresult,
Bool_t *  markreset,
Bool_t *  result,
Bool_t *  truevalue,
Bool_t *  falsevalue
[virtual]
 

Sets values of internal boolean flags to external variables.

Overwritten in TGo4CondArray.

Reimplemented in TGo4CondArray.

Definition at line 380 of file TGo4Condition.cxx.

References fbEnabled, fbFalse, fbLastResult, fbMarkReset, fbResult, and fbTrue.

Referenced by TGo4CondArray::GetFlags().

void TGo4Condition::SetVisible Bool_t  on  )  [virtual]
 

Set/Unset visibility.

Overloaded for subclasses!

Reimplemented in TGo4CondArray.

Definition at line 441 of file TGo4Condition.cxx.

References fbVisible.

Referenced by TGo4CondArray::SetVisible().

Bool_t TGo4Condition::IsVisible  )  [virtual]
 

Visibility property for gui display in editor.

Reimplemented in TGo4CondArray.

Definition at line 446 of file TGo4Condition.cxx.

References fbVisible.

Referenced by Draw(), TGo4CondArray::IsVisible(), TGo4WinCondPainter::PaintCondition(), TGo4PolyCondPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and Print().

void TGo4Condition::SetHistogramLink Bool_t  on  ) 
 

Define if this condition has association with an analysis histogram.

Definition at line 451 of file TGo4Condition.cxx.

References fbHistogramLink.

Bool_t TGo4Condition::IsHistogramLink  ) 
 

True if the histogram of given name is linked to this.

Definition at line 456 of file TGo4Condition.cxx.

References fbHistogramLink.

void TGo4Condition::SetHistogram const char *  name  ) 
 

Define the name of the associated histogram.

Definition at line 546 of file TGo4Condition.cxx.

References fbHistogramLink, and fxHistoName.

Referenced by TGo4AnalysisObjectManager::MakePolyCond(), TGo4AnalysisObjectManager::MakeWindowCond(), TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

const char * TGo4Condition::GetLinkedHistogram  ) 
 

Access name of the associated histogram.

Definition at line 552 of file TGo4Condition.cxx.

References fxHistoName.

Referenced by TGo4RootBrowserProxy::DrawCondition().

void TGo4Condition::SetWorkHistogram TH1 *  histo  ) 
 

Set reference to work histogram for statistics functions.

Note that this method does not change the histogram link definitions!

Definition at line 655 of file TGo4Condition.cxx.

References fxCutHis, and fxHisto.

Referenced by TGo4RootBrowserProxy::DrawCondition(), TGo4RootBrowserProxy::DrawPicture(), and TGo4CondArrayPainter::PaintCondition().

TH1* TGo4Condition::GetWorkHistogram  )  [inline]
 

access work histogram reference

Definition at line 219 of file TGo4Condition.h.

References fxHisto.

Referenced by TGo4CondArrayPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), and Print().

void TGo4Condition::SetPainter TGo4ConditionPainter painter  )  [virtual]
 

Replace default painter of this condition by external one.

if different views of this condition shall exist for different TPads, the painter (i.e. view) can be exchanged before pad is updated.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 557 of file TGo4Condition.cxx.

void TGo4Condition::SetUpdateEpsilon Double_t  val  )  [inline]
 

Configure graphical update tolerance for this condition individually.

by default, update tolerance is set to static value fgdUPDATEEPSILON

Definition at line 228 of file TGo4Condition.h.

References fdUpdateEpsilon.

Double_t TGo4Condition::GetUpdateEpsilon  )  [inline]
 

Definition at line 230 of file TGo4Condition.h.

References fdUpdateEpsilon.

Referenced by TGo4WinCondView::ExecuteEvent(), and TGo4PolyCondView::IsCutChanged().

void TGo4Condition::SaveLabelStyle  ) 
 

This will save draw flags into static default setup.

Definition at line 619 of file TGo4Condition.cxx.

References fbCMaxDraw, fbIntDraw, fbLabelDraw, fbLimitsDraw, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, and fgbYRMSDRAW.

Referenced by TGo4WinCondView::SaveLabelStyle(), and TGo4PolyCondView::SaveLabelStyle().

void TGo4Condition::InitLabelStyle  ) 
 

Initialize label setup from static default variables.

Definition at line 633 of file TGo4Condition.cxx.

References fbCMaxDraw, fbIntDraw, fbLabelDraw, fbLimitsDraw, fbXMaxDraw, fbXMeanDraw, fbXRMSDraw, fbYMaxDraw, fbYMeanDraw, fbYRMSDraw, fgbCMAXDRAW, fgbINTDRAW, fgbLABELDRAW, fgbLIMITSDRAW, fgbXMAXDRAW, fgbXMEANDRAW, fgbXRMSDRAW, fgbYMAXDRAW, fgbYMEANDRAW, and fgbYRMSDRAW.

Referenced by TGo4Condition().

void TGo4Condition::ResetLabel Option_t *  opt = "reset"  ) 
 

Will reset label position to defaults with other option than reset, just pop label to front.

Definition at line 647 of file TGo4Condition.cxx.

References fxPainter, TGo4ConditionPainter::PaintLabel(), and TGo4LabelPainter::UnPaintLabel().

Referenced by TGo4WinCondView::ExecuteEvent(), TGo4PolyCondView::ExecuteEvent(), TGo4WinCondView::ResetLabel(), and TGo4PolyCondView::ResetLabel().

void TGo4Condition::SetLabelDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 461 of file TGo4Condition.cxx.

References fbLabelDraw.

Referenced by TGo4WinCondView::SetLabelDraw(), TGo4PolyCondView::SetLabelDraw(), and TGo4CondArray::SetLabelDraw().

Bool_t TGo4Condition::IsLabelDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 466 of file TGo4Condition.cxx.

References fbLabelDraw.

Referenced by TGo4CondArray::IsLabelDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetLimitsDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 471 of file TGo4Condition.cxx.

References fbLimitsDraw.

Referenced by TGo4WinCondView::SetLimitsDraw(), TGo4PolyCondView::SetLimitsDraw(), and TGo4CondArray::SetLimitsDraw().

Bool_t TGo4Condition::IsLimitsDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 476 of file TGo4Condition.cxx.

References fbLimitsDraw.

Referenced by TGo4CondArray::IsLimitsDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetIntDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 481 of file TGo4Condition.cxx.

References fbIntDraw.

Referenced by TGo4WinCondView::SetIntDraw(), TGo4PolyCondView::SetIntDraw(), and TGo4CondArray::SetIntDraw().

Bool_t TGo4Condition::IsIntDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 485 of file TGo4Condition.cxx.

References fbIntDraw.

Referenced by TGo4CondArray::IsIntDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetXMeanDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 489 of file TGo4Condition.cxx.

References fbXMeanDraw.

Referenced by TGo4WinCondView::SetXMeanDraw(), TGo4PolyCondView::SetXMeanDraw(), and TGo4CondArray::SetXMeanDraw().

Bool_t TGo4Condition::IsXMeanDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 493 of file TGo4Condition.cxx.

References fbXMeanDraw.

Referenced by TGo4CondArray::IsXMeanDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetXRMSDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 497 of file TGo4Condition.cxx.

References fbXRMSDraw.

Referenced by TGo4WinCondView::SetXRMSDraw(), TGo4PolyCondView::SetXRMSDraw(), and TGo4CondArray::SetXRMSDraw().

Bool_t TGo4Condition::IsXRMSDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 501 of file TGo4Condition.cxx.

References fbXRMSDraw.

Referenced by TGo4CondArray::IsXRMSDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetYMeanDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 505 of file TGo4Condition.cxx.

References fbYMeanDraw.

Referenced by TGo4WinCondView::SetYMeanDraw(), TGo4PolyCondView::SetYMeanDraw(), and TGo4CondArray::SetYMeanDraw().

Bool_t TGo4Condition::IsYMeanDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 509 of file TGo4Condition.cxx.

References fbYMeanDraw.

Referenced by TGo4CondArray::IsYMeanDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetYRMSDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 513 of file TGo4Condition.cxx.

References fbYRMSDraw.

Referenced by TGo4WinCondView::SetYRMSDraw(), TGo4PolyCondView::SetYRMSDraw(), and TGo4CondArray::SetYRMSDraw().

Bool_t TGo4Condition::IsYRMSDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 517 of file TGo4Condition.cxx.

References fbYRMSDraw.

Referenced by TGo4CondArray::IsYRMSDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetXMaxDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 521 of file TGo4Condition.cxx.

References fbXMaxDraw.

Referenced by TGo4WinCondView::SetXMaxDraw(), TGo4PolyCondView::SetXMaxDraw(), and TGo4CondArray::SetXMaxDraw().

Bool_t TGo4Condition::IsXMaxDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 525 of file TGo4Condition.cxx.

References fbXMaxDraw.

Referenced by TGo4CondArray::IsXMaxDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetYMaxDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 529 of file TGo4Condition.cxx.

References fbYMaxDraw.

Referenced by TGo4WinCondView::SetYMaxDraw(), TGo4PolyCondView::SetYMaxDraw(), and TGo4CondArray::SetYMaxDraw().

Bool_t TGo4Condition::IsYMaxDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 533 of file TGo4Condition.cxx.

References fbYMaxDraw.

Referenced by TGo4CondArray::IsYMaxDraw(), and TGo4ConditionPainter::PaintLabel().

void TGo4Condition::SetCMaxDraw Bool_t  on  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 537 of file TGo4Condition.cxx.

References fbCMaxDraw.

Referenced by TGo4WinCondView::SetCMaxDraw(), TGo4PolyCondView::SetCMaxDraw(), and TGo4CondArray::SetCMaxDraw().

Bool_t TGo4Condition::IsCMaxDraw  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 541 of file TGo4Condition.cxx.

References fbCMaxDraw.

Referenced by TGo4CondArray::IsCMaxDraw(), and TGo4ConditionPainter::PaintLabel().

virtual void TGo4Condition::SetChanged Bool_t  on  )  [inline, virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 274 of file TGo4Condition.h.

References fiIsChanged.

Referenced by TGo4WinCondView::ExecuteEvent(), TGo4CondArray::SetChanged(), TGo4PolyCondView::UpdateCondition(), and TGo4BrowserProxy::UpdateObjectContent().

virtual Int_t TGo4Condition::IsChanged  )  [inline, virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 275 of file TGo4Condition.h.

References fiIsChanged.

Referenced by TGo4CondArray::IsChanged().

void TGo4Condition::SetMultiEdit Bool_t  on  )  [inline]
 

Definition at line 277 of file TGo4Condition.h.

References fbMultiEdit.

virtual Bool_t TGo4Condition::IsMultiEdit  )  [inline, virtual]
 

Definition at line 278 of file TGo4Condition.h.

References fbMultiEdit.

Referenced by TGo4CondArray::Counts(), TGo4CondArray::Disable(), TGo4CondArray::Enable(), TGo4CondArray::GetActiveCondition(), TGo4CondArray::GetCMax(), TGo4CondArray::GetFlags(), TGo4CondArray::GetIntegral(), TGo4CondArray::GetMean(), TGo4CondArray::GetRMS(), TGo4CondArray::GetXLow(), TGo4CondArray::GetXMax(), TGo4CondArray::GetXUp(), TGo4CondArray::GetYLow(), TGo4CondArray::GetYMax(), TGo4CondArray::GetYUp(), TGo4CondArray::Invert(), TGo4CondArray::IsCMaxDraw(), TGo4CondArray::IsIntDraw(), TGo4CondArray::IsLabelDraw(), TGo4CondArray::IsLimitsDraw(), TGo4CondArray::IsPolygonType(), TGo4CondArray::IsVisible(), TGo4CondArray::IsXMaxDraw(), TGo4CondArray::IsXMeanDraw(), TGo4CondArray::IsXRMSDraw(), TGo4CondArray::IsYMaxDraw(), TGo4CondArray::IsYMeanDraw(), TGo4CondArray::IsYRMSDraw(), TGo4CondArray::MarkReset(), TGo4CondArrayPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), TGo4CondArray::ResetCounts(), TGo4CondArray::SetCMaxDraw(), TGo4CondArray::SetIntDraw(), TGo4CondArray::SetLabelDraw(), TGo4CondArray::SetLimitsDraw(), TGo4CondArray::SetValues(), TGo4CondArray::SetVisible(), TGo4CondArray::SetXMaxDraw(), TGo4CondArray::SetXMeanDraw(), TGo4CondArray::SetXRMSDraw(), TGo4CondArray::SetYMaxDraw(), TGo4CondArray::SetYMeanDraw(), TGo4CondArray::SetYRMSDraw(), TGo4CondArray::Test(), and TGo4CondArray::TrueCounts().

void TGo4Condition::SetDimension Int_t  d  )  [inline]
 

Definition at line 280 of file TGo4Condition.h.

References fiDim.

Referenced by TGo4WinCond::SetValues(), TGo4PolyCond::TGo4PolyCond(), and TGo4WinCond::UpdateFrom().

Int_t TGo4Condition::GetDimension  )  [inline]
 

Definition at line 281 of file TGo4Condition.h.

References fiDim.

Referenced by TGo4WinCond::GetValues(), GetValues(), TGo4WinCondPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), TGo4WinCond::PrintCondition(), TGo4WinCondView::SetToLimits(), and UpdateFrom().

void TGo4Condition::SetOwnedByEditor Bool_t  on  )  [inline]
 

Definition at line 283 of file TGo4Condition.h.

References fbOwnedByEditor.

Referenced by TGo4CondArrayPainter::PaintCondition().

Bool_t TGo4Condition::IsOwnedByEditor  )  [inline]
 

Definition at line 284 of file TGo4Condition.h.

References fbOwnedByEditor.

Referenced by TGo4PolyCondView::DeleteRegion().

void TGo4Condition::SetCurrentIndex Int_t  ix  )  [virtual]
 

set index for array type subclasses

Reimplemented in TGo4CondArray.

Definition at line 353 of file TGo4Condition.cxx.

Int_t TGo4Condition::GetCurrentIndex  )  [virtual]
 

get index for array type subclasses

Reimplemented in TGo4CondArray.

Definition at line 354 of file TGo4Condition.cxx.

Int_t TGo4Condition::GetNumberOfConditions  )  [virtual]
 

for condition aggregates: return total number of conditions, i.e.size of condition array

Reimplemented in TGo4CondArray.

Definition at line 359 of file TGo4Condition.cxx.

Int_t TGo4Condition::GetMemorySize  )  [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 364 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::GetMemorySize().

Bool_t TGo4Condition::IsPolygonType  )  [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 349 of file TGo4Condition.cxx.

Referenced by TGo4CondArray::IsPolygonType(), and Print().

Bool_t TGo4Condition::IsArrayType  )  [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 350 of file TGo4Condition.cxx.

Referenced by TGo4ConditionPainter::PaintLabel().

void TGo4Condition::DeletePainter  ) 
 

Definition at line 662 of file TGo4Condition.cxx.

References fxPainter.

void TGo4Condition::SetPainted Bool_t  on  )  [inline, protected]
 

Definition at line 345 of file TGo4Condition.h.

References fbIsPainted.

Referenced by Draw(), TGo4CondArray::Draw(), Paint(), and UnDraw().

Bool_t TGo4Condition::IsPainted  )  const [inline, protected]
 

Definition at line 346 of file TGo4Condition.h.

References fbIsPainted.

Referenced by TGo4CondArray::Draw(), and Paint().


Friends And Related Function Documentation

friend class TGo4CondArray [friend]
 

Definition at line 37 of file TGo4Condition.h.


Member Data Documentation

const Double_t TGo4Condition::fgdUPDATEEPSILON = 0.01 [static]
 

default value for graphical update tolerance.

Definition at line 30 of file TGo4Condition.cxx.

Referenced by TGo4Condition().

Bool_t TGo4Condition::fgbLABELDRAW = kTRUE [static]
 

default setting for all conditions for label draw on/off flag.

Definition at line 32 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbLIMITSDRAW = kTRUE [static]
 

default setting for all conditions for label draw limits flag.

Definition at line 33 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbINTDRAW = kTRUE [static]
 

default setting for all conditions for label draw integral flag.

Definition at line 34 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbXMEANDRAW = kTRUE [static]
 

default setting for all conditions for label draw xmean flag.

Definition at line 35 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbXRMSDRAW = kTRUE [static]
 

default setting for all conditions for label draw xrms flag.

Definition at line 36 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbYMEANDRAW = kFALSE [static]
 

default setting for all conditions for label draw ymean flag.

Definition at line 37 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbYRMSDRAW = kFALSE [static]
 

default setting for all conditions for label draw yrms flag.

Definition at line 38 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbXMAXDRAW = kTRUE [static]
 

default setting for all conditions for label draw xmax flag.

Definition at line 39 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbYMAXDRAW = kFALSE [static]
 

default setting for all conditions for label draw ymax flag.

Definition at line 40 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

Bool_t TGo4Condition::fgbCMAXDRAW = kTRUE [static]
 

default setting for all conditions for label draw cmax flag.

Definition at line 41 of file TGo4Condition.cxx.

Referenced by TGo4QSettings::getBasicSettings(), InitLabelStyle(), SaveLabelStyle(), and TGo4QSettings::setBasicSettings().

TGo4ConditionPainter* TGo4Condition::fxPainter [protected]
 

Painter instance to display the condition in root pad.

To be used in Paint() which is called on TPad::Update automatically for all TObjects appended to the pad.

Definition at line 338 of file TGo4Condition.h.

Referenced by DeletePainter(), Paint(), Pop(), ResetLabel(), TGo4WinCond::SetPainter(), TGo4PolyCond::SetPainter(), TGo4CondArray::SetPainter(), UnDraw(), TGo4CondArray::~TGo4CondArray(), and ~TGo4Condition().

TH1* TGo4Condition::fxCutHis [protected]
 

temporary histogram used to calculate statistics on polygon cuts.

Will be recalculated only if boundaries habe changed.

Definition at line 343 of file TGo4Condition.h.

Referenced by TGo4PolyCond::GetCMax(), TGo4PolyCond::GetCut(), TGo4PolyCond::GetIntegral(), TGo4PolyCond::GetMean(), TGo4PolyCond::GetRMS(), TGo4PolyCond::GetXMax(), TGo4PolyCond::GetYMax(), TGo4PolyCond::SetValues(), TGo4PolyCond::SetValuesDirect(), SetWorkHistogram(), TGo4PolyCond::UpdateFrom(), and ~TGo4Condition().

Int_t TGo4Condition::fiDim [private]
 

Dimension (1 or 2).

Definition at line 351 of file TGo4Condition.h.

Referenced by GetDimension(), SetDimension(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbMarkReset [private]
 

Definition at line 353 of file TGo4Condition.h.

Referenced by GetFlags(), MarkReset(), SetFlags(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbLastResult [private]
 

This can be used to store the last result by SetLast(bool).

It can then be retrieved by GetLast() without new testing.

Definition at line 357 of file TGo4Condition.h.

Referenced by GetFlags(), GetLast(), SetFlags(), and SetLast().

Bool_t TGo4Condition::fbTrue [private]
 

These are inverted by Invert(true), and restored by Invert(false).

Definition at line 360 of file TGo4Condition.h.

Referenced by GetFlags(), Invert(), IsTrue(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbFalse [private]
 

These are inverted by Invert(true), and restored by Invert(false).

Definition at line 363 of file TGo4Condition.h.

Referenced by GetFlags(), Invert(), IsFalse(), SetFlags(), TGo4Condition(), and UpdateFrom().

Int_t TGo4Condition::fiTrueCounts [private]
 

Counts the number of calls of the Test method with true result.

Definition at line 366 of file TGo4Condition.h.

Referenced by IncTrueCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), TGo4Condition(), TrueCounts(), and UpdateFrom().

Int_t TGo4Condition::fiCounts [private]
 

Counts the number of calls of the Test method.

Definition at line 369 of file TGo4Condition.h.

Referenced by Counts(), IncCounts(), PrintBar(), PrintCondition(), ResetCounts(), SetCounts(), Test(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbEnabled [private]
 

Flag to enable/disable this condition.

Disabled condition will always return fbResult. Counters are incremented even if disabled. After instantiation, fbEnabled will be false and fbResult true.

Definition at line 375 of file TGo4Condition.h.

Referenced by Disable(), Enable(), GetFlags(), IsEnabled(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbResult [private]
 

If fbEnabled is false, return this as result.

Definition at line 378 of file TGo4Condition.h.

Referenced by Disable(), FixedResult(), GetFlags(), Print(), PrintCondition(), SetFlags(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbMultiEdit [private]
 

Flag to indicate that properties of all conditions in array are edited/used.

for use in TGo4CondArray or other multi-condition implementations

Definition at line 382 of file TGo4Condition.h.

Referenced by IsMultiEdit(), SetMultiEdit(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbVisible [private]
 

Property to store visibility of condition on display.

Definition at line 385 of file TGo4Condition.h.

Referenced by IsVisible(), SetVisible(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbHistogramLink [private]
 

is true if this condition has link to a histogram name

Definition at line 388 of file TGo4Condition.h.

Referenced by IsHistogramLink(), PrintCondition(), SetHistogram(), SetHistogramLink(), TGo4Condition(), and UpdateFrom().

TString TGo4Condition::fxHistoName [private]
 

contains associatied histogram name

Definition at line 391 of file TGo4Condition.h.

Referenced by GetLinkedHistogram(), PrintCondition(), SetHistogram(), and UpdateFrom().

Double_t TGo4Condition::fdUpdateEpsilon [private]
 

Precision for the check if graphical representation change requires update.

Definition at line 394 of file TGo4Condition.h.

Referenced by GetUpdateEpsilon(), SetUpdateEpsilon(), TGo4Condition(), and UpdateFrom().

Bool_t TGo4Condition::fbLabelDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 397 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsLabelDraw(), SaveLabelStyle(), SetLabelDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbLimitsDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 400 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsLimitsDraw(), SaveLabelStyle(), and SetLimitsDraw().

Bool_t TGo4Condition::fbIntDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 403 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsIntDraw(), SaveLabelStyle(), SetIntDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbXMeanDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 406 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsXMeanDraw(), SaveLabelStyle(), SetXMeanDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbXRMSDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 409 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsXRMSDraw(), SaveLabelStyle(), SetXRMSDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbYMeanDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 412 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsYMeanDraw(), SaveLabelStyle(), SetYMeanDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbYRMSDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 415 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsYRMSDraw(), SaveLabelStyle(), SetYRMSDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbXMaxDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 418 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsXMaxDraw(), SaveLabelStyle(), SetXMaxDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbYMaxDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 421 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsYMaxDraw(), SaveLabelStyle(), SetYMaxDraw(), and UpdateFrom().

Bool_t TGo4Condition::fbCMaxDraw [private]
 

If true, draw corresponding value as label on working pad.

Definition at line 424 of file TGo4Condition.h.

Referenced by InitLabelStyle(), IsCMaxDraw(), SaveLabelStyle(), SetCMaxDraw(), and UpdateFrom().

TH1* TGo4Condition::fxHisto [private]
 

Reference to currently used histogram (for statistics boxes).

This is _not_ necessarily the same histogram as specified in the linked histogram!

Definition at line 428 of file TGo4Condition.h.

Referenced by GetWorkHistogram(), and SetWorkHistogram().

Int_t TGo4Condition::fiIsChanged [private]
 

Counter indicate how many times condition was changed from graphical view.

Definition at line 431 of file TGo4Condition.h.

Referenced by IsChanged(), and SetChanged().

Bool_t TGo4Condition::fbIsPainted [private]
 

Flag to prevent Paint() method to redraw condition views after UnDraw.

Problem with Paint() called from ROOT event loop.

Definition at line 435 of file TGo4Condition.h.

Referenced by IsPainted(), SetPainted(), and TGo4Condition().

Bool_t TGo4Condition::fbOwnedByEditor [private]
 

Flag to suppress interactive deletion of condition.

Definition at line 438 of file TGo4Condition.h.

Referenced by IsOwnedByEditor(), SetOwnedByEditor(), and TGo4Condition().

Bool_t TGo4Condition::fbStreamedCondition [private]
 

This allows to treat conditions streamed into pad.

Definition at line 441 of file TGo4Condition.h.

Referenced by Paint(), and TGo4Condition().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:47 2008 for Go4-v3.04-1 by  doxygen 1.4.2