GSI Object Oriented Online Offline (Go4)
GO4-6.2.0
|
#include <TGo4CondArray.h>
Public Member Functions | |
TGo4CondArray () | |
TGo4CondArray (const char *name, Int_t elements, const char *type) | |
TGo4CondArray (const char *name, Int_t elements, Int_t contype) | |
virtual | ~TGo4CondArray () |
virtual TGo4ConditionPainter * | CreatePainter () |
virtual void | Draw (Option_t *opt="") |
virtual void | SetPainter (TGo4ConditionPainter *painter) |
virtual TGo4Condition * | GetActiveCondition () |
TGo4Condition * | At (Int_t i) |
TGo4WinCond * | Win (Int_t i) |
TGo4PolyCond * | Poly (Int_t i) |
TGo4Condition * | operator[] (Int_t i) |
virtual Bool_t | Test (Double_t x, Double_t y) |
virtual Bool_t | Test (Double_t x) |
virtual Double_t | GetXLow () |
virtual Double_t | GetXUp () |
virtual Double_t | GetYLow () |
virtual Double_t | GetYUp () |
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) |
void | PrintCondition (Bool_t points) |
virtual void | PrintBar () |
virtual Int_t | GetNumberOfConditions () |
Int_t | GetNumber () const |
const char * | GetType () const |
void | GetType (Int_t &type) const |
virtual void | Enable () |
virtual void | Disable (Bool_t result) |
virtual void | Invert (Bool_t on) |
virtual void | MarkReset (Bool_t on) |
virtual void | ResetCounts () |
virtual Int_t | Counts () |
virtual Int_t | TrueCounts () |
virtual void | GetFlags (Bool_t *enabled, Bool_t *lastresult, Bool_t *markreset, Bool_t *result, Bool_t *truevalue, Bool_t *falsevalue) |
virtual void | SetVisible (Bool_t on) |
virtual Bool_t | IsVisible () |
virtual void | SetChanged (Bool_t on=kTRUE) |
virtual Int_t | IsChanged () |
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 Double_t | GetIntegral (TH1 *histo, Option_t *opt="") |
virtual Double_t | GetMean (TH1 *histo, Int_t axis=1) |
virtual Double_t | GetRMS (TH1 *histo, Int_t axis=1) |
virtual Double_t | GetSkewness (TH1 *histo, Int_t axis=1) |
virtual Double_t | GetCurtosis (TH1 *histo, Int_t axis=1) |
virtual Double_t | GetXMax (TH1 *histo) |
virtual Double_t | GetYMax (TH1 *histo) |
virtual Double_t | GetCMax (TH1 *histo) |
virtual Bool_t | IsPolygonType () |
virtual Bool_t | IsArrayType () |
virtual void | SetCurrentIndex (Int_t ix) |
virtual Int_t | GetCurrentIndex () |
virtual Bool_t | UpdateFrom (TGo4Condition *cond, Bool_t counts) |
virtual Int_t | GetMemorySize () |
virtual void | SavePrimitive (std::ostream &fs, Option_t *="") |
![]() | |
TGo4Condition () | |
TGo4Condition (const char *name, const char *title="Go4 Condition") | |
virtual | ~TGo4Condition () |
virtual void | Paint (Option_t *opt="") |
virtual void | UnDraw (Option_t *opt="") |
virtual void | Pop () |
virtual void | SetCounts (Int_t truecounts, Int_t counts) |
Bool_t | IsEnabled () const |
virtual Bool_t | Test () |
virtual void | SetValues () |
virtual void | SetValues (Double_t *x, Double_t *y, Int_t len) |
virtual void | AddCondition (TGo4Condition *next) |
void | IncCounts () |
void | IncTrueCounts () |
Bool_t | IsTrue () const |
Bool_t | IsFalse () const |
Bool_t | FixedResult () const |
virtual void | Print (Option_t *opt="") const |
void | SetLast (Bool_t value) |
Bool_t | GetLast () |
virtual Bool_t | UpdateFromUrl (const char *rest_url_opt) |
virtual void | GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) |
virtual TCutG * | GetCut (Bool_t owner) |
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) |
void | SetHistogramLink (Bool_t on) |
Bool_t | IsHistogramLink () |
void | SetHistogram (const char *name) |
const char * | GetLinkedHistogram () |
virtual void | SetWorkHistogram (TH1 *histo) |
TH1 * | GetWorkHistogram () |
void | SetUpdateEpsilon (Double_t val) |
Double_t | GetUpdateEpsilon () |
void | SaveLabelStyle () |
void | InitLabelStyle () |
void | ResetLabel (Option_t *opt="reset") |
virtual void | SetLabelNumFormat (const char *fmt) |
virtual const char * | GetLabelNumFormat () |
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 () |
void | DeletePainter () |
Private Attributes | |
TObjArray * | condarr |
Int_t | fiNumCond |
Int_t | fiType |
Int_t | fiSelectedCond |
Additional Inherited Members | |
![]() | |
static void | SetGlobalStyle (Bool_t LABELDRAW, Bool_t LIMITSDRAW, Bool_t INTDRAW, Bool_t XMEANDRAW, Bool_t YMEANDRAW, Bool_t XRMSDRAW, Bool_t YRMSDRAW, Bool_t XMAXDRAW, Bool_t YMAXDRAW, Bool_t CMAXDRAW, const char *NUMFORMAT) |
static void | GetGlobalStyle (Bool_t &LABELDRAW, Bool_t &LIMITSDRAW, Bool_t &INTDRAW, Bool_t &XMEANDRAW, Bool_t &YMEANDRAW, Bool_t &XRMSDRAW, Bool_t &YRMSDRAW, Bool_t &XMAXDRAW, Bool_t &YMAXDRAW, Bool_t &CMAXDRAW, TString &NUMFORMAT) |
![]() | |
static const Double_t | fgdUPDATEEPSILON =0.01 |
static Bool_t | fgbLABELDRAW =kTRUE |
static Bool_t | fgbLIMITSDRAW =kTRUE |
static Bool_t | fgbINTDRAW =kTRUE |
static Bool_t | fgbXMEANDRAW =kTRUE |
static Bool_t | fgbXRMSDRAW =kTRUE |
static Bool_t | fgbYMEANDRAW =kFALSE |
static Bool_t | fgbYRMSDRAW =kFALSE |
static Bool_t | fgbXMAXDRAW =kTRUE |
static Bool_t | fgbYMAXDRAW =kFALSE |
static Bool_t | fgbCMAXDRAW =kTRUE |
static TString | fgxNUMFORMAT ="%.4E" |
static TString | fgxURL_RESET ="resetcounters" |
static TString | fgxURL_RESULT ="resultmode" |
static TString | fgxURL_INVERT ="invertmode" |
static TString | fgxURL_VISIBLE ="visible" |
static TString | fgxURL_LABEL ="labeldraw" |
static TString | fgxURL_LIMITS ="limitsdraw" |
static TString | fgxURL_INTEGRAL ="intdraw" |
static TString | fgxURL_XMEAN ="xmeandraw" |
static TString | fgxURL_XRMS ="xrmsdraw" |
static TString | fgxURL_YMEAN ="ymeandraw" |
static TString | fgxURL_YRMS ="yrmsdraw" |
static TString | fgxURL_XMAX ="xmaxdraw" |
static TString | fgxURL_YMAX ="ymaxdraw" |
static TString | fgxURL_CMAX ="cmaxdraw" |
![]() | |
void | BuildUrlOptionArray (const char *rest_url_opt) |
Bool_t | UrlOptionHasKey (const char *key) |
TString | GetUrlOptionAsString (const char *key, TString def_value) |
Int_t | GetUrlOptionAsInt (const char *key, Int_t def_value) |
Double_t | GetUrlOptionAsDouble (const char *key, Double_t def_value) |
void | SetPainted (Bool_t on) |
Bool_t | IsPainted () const |
const char * | MakeScript (std::ostream &out, const char *varname, Option_t *opt="", const char *arrextraargs=0) |
![]() | |
TGo4ConditionPainter * | fxPainter |
TObjArray * | fxUrlOptionArray |
Definition at line 23 of file TGo4CondArray.h.
TGo4CondArray::TGo4CondArray | ( | ) |
Definition at line 48 of file TGo4CondArray.cxx.
TGo4CondArray::TGo4CondArray | ( | const char * | name, |
Int_t | elements, | ||
const char * | type | ||
) |
Constructor. type can be "TGo4WinCond" or "TGo4PolyCond"
Definition at line 84 of file TGo4CondArray.cxx.
References TGo4PolyCond::CleanupSpecials(), condarr, fiNumCond, fiType, kGO4CONDPOLYGON, and kGO4CONDWINDOW.
TGo4CondArray::TGo4CondArray | ( | const char * | name, |
Int_t | elements, | ||
Int_t | contype | ||
) |
Constructor. contype can be kGO4CONDWINDOW or kGO4CONDPOLYGON
Definition at line 57 of file TGo4CondArray.cxx.
References TGo4PolyCond::CleanupSpecials(), condarr, fiNumCond, fiType, kGO4CONDPOLYGON, and kGO4CONDWINDOW.
|
virtual |
Definition at line 107 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::fxPainter.
TGo4Condition * TGo4CondArray::At | ( | Int_t | i | ) |
Returns condition object i from object array. See also Poly and Win.
Definition at line 42 of file TGo4CondArray.cxx.
References condarr.
Referenced by Counts(), Disable(), Draw(), Enable(), GetActiveCondition(), GetCMax(), GetCurtosis(), GetFlags(), GetIntegral(), GetMean(), GetMemorySize(), GetRMS(), TGo4ViewPanel::GetSelectedSlot(), GetSkewness(), GetXLow(), GetXMax(), GetXUp(), GetYLow(), GetYMax(), GetYUp(), Invert(), IsCMaxDraw(), IsIntDraw(), IsLabelDraw(), IsLimitsDraw(), IsPolygonType(), IsVisible(), IsXMaxDraw(), IsXMeanDraw(), IsXRMSDraw(), IsYMaxDraw(), IsYMeanDraw(), IsYRMSDraw(), TGo4CreateNewCondition::MakeCondition(), MarkReset(), TGo4CondArrayPainter::PaintCondition(), Poly(), TGo4ViewPanel::RefreshButtons(), ResetCounts(), SavePrimitive(), TGo4ConditionEditor::SelectedCondition(), SetCMaxDraw(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), TGo4ViewPanel::SetSelectedMarkerByMouseClick(), SetValues(), SetVisible(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), Test(), TrueCounts(), TGo4CondArrayPainter::UnPaintCondition(), and Win().
|
virtual |
Return number of calls of the Test method. For complete array (multi edit mode) or for currently selected condition (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 346 of file TGo4CondArray.cxx.
References At(), TGo4Condition::Counts(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
virtual |
Factory method to generate the subclass implementation for painter
Reimplemented from TGo4Condition.
Definition at line 1118 of file TGo4CondArray.cxx.
References TGo4ConditionPainter::SetCondition().
|
virtual |
Calls Disable for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 243 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::Disable(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().
|
virtual |
Reimplement Draw to set painted flag for all array conditions
Reimplemented from TGo4Condition.
Definition at line 1086 of file TGo4CondArray.cxx.
References At(), TGo4Condition::Draw(), GetNumber(), TGo4Condition::IsPainted(), and TGo4Condition::SetPainted().
|
virtual |
Calls Enable for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 224 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::Enable(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
virtual |
Access to the currently selected condition.
Reimplemented from TGo4Condition.
Definition at line 1028 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
virtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 1005 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::GetCMax(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
virtual |
get index for array type subclasses
Reimplemented from TGo4Condition.
Definition at line 1080 of file TGo4CondArray.cxx.
References fiSelectedCond.
Referenced by Counts(), Disable(), Enable(), GetActiveCondition(), GetCMax(), GetCurtosis(), GetFlags(), GetIntegral(), GetMean(), GetRMS(), GetSkewness(), GetXLow(), GetXMax(), GetXUp(), GetYLow(), GetYMax(), GetYUp(), Invert(), IsCMaxDraw(), IsIntDraw(), IsLabelDraw(), IsLimitsDraw(), IsPolygonType(), IsVisible(), IsXMaxDraw(), IsXMeanDraw(), IsXRMSDraw(), IsYMaxDraw(), IsYMeanDraw(), IsYRMSDraw(), MarkReset(), TGo4CondArrayPainter::PaintCondition(), ResetCounts(), SetCMaxDraw(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetValues(), SetVisible(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), Test(), and TrueCounts().
|
virtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 963 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetCurtosis(), and TGo4Condition::IsMultiEdit().
|
virtual |
Sets values of internal boolean flags to external variables.
Reimplemented from TGo4Condition.
Definition at line 302 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::GetFlags(), and TGo4Condition::IsMultiEdit().
|
virtual |
Calculate value for histogram inside condition limits. Option may specify "width" to scale channel sum with axes
Reimplemented from TGo4Condition.
Definition at line 892 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::GetIntegral(), and TGo4Condition::IsMultiEdit().
|
virtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 913 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::GetMean(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 1125 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::GetMemorySize(), and GetNumberOfConditions().
Int_t TGo4CondArray::GetNumber | ( | ) | const |
Returns number of conditions in array. Same as GetNumberOfConditions, but kept for backward compatibility
Definition at line 206 of file TGo4CondArray.cxx.
References condarr.
Referenced by Draw(), GetNumberOfConditions(), TGo4ViewPanel::GetSelectedSlot(), TGo4CondArrayPainter::PaintCondition(), TGo4ViewPanel::RefreshButtons(), TGo4ConditionEditor::RefreshWidget(), SavePrimitive(), TGo4ViewPanel::SetSelectedMarkerByMouseClick(), and TGo4CondArrayPainter::UnPaintCondition().
|
virtual |
for condition aggregates: return total number of conditions, i.e.size of condition array
Reimplemented from TGo4Condition.
Definition at line 200 of file TGo4CondArray.cxx.
References GetNumber().
Referenced by GetMemorySize().
|
virtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 935 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetRMS(), and TGo4Condition::IsMultiEdit().
|
virtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 949 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetSkewness(), and TGo4Condition::IsMultiEdit().
const char * TGo4CondArray::GetType | ( | ) | const |
Returns class name of conditions.
Definition at line 212 of file TGo4CondArray.cxx.
References condarr.
Referenced by SavePrimitive().
void TGo4CondArray::GetType | ( | Int_t & | type | ) | const |
Returns condition type ID (kGO4CONDWINDOW=1 or kGO4CONDPOLYGON=2).
Definition at line 219 of file TGo4CondArray.cxx.
References fiType.
|
virtual |
Noop, return true.
Reimplemented from TGo4Condition.
Definition at line 376 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetXLow(), and TGo4Condition::IsMultiEdit().
|
virtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 977 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetXMax(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 391 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetXUp(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 406 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetYLow(), and TGo4Condition::IsMultiEdit().
|
virtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 991 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetYMax(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 421 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetYUp(), and TGo4Condition::IsMultiEdit().
|
virtual |
Calls Invert for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 263 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::Invert(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 120 of file TGo4CondArray.cxx.
|
virtual |
we overwrite single condition changed property
Reimplemented from TGo4Condition.
Definition at line 1045 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::IsChanged().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 877 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsCMaxDraw(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 653 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsIntDraw(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 584 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsLabelDraw(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 619 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsLimitsDraw(), and TGo4Condition::IsMultiEdit().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 1056 of file TGo4CondArray.cxx.
References At(), fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), TGo4Condition::IsPolygonType(), and kGO4CONDPOLYGON.
|
virtual |
we overwrite single condition visibility getter
Reimplemented from TGo4Condition.
Definition at line 551 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsVisible().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 813 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXMaxDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 685 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXMeanDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 717 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXRMSDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 845 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYMaxDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 749 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYMeanDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 781 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYRMSDraw().
|
virtual |
defines if condition counters shall be reset in UpdateFrom method
Reimplemented from TGo4Condition.
Definition at line 283 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::MarkReset().
TGo4Condition * TGo4CondArray::operator[] | ( | Int_t | i | ) |
Returns condition object i from object array. Same as At(). Must cast for window or polygon condition methods!
Definition at line 37 of file TGo4CondArray.cxx.
References condarr.
TGo4PolyCond * TGo4CondArray::Poly | ( | Int_t | i | ) |
Returns polygon condition object i from object array. Checks if object is polygon condition, if not return 0.
Definition at line 31 of file TGo4CondArray.cxx.
References At(), fiType, and kGO4CONDPOLYGON.
|
virtual |
Prints counters and bar.
Reimplemented from TGo4Condition.
Definition at line 185 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::PrintBar().
|
virtual |
Noop Calls Print for all conditions in the array. Checks for condition type. If points is true, print Cut or Limits, respectively.
Reimplemented from TGo4Condition.
Definition at line 172 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::PrintCondition().
|
virtual |
Calls ResetCounts for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 327 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::ResetCounts().
Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().
|
virtual |
Standard way to store parameter in form of macro
Definition at line 1144 of file TGo4CondArray.cxx.
References At(), GetNumber(), GetType(), and TGo4Condition::MakeScript().
|
virtual |
we overwrite single condition changed property
Reimplemented from TGo4Condition.
Definition at line 1037 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::SetChanged().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 859 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetCMaxDraw().
|
virtual |
set index for array type subclasses
Reimplemented from TGo4Condition.
Definition at line 1074 of file TGo4CondArray.cxx.
References fiSelectedCond.
Referenced by TGo4ConditionEditor::SelectedCondition().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 635 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetIntDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 566 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetLabelDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 600 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetLimitsDraw().
|
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 from TGo4Condition.
Definition at line 1103 of file TGo4CondArray.cxx.
References TGo4Condition::fxPainter, and TGo4Log::Warn().
|
virtual |
Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). Window conditions only.
Reimplemented from TGo4Condition.
Definition at line 438 of file TGo4CondArray.cxx.
References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kGO4CONDWINDOW, and TGo4Condition::SetValues().
Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().
|
virtual |
Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). Window conditions only.
Reimplemented from TGo4Condition.
Definition at line 458 of file TGo4CondArray.cxx.
References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kGO4CONDWINDOW, and TGo4Condition::SetValues().
|
virtual |
Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). Polygon conditions only.
Reimplemented from TGo4Condition.
Definition at line 478 of file TGo4CondArray.cxx.
References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kGO4CONDPOLYGON, and TGo4Condition::SetValues().
|
virtual |
we overwrite single condition visibility setter
Reimplemented from TGo4Condition.
Definition at line 532 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetVisible().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 795 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXMaxDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 667 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXMeanDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 699 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXRMSDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 827 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYMaxDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 731 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYMeanDraw().
|
virtual |
Reimplemented from TGo4Condition.
Definition at line 763 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYRMSDraw().
|
virtual |
Test currently selected condition(single edit mode). In multi edit mode, all conditions are tested with values and counters are incremented according result. Here return value is logically anded from all results.
Reimplemented from TGo4Condition.
Definition at line 124 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsMultiEdit(), and TGo4Condition::Test().
|
virtual |
Test currently selected condition(single edit mode). In multi edit mode, all conditions are tested with values and counters are incremented according result. Here return value is logically anded from all results.
Reimplemented from TGo4Condition.
Definition at line 148 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsMultiEdit(), and TGo4Condition::Test().
|
virtual |
Return number of true results of the Test method call. For complete array (multi edit mode) or for currently selected condition (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 361 of file TGo4CondArray.cxx.
References At(), TGo4Condition::Counts(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
virtual |
Copy values from cond to this. When counts is true, copy also counters.
Reimplemented from TGo4Condition.
Definition at line 499 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::UpdateFrom().
TGo4WinCond * TGo4CondArray::Win | ( | Int_t | i | ) |
Returns window condition object i from object array. If the conditions is no window, returns 0. Must cast for window or polygon condition methods!
Definition at line 25 of file TGo4CondArray.cxx.
References At(), fiType, and kGO4CONDWINDOW.
|
private |
The object array of conditions
Definition at line 243 of file TGo4CondArray.h.
Referenced by At(), Disable(), Enable(), GetCMax(), GetFlags(), GetIntegral(), GetMean(), GetMemorySize(), GetNumber(), GetType(), Invert(), IsChanged(), MarkReset(), operator[](), PrintBar(), PrintCondition(), ResetCounts(), SetChanged(), SetCMaxDraw(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetValues(), SetVisible(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), Test(), TGo4CondArray(), UpdateFrom(), and ~TGo4CondArray().
|
private |
Number of conditions in array.
Definition at line 246 of file TGo4CondArray.h.
Referenced by TGo4CondArray().
|
private |
Index of selected condition
Definition at line 252 of file TGo4CondArray.h.
Referenced by GetCurrentIndex(), and SetCurrentIndex().
|
private |
Condition type ID (kGO4CONDWINDOW or kGO4CONDPOLYGON)
Definition at line 249 of file TGo4CondArray.h.
Referenced by GetType(), IsPolygonType(), Poly(), SetValues(), TGo4CondArray(), and Win().