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

TGo4Condition Class Reference

#include <TGo4Condition.h>

Inheritance diagram for TGo4Condition:

TGo4CondArray TGo4CounterCond TGo4PolyCond TGo4WinCond List of all members.

Public Methods

 TGo4Condition ()
 TGo4Condition (const char *name)
 TGo4Condition (const char *name, const char *title)
virtual ~TGo4Condition ()
virtual void Paint (Option_t *opt="")
 Display condition with plain root canvas and in go4 viewpanel. More...

virtual void Draw (Option_t *opt="")
 Draw this condition on current pad. More...

virtual void UnDraw (Option_t *opt="")
 Erase view of this condition from the pad. More...

virtual TGo4ConditionPainterCreatePainter ()
 Factory method to generate the subclass implentation for painter. More...

virtual Int_t Counts ()
 Return number of calls of the Test method. More...

virtual Int_t TrueCounts ()
 Return number of true results of the Test method call. More...

virtual void ResetCounts ()
 Clear counters. More...

virtual void SetCounts (Int_t truecounts, Int_t counts)
 Set counters. More...

virtual void Disable (Bool_t result)
 Freeze condition, on Test() return result. More...

virtual void Enable ()
 Enable (unfreeze) Test execution. More...

Int_t IsEnabled ()
 Returns true if condition is enabled. More...

virtual Bool_t Test ()
 Test if condition is true. More...

virtual void SetValues ()
 Set values needed, i.e. More...

virtual void AddCondition (TGo4Condition *next)
 Add another condition to this one. More...

void IncCounts ()
 Increment the test counter. More...

void IncTrueCounts ()
 Increment the "test was true" counter. More...

Bool_t IsTrue () const
 Use this as return, if test was true. More...

Bool_t IsFalse () const
 Use this as return, if test was false. More...

Bool_t FixedResult () const
 Returns the value set by Disable(value). More...

virtual void Invert (Bool_t on)
 Inverts return values, when on is true, i.e. More...

virtual void PrintCondition (Bool_t full=kTRUE)
 Prints counters and boolean members. More...

virtual void PrintBar ()
 Prints counters and bar. More...

virtual void Print (Option_t *opt="") const
 Default printout for root object lists. More...

void SetLast (Bool_t value)
 Can be used in Test to store the result. More...

Bool_t GetLast ()
 Returns result of last Test. More...

virtual Bool_t UpdateFrom (TGo4Condition *cond, Bool_t counts)
 Copy values from cond to this. More...

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 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 Bool_t Test (Double_t x, Double_t y)
virtual Bool_t Test (Double_t x)
virtual Bool_t Test (Bool_t result)
virtual TCutG * GetCut (Bool_t owner)
virtual Double_t GetIntegral (TH1 *histo, Option_t *opt="")
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetMean (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetRMS (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetXMax (TH1 *histo)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetYMax (TH1 *histo)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetCMax (TH1 *histo)
 Calculate value for histogram inside condition limits. More...

virtual TGo4Condition * GetActiveCondition ()
 To be overwritten for condition array. More...

virtual void MarkReset (Bool_t on)
 defines if condition counters shall be reset in UpdateFrom method. More...

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. More...

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. More...

virtual void SetVisible (Bool_t on)
 Set/Unset visibility. More...

virtual Bool_t IsVisible ()
 Visibility property for gui display in editor. More...

void SetHistogramLink (Bool_t on)
 Define if this condition has association with an analysis histogram. More...

Bool_t IsHistogramLink ()
 True if the histogram of given name is linked to this. More...

void SetHistogram (const char *name)
 Define the name of the associated histogram. More...

const Text_t * GetLinkedHistogram ()
 Access name of the associated histogram. More...

void SetWorkHistogram (TH1 *histo)
 Set reference to work histogram for statistics functions. More...

TH1 * GetWorkHistogram ()
 access work histogram reference. More...

Bool_t CheckWorkHistogram ()
 Test if work histogram is still exisiting. More...

void SetPadHistogram (TVirtualPad *pad)
 Set first histogram found in pad as working histogram. More...

virtual void SetPainter (TGo4ConditionPainter *painter)
 Replace default painter of this condition by external one. More...

void SetUpdateEpsilon (Double_t val)
 Configure graphical update tolerance for this condition individually. More...

Double_t GetUpdateEpsilon ()
void SaveLabelStyle ()
 This will save draw flags into static default setup. More...

void InitLabelStyle ()
 Initialize label setup from static default variables. More...

void ResetLabel ()
 Will reset label position to defaults. More...

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 ()
void SetChanged (Bool_t on)
virtual Bool_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. More...

virtual Int_t GetCurrentIndex ()
 get index for array type subclasses. More...

virtual Int_t GetNumberOfConditions ()
 for condition aggregates: return total number of conditions, i.e.size of condition array. More...

virtual Bool_t IsPolygonType ()
virtual Bool_t IsArrayType ()
TVirtualPad * GetDrawPad ()

Static Public Attributes

const Double_t fgdUPDATEEPSILON = 0.01
 default value for graphical update tolerance. More...

Bool_t fgbLABELDRAW = kTRUE
 default setting for all conditions for label draw on/off flag. More...

Bool_t fgbLIMITSDRAW = kTRUE
 default setting for all conditions for label draw limits flag. More...

Bool_t fgbINTDRAW = kTRUE
 default setting for all conditions for label draw integral flag. More...

Bool_t fgbXMEANDRAW = kTRUE
 default setting for all conditions for label draw xmean flag. More...

Bool_t fgbXRMSDRAW = kTRUE
 default setting for all conditions for label draw xrms flag. More...

Bool_t fgbYMEANDRAW = kFALSE
 default setting for all conditions for label draw ymean flag. More...

Bool_t fgbYRMSDRAW = kFALSE
 default setting for all conditions for label draw yrms flag. More...

Bool_t fgbXMAXDRAW = kTRUE
 default setting for all conditions for label draw xmax flag. More...

Bool_t fgbYMAXDRAW = kFALSE
 default setting for all conditions for label draw ymax flag. More...

Bool_t fgbCMAXDRAW = kTRUE
 default setting for all conditions for label draw cmax flag. More...


Protected Methods

void SetPainted (Bool_t on)
Bool_t IsPainted () const
void SetDrawPad (TVirtualPad *pad)

Protected Attributes

TGo4ConditionPainterfxPainter
 Painter instance to display the condition in root pad. More...

TH1 * fxCutHis
 temporary histogram used to calculate statistics on polygon cuts. More...


Private Attributes

Int_t fiDim
 Dimension (1 or 2). More...

Bool_t fbMarkReset
Bool_t fbLastResult
 This can be used to store the last result by SetLast(bool). More...

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

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

TGo4Condition * fxNextCondition
Int_t fiTrueCounts
 Counts the number of calls of the Test method with true result. More...

Int_t fiCounts
 Counts the number of calls of the Test method. More...

Bool_t fbEnabled
 Flag to enable/disable this condition. More...

Bool_t fbResult
 If fbEnabled is false, return this as result. More...

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

Bool_t fbVisible
 Property to store visibility of condition on display. More...

Bool_t fbHistogramLink
 is true if this condition has link to a histogram name. More...

TString fxHistoName
 contains associatied histogram name. More...

Double_t fdUpdateEpsilon
 Precision for the check if graphical representation change requires update. More...

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

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

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

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

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

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

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

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

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

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

TH1 * fxHisto
 Reference to currently used histogram (for statistics boxes). More...

Bool_t fbIsChanged
 Flag to indicate that condition has been changed from graphical view. More...

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

Bool_t fbOwnedByEditor
 Flag to suppress interactive deletion of condition. More...

Bool_t fbStreamedCondition
 This allows to treat conditions streamed into pad. More...

TVirtualPad * fxDrawPad
 Remember last pad used for Draw. More...


Friends

class TGo4CondArray

Constructor & Destructor Documentation

TGo4Condition::TGo4Condition  
 

Definition at line 98 of file TGo4Condition.cxx.

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

TGo4Condition::TGo4Condition const char *    name
 

Definition at line 70 of file TGo4Condition.cxx.

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

TGo4Condition::TGo4Condition const char *    name,
const char *    title
 

Definition at line 42 of file TGo4Condition.cxx.

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

TGo4Condition::~TGo4Condition   [virtual]
 

Definition at line 126 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 576 of file TGo4Condition.cxx.

References CheckWorkHistogram(), CreatePainter(), fbStreamedCondition, fxPainter, GetDrawPad(), IsPainted(), TGo4ConditionPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), SetDrawPad(), SetPadHistogram(), 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 596 of file TGo4Condition.cxx.

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

Referenced by TGo4PreviewPanelSlots::AddPolygon(), TGo4PreviewPanelSlots::AddRegion(), TGo4CondArray::Draw(), TGo4WindowEditSlots::DrawConditions(), TGo4PreviewPanelSlots::MouseClick(), TGo4PreviewPanelSlots::RedrawAllLabels(), TGo4PreviewPanelSlots::ScanCutG(), TGo4PreviewPanelSlots::SetMarkerSetup(), and TGo4WindowEditSlots::SetNewTCutG().

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

Erase view of this condition from the pad.

Definition at line 613 of file TGo4Condition.cxx.

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

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

TGo4ConditionPainter * TGo4Condition::CreatePainter   [virtual]
 

Factory method to generate the subclass implentation for painter.

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 632 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 159 of file TGo4Condition.cxx.

References fiCounts, and TRACE.

Referenced by TGo4WindowEditStatus::Counts(), 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 165 of file TGo4Condition.cxx.

References fiTrueCounts, and TRACE.

Referenced by Print(), and TGo4WindowEditStatus::TrueCounts().

void TGo4Condition::ResetCounts   [virtual]
 

Clear counters.

Reimplemented in TGo4CondArray.

Definition at line 171 of file TGo4Condition.cxx.

References fiCounts, fiTrueCounts, and TRACE.

Referenced by Clear(), TGo4WindowEditSlots::ClearCounters(), 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 178 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 440 of file TGo4Condition.cxx.

References fbEnabled, and fbResult.

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

void TGo4Condition::Enable   [virtual]
 

Enable (unfreeze) Test execution.

Reimplemented in TGo4CondArray.

Definition at line 446 of file TGo4Condition.cxx.

References fbEnabled.

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

Int_t TGo4Condition::IsEnabled  
 

Returns true if condition is enabled.

Definition at line 187 of file TGo4Condition.cxx.

References fbEnabled, and TRACE.

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.

Reimplemented in TGo4CondArray.

Definition at line 134 of file TGo4Condition.cxx.

References fiCounts.

Referenced by TGo4CondArray::Test(), and TGo4DynamicEntry::TestCondition().

void TGo4Condition::SetValues   [virtual]
 

Set values needed, i.e.

limits for windows or cuts for polygons

Reimplemented in TGo4CondArray, and TGo4CounterCond.

Definition at line 140 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditSlots::SetLimits(), and TGo4CondArray::SetValues().

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 142 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 153 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 147 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 107 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 111 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 114 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 193 of file TGo4Condition.cxx.

References fbFalse, fbTrue, and TRACE.

Referenced by TGo4CondArray::Invert(), TGo4AnalysisObjectManager::MakePolyCond(), TGo4AnalysisObjectManager::MakeWindowCond(), TGo4WindowEditSlots::SetInvertMode(), 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 200 of file TGo4Condition.cxx.

References fiCounts, fiTrueCounts, and fxHistoName.

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

void TGo4Condition::PrintBar   [virtual]
 

Prints counters and bar.

Reimplemented in TGo4CondArray.

Definition at line 223 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 238 of file TGo4Condition.cxx.

References Counts(), fbEnabled, fbResult, fbTrue, GetActiveCondition(), GetCMax(), GetDimension(), 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 131 of file TGo4Condition.h.

References fbLastResult.

Bool_t TGo4Condition::GetLast   [inline]
 

Returns result of last Test.

Definition at line 134 of file TGo4Condition.h.

References fbLastResult.

Referenced by TGo4DynamicEntry::TestCondition().

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 320 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(), and TGo4CondArray::UpdateFrom().

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

Reimplemented in TGo4CondArray, and TGo4WinCond.

Definition at line 354 of file TGo4Condition.cxx.

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

Reimplemented in TGo4CondArray, and TGo4WinCond.

Definition at line 355 of file TGo4Condition.cxx.

void TGo4Condition::SetValues TCutG *    newcut [virtual]
 

Reimplemented in TGo4CondArray, and TGo4PolyCond.

Definition at line 356 of file TGo4Condition.cxx.

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

Reimplemented in TGo4PolyCond.

Definition at line 357 of file TGo4Condition.cxx.

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 358 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 367 of file TGo4Condition.cxx.

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

Double_t TGo4Condition::GetXUp   [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 368 of file TGo4Condition.cxx.

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

Double_t TGo4Condition::GetYLow   [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 369 of file TGo4Condition.cxx.

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

Double_t TGo4Condition::GetYUp   [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 370 of file TGo4Condition.cxx.

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

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

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 371 of file TGo4Condition.cxx.

Bool_t TGo4Condition::Test Double_t    x [virtual]
 

Reimplemented in TGo4CondArray, and TGo4WinCond.

Definition at line 372 of file TGo4Condition.cxx.

Bool_t TGo4Condition::Test Bool_t    result [virtual]
 

Reimplemented in TGo4CounterCond.

Definition at line 373 of file TGo4Condition.cxx.

TCutG * TGo4Condition::GetCut Bool_t    owner [virtual]
 

Reimplemented in TGo4PolyCond.

Definition at line 374 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 414 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditSlots::GetIntegral(), 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 419 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditSlots::GetMean(), 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 423 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditSlots::GetRMS(), 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 427 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditSlots::GetXMax(), 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 431 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditSlots::GetYMax(), 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 435 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditSlots::GetCMax(), 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 377 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditStatus::ConditionName(), TGo4WindowEditStatus::Is2D(), TGo4WindowEditStatus::IsPolygon(), Print(), and TGo4WindowEditSlots::SetNewTCutG().

void TGo4Condition::MarkReset Bool_t    on [virtual]
 

defines if condition counters shall be reset in UpdateFrom method.

Reimplemented in TGo4CondArray.

Definition at line 383 of file TGo4Condition.cxx.

References fbMarkReset.

Referenced by TGo4WindowEditSlots::ClearCounters(), and TGo4CondArray::MarkReset().

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

Definition at line 387 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 401 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 391 of file TGo4Condition.cxx.

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

Referenced by TGo4WindowEditStatus::FalseValue(), TGo4CondArray::GetFlags(), TGo4WindowEditStatus::IsEnabled(), TGo4WindowEditStatus::ResultValue(), and TGo4WindowEditStatus::TrueValue().

void TGo4Condition::SetVisible Bool_t    on [virtual]
 

Set/Unset visibility.

Overloaded for subclasses!

Reimplemented in TGo4CondArray.

Definition at line 452 of file TGo4Condition.cxx.

References fbVisible.

Referenced by TGo4WindowEditSlots::SetVisible(), and TGo4CondArray::SetVisible().

Bool_t TGo4Condition::IsVisible   [virtual]
 

Visibility property for gui display in editor.

Reimplemented in TGo4CondArray.

Definition at line 457 of file TGo4Condition.cxx.

References fbVisible.

Referenced by Draw(), TGo4WindowEditStatus::IsVisible(), 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 462 of file TGo4Condition.cxx.

References fbHistogramLink.

Referenced by TGo4WindowEditSlots::SetHistogramLink().

Bool_t TGo4Condition::IsHistogramLink  
 

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

Definition at line 467 of file TGo4Condition.cxx.

References fbHistogramLink.

Referenced by TGo4WindowEditSlots::AddObject(), TGo4WindowEditSlots::IsHistogramLink(), TGo4QConItem::ItemDBkRemote(), and TGo4WindowEditSlots::SendRefreshCommand().

void TGo4Condition::SetHistogram const char *    name
 

Define the name of the associated histogram.

Definition at line 557 of file TGo4Condition.cxx.

References fbHistogramLink, and fxHistoName.

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

const Text_t * TGo4Condition::GetLinkedHistogram  
 

Access name of the associated histogram.

Definition at line 563 of file TGo4Condition.cxx.

References fxHistoName.

Referenced by TGo4WindowEditSlots::AddObject(), TGo4WindowEditSlots::GetLinkedHistogramName(), TGo4QConItem::ItemDBkRemote(), and TGo4WindowEditSlots::SendRefreshCommand().

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 682 of file TGo4Condition.cxx.

References fxCutHis, and fxHisto.

Referenced by TGo4WindowEditSlots::DrawConditions(), TGo4PreviewPanelSlots::MouseClick(), TGo4CondArrayPainter::PaintCondition(), TGo4PreviewPanelSlots::ScanCutG(), TGo4PreviewPanelSlots::SetMarkerSetup(), SetPadHistogram(), TGo4PreviewPanelSlots::SetPolygonsHistogram(), and TGo4PreviewPanelSlots::SetRegionsHistogram().

TH1* TGo4Condition::GetWorkHistogram   [inline]
 

access work histogram reference.

Definition at line 212 of file TGo4Condition.h.

References fxHisto.

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

Bool_t TGo4Condition::CheckWorkHistogram  
 

Test if work histogram is still exisiting.

Definition at line 692 of file TGo4Condition.cxx.

References fxCutHis, and fxHisto.

Referenced by Paint().

void TGo4Condition::SetPadHistogram TVirtualPad *    pad
 

Set first histogram found in pad as working histogram.

For standalone conditions outside go4 viewpanel.

Definition at line 708 of file TGo4Condition.cxx.

References SetWorkHistogram().

Referenced by Paint().

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 568 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 643 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 659 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  
 

Will reset label position to defaults.

Definition at line 673 of file TGo4Condition.cxx.

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

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

void TGo4Condition::SetLabelDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 472 of file TGo4Condition.cxx.

References fbLabelDraw.

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

Bool_t TGo4Condition::IsLabelDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 477 of file TGo4Condition.cxx.

References fbLabelDraw.

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

void TGo4Condition::SetLimitsDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 482 of file TGo4Condition.cxx.

References fbLimitsDraw.

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

Bool_t TGo4Condition::IsLimitsDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 487 of file TGo4Condition.cxx.

References fbLimitsDraw.

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

void TGo4Condition::SetIntDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 492 of file TGo4Condition.cxx.

References fbIntDraw.

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

Bool_t TGo4Condition::IsIntDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 496 of file TGo4Condition.cxx.

References fbIntDraw.

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

void TGo4Condition::SetXMeanDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 500 of file TGo4Condition.cxx.

References fbXMeanDraw.

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

Bool_t TGo4Condition::IsXMeanDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 504 of file TGo4Condition.cxx.

References fbXMeanDraw.

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

void TGo4Condition::SetXRMSDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 508 of file TGo4Condition.cxx.

References fbXRMSDraw.

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

Bool_t TGo4Condition::IsXRMSDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 512 of file TGo4Condition.cxx.

References fbXRMSDraw.

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

void TGo4Condition::SetYMeanDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 516 of file TGo4Condition.cxx.

References fbYMeanDraw.

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

Bool_t TGo4Condition::IsYMeanDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 520 of file TGo4Condition.cxx.

References fbYMeanDraw.

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

void TGo4Condition::SetYRMSDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 524 of file TGo4Condition.cxx.

References fbYRMSDraw.

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

Bool_t TGo4Condition::IsYRMSDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 528 of file TGo4Condition.cxx.

References fbYRMSDraw.

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

void TGo4Condition::SetXMaxDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 532 of file TGo4Condition.cxx.

References fbXMaxDraw.

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

Bool_t TGo4Condition::IsXMaxDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 536 of file TGo4Condition.cxx.

References fbXMaxDraw.

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

void TGo4Condition::SetYMaxDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 540 of file TGo4Condition.cxx.

References fbYMaxDraw.

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

Bool_t TGo4Condition::IsYMaxDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 544 of file TGo4Condition.cxx.

References fbYMaxDraw.

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

void TGo4Condition::SetCMaxDraw Bool_t    on [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 548 of file TGo4Condition.cxx.

References fbCMaxDraw.

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

Bool_t TGo4Condition::IsCMaxDraw   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 552 of file TGo4Condition.cxx.

References fbCMaxDraw.

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

void TGo4Condition::SetChanged Bool_t    on [inline]
 

Definition at line 273 of file TGo4Condition.h.

References fbIsChanged.

Referenced by TGo4WindowEditSlots::EnterEvent(), TGo4WinCondView::ExecuteEvent(), and TGo4PolyCondView::UpdateCondition().

Bool_t TGo4Condition::IsChanged   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 637 of file TGo4Condition.cxx.

References fbIsChanged.

Referenced by TGo4WindowEditSlots::EnterEvent(), and TGo4CondArray::IsChanged().

void TGo4Condition::SetMultiEdit Bool_t    on [inline]
 

Definition at line 276 of file TGo4Condition.h.

References fbMultiEdit.

Referenced by TGo4WindowEditSlots::SendUpdateCommand(), TGo4WindowEditStatus::SetCondition(), and TGo4WindowEditStatus::SetMultiEdit().

virtual Bool_t TGo4Condition::IsMultiEdit   [inline, virtual]
 

Definition at line 277 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(), TGo4WindowEditStatus::IsMultiEdit(), TGo4CondArray::IsPolygonType(), TGo4CondArray::IsVisible(), TGo4CondArray::IsXMaxDraw(), TGo4CondArray::IsXMeanDraw(), TGo4CondArray::IsXRMSDraw(), TGo4CondArray::IsYMaxDraw(), TGo4CondArray::IsYMeanDraw(), TGo4CondArray::IsYRMSDraw(), TGo4CondArray::MarkReset(), TGo4CondArrayPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), TGo4CondArray::ResetCounts(), TGo4WindowEditSlots::SendUpdateCommand(), TGo4CondArray::SetCMaxDraw(), TGo4WindowEditStatus::SetCondition(), 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 279 of file TGo4Condition.h.

References fiDim.

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

Int_t TGo4Condition::GetDimension   [inline]
 

Definition at line 280 of file TGo4Condition.h.

References fiDim.

Referenced by TGo4WinCond::GetValues(), GetValues(), TGo4WindowEditStatus::Is2D(), TGo4PreviewPanelSlots::MouseClick(), TGo4WinCondPainter::PaintCondition(), TGo4ConditionPainter::PaintLabel(), Print(), TGo4WinCond::PrintCondition(), TGo4WinCondView::SetToLimits(), and UpdateFrom().

void TGo4Condition::SetOwnedByEditor Bool_t    on [inline]
 

Definition at line 282 of file TGo4Condition.h.

References fbOwnedByEditor.

Referenced by TGo4CondArrayPainter::PaintCondition(), and TGo4WindowEditStatus::SetCondition().

Bool_t TGo4Condition::IsOwnedByEditor   [inline]
 

Definition at line 283 of file TGo4Condition.h.

References fbOwnedByEditor.

Referenced by TGo4PreviewPanelSlots::AddPolygon(), TGo4PreviewPanelSlots::AddRegion(), TGo4WinCondView::DeleteRegion(), and TGo4PolyCondView::DeleteRegion().

void TGo4Condition::SetCurrentIndex Int_t    ix [virtual]
 

set index for array type subclasses.

Reimplemented in TGo4CondArray.

Definition at line 379 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditStatus::SetCurrentIndex().

Int_t TGo4Condition::GetCurrentIndex   [virtual]
 

get index for array type subclasses.

Reimplemented in TGo4CondArray.

Definition at line 380 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditStatus::GetCurrentIndex().

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 381 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditStatus::GetNumberOfConditions().

Bool_t TGo4Condition::IsPolygonType   [virtual]
 

Reimplemented in TGo4CondArray, TGo4PolyCond, and TGo4WinCond.

Definition at line 375 of file TGo4Condition.cxx.

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

Bool_t TGo4Condition::IsArrayType   [virtual]
 

Reimplemented in TGo4CondArray.

Definition at line 376 of file TGo4Condition.cxx.

Referenced by TGo4WindowEditStatus::IsArray(), TGo4ConditionPainter::PaintLabel(), TGo4WindowEditStatus::SetCondition(), and TGo4WindowEditStatus::SetMultiEdit().

TVirtualPad* TGo4Condition::GetDrawPad   [inline]
 

Definition at line 298 of file TGo4Condition.h.

References fxDrawPad.

Referenced by TGo4PreviewPanelSlots::ClearAllLabels(), TGo4PreviewPanelSlots::CreateMarkerSetup(), TGo4CondArray::Draw(), Paint(), TGo4PreviewPanelSlots::RedrawAllLabels(), TGo4PreviewPanelSlots::SetPolygonsHistogram(), and TGo4PreviewPanelSlots::SetRegionsHistogram().

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

Definition at line 342 of file TGo4Condition.h.

References fbIsPainted.

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

Bool_t TGo4Condition::IsPainted   const [inline, protected]
 

Definition at line 343 of file TGo4Condition.h.

References fbIsPainted.

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

void TGo4Condition::SetDrawPad TVirtualPad *    pad [inline, protected]
 

Definition at line 345 of file TGo4Condition.h.

References fxDrawPad.

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


Friends And Related Function Documentation

friend class TGo4CondArray [friend]
 

Definition at line 34 of file TGo4Condition.h.


Member Data Documentation

const Double_t TGo4Condition::fgdUPDATEEPSILON = 0.01 [static]
 

default value for graphical update tolerance.

Definition at line 25 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 27 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbLIMITSDRAW = kTRUE [static]
 

default setting for all conditions for label draw limits flag.

Definition at line 28 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbINTDRAW = kTRUE [static]
 

default setting for all conditions for label draw integral flag.

Definition at line 29 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbXMEANDRAW = kTRUE [static]
 

default setting for all conditions for label draw xmean flag.

Definition at line 30 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbXRMSDRAW = kTRUE [static]
 

default setting for all conditions for label draw xrms flag.

Definition at line 31 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbYMEANDRAW = kFALSE [static]
 

default setting for all conditions for label draw ymean flag.

Definition at line 32 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbYRMSDRAW = kFALSE [static]
 

default setting for all conditions for label draw yrms flag.

Definition at line 33 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbXMAXDRAW = kTRUE [static]
 

default setting for all conditions for label draw xmax flag.

Definition at line 34 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbYMAXDRAW = kFALSE [static]
 

default setting for all conditions for label draw ymax flag.

Definition at line 35 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

Bool_t TGo4Condition::fgbCMAXDRAW = kTRUE [static]
 

default setting for all conditions for label draw cmax flag.

Definition at line 36 of file TGo4Condition.cxx.

Referenced by TGo4MainWindow::init(), InitLabelStyle(), SaveLabelStyle(), and TGo4MainWindow::saveOptions().

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 335 of file TGo4Condition.h.

Referenced by Paint(), ResetLabel(), TGo4WinCond::SetPainter(), TGo4PolyCond::SetPainter(), TGo4CondArray::SetPainter(), TGo4Condition(), 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 340 of file TGo4Condition.h.

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

Int_t TGo4Condition::fiDim [private]
 

Dimension (1 or 2).

Definition at line 350 of file TGo4Condition.h.

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

Bool_t TGo4Condition::fbMarkReset [private]
 

Definition at line 352 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 356 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 359 of file TGo4Condition.h.

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

Bool_t TGo4Condition::fbFalse [private]
 

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

Definition at line 362 of file TGo4Condition.h.

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

TGo4Condition* TGo4Condition::fxNextCondition [private]
 

Definition at line 364 of file TGo4Condition.h.

Referenced by TGo4Condition().

Int_t TGo4Condition::fiTrueCounts [private]
 

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

Definition at line 367 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 370 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 376 of file TGo4Condition.h.

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

Bool_t TGo4Condition::fbResult [private]
 

If fbEnabled is false, return this as result.

Definition at line 379 of file TGo4Condition.h.

Referenced by Disable(), FixedResult(), GetFlags(), Print(), 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 383 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 386 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 389 of file TGo4Condition.h.

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

TString TGo4Condition::fxHistoName [private]
 

contains associatied histogram name.

Definition at line 392 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 395 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 398 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 401 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 404 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 407 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 410 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 413 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 416 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 419 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 422 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 425 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 429 of file TGo4Condition.h.

Referenced by CheckWorkHistogram(), GetWorkHistogram(), SetWorkHistogram(), and TGo4Condition().

Bool_t TGo4Condition::fbIsChanged [private]
 

Flag to indicate that condition has been changed from graphical view.

Definition at line 432 of file TGo4Condition.h.

Referenced by IsChanged(), SetChanged(), and TGo4Condition().

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 436 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 439 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 442 of file TGo4Condition.h.

Referenced by Paint(), and TGo4Condition().

TVirtualPad* TGo4Condition::fxDrawPad [private]
 

Remember last pad used for Draw.

Needed for condition editor to prevent displaying condition on pad other than the working pad.

Definition at line 446 of file TGo4Condition.h.

Referenced by GetDrawPad(), SetDrawPad(), and TGo4Condition().


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