| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
private Bool_t | fbCMaxDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbEnabled Flag to enable/disable this condition. |
private Bool_t | fbFalse These are inverted by Invert(true), and restored by Invert(false). |
private Bool_t | fbHistogramLink is true if this condition has link to a histogram name |
private Bool_t | fbIntDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbIsChanged Flag to indicate that condition has been changed from graphical view |
private Bool_t | fbIsPainted Flag to prevent Paint() method to redraw condition views after UnDraw. |
private Bool_t | fbLabelDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbLastResult This can be used to store the last result by SetLast(bool). |
private Bool_t | fbLimitsDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbMarkReset |
private Bool_t | fbMultiEdit Flag to indicate that properties of all conditions in array are edited/used. for use in TGo4CondArray or other multi-condition implementations |
private Bool_t | fbOwnedByEditor Flag to suppress interactive deletion of condition. |
private Bool_t | fbResult If fbEnabled is false, return this as result. |
private Bool_t | fbStreamedCondition This allows to treat conditions streamed into pad |
private Bool_t | fbTrue These are inverted by Invert(true), and restored by Invert(false) |
private Bool_t | fbVisible Property to store visibility of condition on display |
private Bool_t | fbXMaxDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbXMeanDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbXRMSDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbYMaxDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbYMeanDraw If true, draw corresponding value as label on working pad |
private Bool_t | fbYRMSDraw If true, draw corresponding value as label on working pad |
private Double_t | fdUpdateEpsilon Precision for the check if graphical representation change requires update |
static Bool_t | fgbCMAXDRAW default setting for all conditions for label draw cmax flag. |
static Bool_t | fgbINTDRAW default setting for all conditions for label draw integral flag. |
static Bool_t | fgbLABELDRAW default setting for all conditions for label draw on/off flag. |
static Bool_t | fgbLIMITSDRAW default setting for all conditions for label draw limits flag. |
static Bool_t | fgbXMAXDRAW default setting for all conditions for label draw xmax flag. |
static Bool_t | fgbXMEANDRAW default setting for all conditions for label draw xmean flag. |
static Bool_t | fgbXRMSDRAW default setting for all conditions for label draw xrms flag. |
static Bool_t | fgbYMAXDRAW default setting for all conditions for label draw ymax flag. |
static Bool_t | fgbYMEANDRAW default setting for all conditions for label draw ymean flag. |
static Bool_t | fgbYRMSDRAW default setting for all conditions for label draw yrms flag. |
const static const Double_t | fgdUPDATEEPSILON default value for graphical update tolerance. |
private Int_t | fiCounts Counts the number of calls of the Test method. |
private Int_t | fiDim Dimension (1 or 2). |
private Int_t | fiTrueCounts Counts the number of calls of the Test method with true result. |
protected TH1* | fxCutHis temporary histogram used to calculate statistics on polygon cuts. |
private TVirtualPad* | fxDrawPad Remember last pad used for Draw. |
private TH1* | fxHisto Reference to currently used histogram (for statistics boxes). |
private TString | fxHistoName contains associatied histogram name |
private TGo4Condition* | fxNextCondition |
protected TGo4ConditionPainter* | fxPainter Painter instance to display the condition in root pad. |
Fields inherited from class TAttFill |
fFillColor, fFillStyle |
Fields inherited from class TAttLine |
fLineColor, fLineStyle, fLineWidth |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
TGo4Condition() | |
TGo4Condition(const char * name) | |
TGo4Condition(const char * name, const char * title) |
Destructor Summary | |
virtual synchronized | ~TGo4Condition() |
Method Summary | |
virtual void | AddCondition(TGo4Condition* next) Add another condition to this one. |
Bool_t | CheckWorkHistogram() Test if work histogram is still exisiting. |
virtual void | Clear(Option_t* opt) |
virtual Int_t | Counts() Return number of calls of the Test method. |
virtual TGo4ConditionPainter* | CreatePainter() Factory method to generate the subclass implentation for painter |
virtual void | Disable(Bool_t result) Freeze condition, on Test() return result. |
virtual void | Draw(Option_t* opt) Draw this condition on current pad |
virtual void | Enable() Enable (unfreeze) Test execution |
const Bool_t | FixedResult() Returns the value set by Disable(value). |
virtual TGo4Condition* | GetActiveCondition() To be overwritten for condition array. |
virtual Double_t | GetCMax(TH1* histo) Calculate value for histogram inside condition limits. |
virtual Int_t | GetCurrentIndex() get index for array type subclasses |
virtual TCutG* | GetCut(Bool_t owner) |
Int_t | GetDimension() |
TVirtualPad* | GetDrawPad() |
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 Double_t | GetIntegral(TH1* histo, Option_t* opt) Calculate value for histogram inside condition limits. |
Bool_t | GetLast() Returns result of last Test. |
const const Text_t* | GetLinkedHistogram() Access name of the associated histogram. |
virtual Double_t | GetMean(TH1* histo, Int_t axis) Calculate value for histogram inside condition limits. |
virtual Int_t | GetNumberOfConditions() for condition aggregates: return total number of conditions, i.e.size of condition array |
virtual Double_t | GetRMS(TH1* histo, Int_t axis) Calculate value for histogram inside condition limits. |
Double_t | GetUpdateEpsilon() |
virtual void | GetValues(Int_t& dim, Double_t& x1, Double_t& y1, Double_t& x2, Double_t& y2) |
TH1* | GetWorkHistogram() access work histogram reference |
virtual Double_t | GetXLow() |
virtual Double_t | GetXMax(TH1* histo) Calculate value for histogram inside condition limits. |
virtual Double_t | GetXUp() |
virtual Double_t | GetYLow() |
virtual Double_t | GetYMax(TH1* histo) Calculate value for histogram inside condition limits. |
virtual Double_t | GetYUp() |
void | IncCounts() Increment the test counter. |
void | IncTrueCounts() Increment the "test was true" counter. |
void | InitLabelStyle() Initialize label setup from static default variables |
virtual void | Invert(Bool_t on) Inverts return values, when on is true, i.e. isTrue() will return false, and isFalse() will return true. |
virtual Bool_t | IsArrayType() |
virtual Bool_t | IsChanged() |
virtual Bool_t | IsCMaxDraw() |
Int_t | IsEnabled() Returns true if condition is enabled |
const Bool_t | IsFalse() Use this as return, if test was false. |
Bool_t | IsHistogramLink() True if the histogram of given name is linked to this |
virtual Bool_t | IsIntDraw() |
virtual Bool_t | IsLabelDraw() |
virtual Bool_t | IsLimitsDraw() |
virtual Bool_t | IsMultiEdit() |
Bool_t | IsOwnedByEditor() |
protected const Bool_t | IsPainted() |
virtual Bool_t | IsPolygonType() |
const Bool_t | IsTrue() Use this as return, if test was true. |
virtual Bool_t | IsVisible() Visibility property for gui display in editor |
virtual Bool_t | IsXMaxDraw() |
virtual Bool_t | IsXMeanDraw() |
virtual Bool_t | IsXRMSDraw() |
virtual Bool_t | IsYMaxDraw() |
virtual Bool_t | IsYMeanDraw() |
virtual Bool_t | IsYRMSDraw() |
virtual void | MarkReset(Bool_t on) defines if condition counters shall be reset in UpdateFrom method |
virtual void | Paint(Option_t* opt) Display condition with plain root canvas and in go4 viewpanel |
virtual const void | Print(Option_t* opt) Default printout for root object lists |
virtual void | PrintBar() Prints counters and bar. |
virtual void | PrintCondition(Bool_t full) Prints counters and boolean members. |
virtual void | ResetCounts() Clear counters |
void | ResetLabel() Will reset label position to defaults |
void | SaveLabelStyle() This will save draw flags into static default setup |
void | SetChanged(Bool_t on) |
virtual void | SetCMaxDraw(Bool_t on) |
virtual void | SetCounts(Int_t truecounts, Int_t counts) Set counters |
virtual void | SetCurrentIndex(Int_t ix) set index for array type subclasses |
void | SetDimension(Int_t d) |
protected void | SetDrawPad(TVirtualPad* pad) |
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. |
void | SetHistogram(const char * name) Define the name of the associated histogram. |
void | SetHistogramLink(Bool_t on) Define if this condition has association with an analysis histogram |
virtual void | SetIntDraw(Bool_t on) |
virtual void | SetLabelDraw(Bool_t on) |
void | SetLast(Bool_t value) Can be used in Test to store the result. |
virtual void | SetLimitsDraw(Bool_t on) |
void | SetMultiEdit(Bool_t on) |
void | SetOwnedByEditor(Bool_t on) |
void | SetPadHistogram(TVirtualPad* pad) Set first histogram found in pad as working histogram. |
protected void | SetPainted(Bool_t on) |
virtual void | SetPainter(TGo4ConditionPainter* painter) 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. |
void | SetUpdateEpsilon(Double_t val) Configure graphical update tolerance for this condition individually. by default, update tolerance is set to static value fgdUPDATEEPSILON |
virtual void | SetValues() Set values needed, i.e. limits for windows or cuts for polygons |
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 | SetVisible(Bool_t on) Set/Unset visibility. |
void | SetWorkHistogram(TH1* histo) Set reference to work histogram for statistics functions. |
virtual void | SetXMaxDraw(Bool_t on) |
virtual void | SetXMeanDraw(Bool_t on) |
virtual void | SetXRMSDraw(Bool_t on) |
virtual void | SetYMaxDraw(Bool_t on) |
virtual void | SetYMeanDraw(Bool_t on) |
virtual void | SetYRMSDraw(Bool_t on) |
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 Int_t | TrueCounts() Return number of true results of the Test method call. |
virtual void | UnDraw(Option_t* opt) Erase view of this condition from the pad |
virtual Bool_t | UpdateFrom(TGo4Condition* cond, Bool_t counts) Copy values from cond to this. |
Methods inherited from class TAttFill |
Copy, GetFillColor, GetFillStyle, IsTransparent, Modify, ResetAttFill, SaveFillAttributes, SetFillAttributes, SetFillColor, SetFillStyle, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
Methods inherited from class TAttLine |
Copy, DistancetoLine, GetLineColor, GetLineStyle, GetLineWidth, ResetAttLine, SaveLineAttributes, SetLineAttributes, SetLineColor, SetLineStyle, SetLineWidth |
Methods inherited from class TNamed |
operator=, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof |
Field Detail |
private Bool_t fbCMaxDraw
private Bool_t fbEnabled
private Bool_t fbFalse
private Bool_t fbHistogramLink
private Bool_t fbIntDraw
private Bool_t fbIsChanged
private Bool_t fbIsPainted
private Bool_t fbLabelDraw
private Bool_t fbLastResult
private Bool_t fbLimitsDraw
private Bool_t fbMarkReset
private Bool_t fbMultiEdit
private Bool_t fbOwnedByEditor
private Bool_t fbResult
private Bool_t fbStreamedCondition
private Bool_t fbTrue
private Bool_t fbVisible
private Bool_t fbXMaxDraw
private Bool_t fbXMeanDraw
private Bool_t fbXRMSDraw
private Bool_t fbYMaxDraw
private Bool_t fbYMeanDraw
private Bool_t fbYRMSDraw
private Double_t fdUpdateEpsilon
public static Bool_t fgbCMAXDRAW
public static Bool_t fgbINTDRAW
public static Bool_t fgbLABELDRAW
public static Bool_t fgbLIMITSDRAW
public static Bool_t fgbXMAXDRAW
public static Bool_t fgbXMEANDRAW
public static Bool_t fgbXRMSDRAW
public static Bool_t fgbYMAXDRAW
public static Bool_t fgbYMEANDRAW
public static Bool_t fgbYRMSDRAW
public const static const Double_t fgdUPDATEEPSILON
private Int_t fiCounts
private Int_t fiDim
private Int_t fiTrueCounts
protected TH1* fxCutHis
private TVirtualPad* fxDrawPad
private TH1* fxHisto
private TString fxHistoName
private TGo4Condition* fxNextCondition
protected TGo4ConditionPainter* fxPainter
Constructor Detail |
public TGo4Condition()
public TGo4Condition(const char * name)
public TGo4Condition(const char * name, const char * title)
Method Detail |
public virtual synchronized ~TGo4Condition()
Method Detail |
public virtual void AddCondition(TGo4Condition* next)
public Bool_t CheckWorkHistogram()
public virtual void Clear(Option_t* opt)
public virtual Int_t Counts()
public virtual TGo4ConditionPainter* CreatePainter()
public virtual void Disable(Bool_t result)
public virtual void Draw(Option_t* opt)
public virtual void Enable()
public const Bool_t FixedResult()
public virtual TGo4Condition* GetActiveCondition()
public virtual Double_t GetCMax(TH1* histo)
public virtual Int_t GetCurrentIndex()
public virtual TCutG* GetCut(Bool_t owner)
public Int_t GetDimension()
public TVirtualPad* GetDrawPad()
public virtual void GetFlags(Bool_t* enabled, Bool_t* lastresult, Bool_t* markreset, Bool_t* result, Bool_t* truevalue, Bool_t* falsevalue)
public virtual Double_t GetIntegral(TH1* histo, Option_t* opt)
public Bool_t GetLast()
public const const Text_t* GetLinkedHistogram()
public virtual Double_t GetMean(TH1* histo, Int_t axis)
public virtual Int_t GetNumberOfConditions()
public virtual Double_t GetRMS(TH1* histo, Int_t axis)
public Double_t GetUpdateEpsilon()
public virtual void GetValues(Int_t& dim, Double_t& x1, Double_t& y1, Double_t& x2, Double_t& y2)
public TH1* GetWorkHistogram()
public virtual Double_t GetXLow()
public virtual Double_t GetXMax(TH1* histo)
public virtual Double_t GetXUp()
public virtual Double_t GetYLow()
public virtual Double_t GetYMax(TH1* histo)
public virtual Double_t GetYUp()
public void IncCounts()
public void IncTrueCounts()
public void InitLabelStyle()
public virtual void Invert(Bool_t on)
public virtual Bool_t IsArrayType()
public virtual Bool_t IsChanged()
public virtual Bool_t IsCMaxDraw()
public Int_t IsEnabled()
public const Bool_t IsFalse()
public Bool_t IsHistogramLink()
public virtual Bool_t IsIntDraw()
public virtual Bool_t IsLabelDraw()
public virtual Bool_t IsLimitsDraw()
public virtual Bool_t IsMultiEdit()
public Bool_t IsOwnedByEditor()
protected const Bool_t IsPainted()
public virtual Bool_t IsPolygonType()
public const Bool_t IsTrue()
public virtual Bool_t IsVisible()
public virtual Bool_t IsXMaxDraw()
public virtual Bool_t IsXMeanDraw()
public virtual Bool_t IsXRMSDraw()
public virtual Bool_t IsYMaxDraw()
public virtual Bool_t IsYMeanDraw()
public virtual Bool_t IsYRMSDraw()
public virtual void MarkReset(Bool_t on)
public virtual void Paint(Option_t* opt)
public virtual const void Print(Option_t* opt)
public virtual void PrintBar()
public virtual void PrintCondition(Bool_t full)
public virtual void ResetCounts()
public void ResetLabel()
public void SaveLabelStyle()
public void SetChanged(Bool_t on)
public virtual void SetCMaxDraw(Bool_t on)
public virtual void SetCounts(Int_t truecounts, Int_t counts)
public virtual void SetCurrentIndex(Int_t ix)
public void SetDimension(Int_t d)
protected void SetDrawPad(TVirtualPad* pad)
public virtual void SetFlags(Bool_t enabled, Bool_t lastresult, Bool_t markreset, Bool_t result, Bool_t truevalue, Bool_t falsevalue)
public void SetHistogram(const char * name)
public void SetHistogramLink(Bool_t on)
public virtual void SetIntDraw(Bool_t on)
public virtual void SetLabelDraw(Bool_t on)
public void SetLast(Bool_t value)
public virtual void SetLimitsDraw(Bool_t on)
public void SetMultiEdit(Bool_t on)
public void SetOwnedByEditor(Bool_t on)
public void SetPadHistogram(TVirtualPad* pad)
protected void SetPainted(Bool_t on)
public virtual void SetPainter(TGo4ConditionPainter* painter)
public void SetUpdateEpsilon(Double_t val)
public virtual void SetValues()
public virtual void SetValues(Double_t low1, Double_t up1)
public virtual void SetValues(Double_t low1, Double_t up1, Double_t low2, Double_t up2)
public virtual void SetValues(TCutG* newcut)
public virtual void SetValues(Double_t* x, Double_t* y, Int_t len)
public virtual void SetVisible(Bool_t on)
public void SetWorkHistogram(TH1* histo)
public virtual void SetXMaxDraw(Bool_t on)
public virtual void SetXMeanDraw(Bool_t on)
public virtual void SetXRMSDraw(Bool_t on)
public virtual void SetYMaxDraw(Bool_t on)
public virtual void SetYMeanDraw(Bool_t on)
public virtual void SetYRMSDraw(Bool_t on)
public virtual Bool_t Test()
public virtual Bool_t Test(Double_t x, Double_t y)
public virtual Bool_t Test(Double_t x)
public virtual Bool_t Test(Bool_t result)
public virtual Int_t TrueCounts()
public virtual void UnDraw(Option_t* opt)
public virtual Bool_t UpdateFrom(TGo4Condition* cond, Bool_t counts)
Association Links |
to Class TH1
to Class TGo4Condition
to Class TH1
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |