GSI Object Oriented Online Offline (Go4)
GO4-6.3.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 () |
TGo4ConditionPainter * | CreatePainter () override |
void | Draw (Option_t *opt="") override |
void | SetPainter (TGo4ConditionPainter *painter) override |
const TGo4Condition * | GetActiveCondition () const override |
TGo4Condition * | At (Int_t i) const |
TGo4WinCond * | Win (Int_t i) const |
TGo4PolyCond * | Poly (Int_t i) const |
TGo4Condition * | operator[] (Int_t i) const |
Bool_t | Test (Double_t x, Double_t y) override |
Bool_t | Test (Double_t x) override |
Double_t | GetXLow () const override |
Double_t | GetXUp () const override |
Double_t | GetYLow () const override |
Double_t | GetYUp () const override |
void | SetValues (Double_t low1, Double_t up1) override |
void | SetValues (Double_t low1, Double_t up1, Double_t low2, Double_t up2) override |
void | SetValues (TCutG *newcut) override |
void | PrintCondition (Bool_t points) override |
void | PrintBar () override |
Int_t | GetNumberOfConditions () const override |
Int_t | GetNumber () const |
const char * | GetType () const |
void | GetType (Int_t &type) const |
void | Enable () override |
void | Disable (Bool_t result) override |
void | Invert (Bool_t on) override |
void | MarkReset (Bool_t on) override |
void | ResetCounts () override |
Int_t | Counts () override |
Int_t | TrueCounts () override |
void | GetFlags (Bool_t *enabled, Bool_t *lastresult, Bool_t *markreset, Bool_t *result, Bool_t *truevalue, Bool_t *falsevalue) override |
void | SetVisible (Bool_t on) override |
Bool_t | IsVisible () const override |
void | SetChanged (Bool_t on=kTRUE) override |
Int_t | IsChanged () const override |
void | SetLabelDraw (Bool_t on) override |
Bool_t | IsLabelDraw () const override |
void | SetLimitsDraw (Bool_t on) override |
Bool_t | IsLimitsDraw () const override |
void | SetIntDraw (Bool_t on) override |
Bool_t | IsIntDraw () const override |
void | SetXMeanDraw (Bool_t on) override |
Bool_t | IsXMeanDraw () const override |
void | SetXRMSDraw (Bool_t on) override |
Bool_t | IsXRMSDraw () const override |
void | SetYMeanDraw (Bool_t on) override |
Bool_t | IsYMeanDraw () const override |
void | SetYRMSDraw (Bool_t on) override |
Bool_t | IsYRMSDraw () const override |
void | SetXMaxDraw (Bool_t on) override |
Bool_t | IsXMaxDraw () const override |
void | SetYMaxDraw (Bool_t on) override |
Bool_t | IsYMaxDraw () const override |
void | SetCMaxDraw (Bool_t on) override |
Bool_t | IsCMaxDraw () const override |
Double_t | GetIntegral (TH1 *histo, Option_t *opt="") override |
Double_t | GetMean (TH1 *histo, Int_t axis=1) override |
Double_t | GetRMS (TH1 *histo, Int_t axis=1) override |
Double_t | GetSkewness (TH1 *histo, Int_t axis=1) override |
Double_t | GetCurtosis (TH1 *histo, Int_t axis=1) override |
Double_t | GetXMax (TH1 *histo) override |
Double_t | GetYMax (TH1 *histo) override |
Double_t | GetCMax (TH1 *histo) override |
Bool_t | IsPolygonType () const override |
Bool_t | IsArrayType () const override |
void | SetCurrentIndex (Int_t ix) override |
Int_t | GetCurrentIndex () const override |
Bool_t | UpdateFrom (TGo4Condition *cond, Bool_t counts) override |
Int_t | GetMemorySize () const override |
void | SavePrimitive (std::ostream &fs, Option_t *opt="") override |
![]() | |
TGo4Condition () | |
TGo4Condition (const char *name, const char *title="Go4 Condition") | |
virtual | ~TGo4Condition () |
void | Paint (Option_t *opt="") override |
void | Draw (Option_t *opt="") override |
virtual void | UnDraw (Option_t *opt="") |
void | Pop () override |
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 |
void | Print (Option_t *opt="") const override |
void | SetLast (Bool_t value) |
Bool_t | GetLast () const |
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) |
void | Clear (Option_t *opt="") override |
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 () const |
void | SetHistogram (const char *name) |
const char * | GetLinkedHistogram () const |
virtual void | SetWorkHistogram (TH1 *histo) |
TH1 * | GetWorkHistogram () const |
void | SetUpdateEpsilon (Double_t val) |
Double_t | GetUpdateEpsilon () const |
void | SaveLabelStyle () |
void | InitLabelStyle () |
void | ResetLabel (Option_t *opt="reset") |
virtual void | SetLabelNumFormat (const char *fmt) |
virtual const char * | GetLabelNumFormat () const |
void | SetMultiEdit (Bool_t on) |
virtual Bool_t | IsMultiEdit () const |
void | SetDimension (Int_t d) |
Int_t | GetDimension () const |
void | SetOwnedByEditor (Bool_t on) |
Bool_t | IsOwnedByEditor () const |
void | DeletePainter () |
Private Attributes | |
TObjArray * | condarr {nullptr} |
Int_t | fiNumCond {0} |
Int_t | fiType {0} |
Int_t | fiSelectedCond {0} |
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=nullptr) |
![]() | |
TGo4ConditionPainter * | fxPainter {nullptr} |
TObjArray * | fxUrlOptionArray {nullptr} |
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 | ) | const |
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(), ResetCounts(), SavePrimitive(), TGo4ConditionEditor::SelectedCondition(), SetCMaxDraw(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), TGo4ViewPanel::SetSelectedMarkerByMouseClick(), SetValues(), SetVisible(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), Test(), TrueCounts(), TGo4CondArrayPainter::UnPaintCondition(), and Win().
|
overridevirtual |
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 316 of file TGo4CondArray.cxx.
References At(), TGo4Condition::Counts(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Factory method to generate the subclass implementation for painter
Reimplemented from TGo4Condition.
Definition at line 1036 of file TGo4CondArray.cxx.
References TGo4ConditionPainter::SetCondition().
|
overridevirtual |
Calls Disable for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 235 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::Disable(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().
|
override |
Reimplement Draw to set painted flag for all array conditions
Definition at line 1006 of file TGo4CondArray.cxx.
References At(), TGo4Condition::Draw(), GetNumber(), TGo4Condition::IsPainted(), and TGo4Condition::SetPainted().
|
overridevirtual |
Calls Enable for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 219 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::Enable(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Access to the currently selected condition.
Reimplemented from TGo4Condition.
Definition at line 948 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 927 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::GetCMax(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
get index for array type subclasses
Reimplemented from TGo4Condition.
Definition at line 1000 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(), IsArrayType(), 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().
|
overridevirtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 885 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetCurtosis(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Sets values of internal boolean flags to external variables.
Reimplemented from TGo4Condition.
Definition at line 283 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::GetFlags(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Calculate value for histogram inside condition limits. Option may specify "width" to scale channel sum with axes
Reimplemented from TGo4Condition.
Definition at line 817 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::GetIntegral(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 836 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::GetMean(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 1044 of file TGo4CondArray.cxx.
References At(), condarr, TGo4Condition::GetMemorySize(), and GetNumberOfConditions().
Referenced by IsArrayType().
Int_t TGo4CondArray::GetNumber | ( | ) | const |
Returns number of conditions in array. Same as GetNumberOfConditions, but kept for backward compatibility
Definition at line 201 of file TGo4CondArray.cxx.
References condarr.
Referenced by Draw(), GetNumberOfConditions(), TGo4ViewPanel::GetSelectedSlot(), TGo4CondArrayPainter::PaintCondition(), TGo4ViewPanel::RefreshButtons(), TGo4ConditionEditor::RefreshWidget(), SavePrimitive(), TGo4ViewPanel::SetSelectedMarkerByMouseClick(), and TGo4CondArrayPainter::UnPaintCondition().
|
overridevirtual |
for condition aggregates: return total number of conditions, i.e.size of condition array
Reimplemented from TGo4Condition.
Definition at line 195 of file TGo4CondArray.cxx.
References GetNumber().
Referenced by GetMemorySize().
|
overridevirtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 857 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetRMS(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 871 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 207 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 214 of file TGo4CondArray.cxx.
References fiType.
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 342 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetXLow(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 899 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetXMax(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 355 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetXUp(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 368 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetYLow(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition.
Definition at line 913 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetYMax(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 381 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::GetYUp(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Calls Invert for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 251 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::Invert(), and TGo4Condition::IsMultiEdit().
|
inlineoverridevirtual |
Reimplemented from TGo4Condition.
Definition at line 225 of file TGo4CondArray.h.
References GetCurrentIndex(), GetMemorySize(), SavePrimitive(), SetCurrentIndex(), and UpdateFrom().
|
overridevirtual |
we overwrite single condition changed property
Reimplemented from TGo4Condition.
Definition at line 966 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::IsChanged().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 803 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsCMaxDraw(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 586 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsIntDraw(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 524 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsLabelDraw(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 555 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsLimitsDraw(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 977 of file TGo4CondArray.cxx.
References At(), fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), TGo4Condition::IsPolygonType(), and kGO4CONDPOLYGON.
|
overridevirtual |
we overwrite single condition visibility getter
Reimplemented from TGo4Condition.
Definition at line 493 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsVisible().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 741 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXMaxDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 617 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXMeanDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 648 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXRMSDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 772 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYMaxDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 679 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYMeanDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 710 of file TGo4CondArray.cxx.
References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYRMSDraw().
|
overridevirtual |
defines if condition counters shall be reset in UpdateFrom method
Reimplemented from TGo4Condition.
Definition at line 267 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::MarkReset().
TGo4Condition * TGo4CondArray::operator[] | ( | Int_t | i | ) | const |
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 | ) | const |
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.
|
overridevirtual |
Prints counters and bar.
Reimplemented from TGo4Condition.
Definition at line 180 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::PrintBar().
|
overridevirtual |
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 167 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::PrintCondition().
|
overridevirtual |
Calls ResetCounts for all conditions (multi edit mode) or for currently selected (single edit mode)
Reimplemented from TGo4Condition.
Definition at line 300 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::ResetCounts().
Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().
|
override |
Standard way to store parameter in form of macro
Definition at line 1065 of file TGo4CondArray.cxx.
References At(), GetNumber(), GetType(), and TGo4Condition::MakeScript().
Referenced by IsArrayType().
|
overridevirtual |
we overwrite single condition changed property
Reimplemented from TGo4Condition.
Definition at line 957 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::SetChanged().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 786 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetCMaxDraw().
|
overridevirtual |
set index for array type subclasses
Reimplemented from TGo4Condition.
Definition at line 994 of file TGo4CondArray.cxx.
References fiSelectedCond.
Referenced by IsArrayType(), and TGo4ConditionEditor::SelectedCondition().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 569 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetIntDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 507 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetLabelDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 538 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetLimitsDraw().
|
overridevirtual |
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 1022 of file TGo4CondArray.cxx.
References TGo4Condition::fxPainter, and TGo4Log::Warn().
|
overridevirtual |
Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). Window conditions only.
Reimplemented from TGo4Condition.
Definition at line 395 of file TGo4CondArray.cxx.
References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kGO4CONDWINDOW, and TGo4Condition::SetValues().
Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().
|
overridevirtual |
Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). Window conditions only.
Reimplemented from TGo4Condition.
Definition at line 412 of file TGo4CondArray.cxx.
References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kGO4CONDWINDOW, and TGo4Condition::SetValues().
|
overridevirtual |
Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). Polygon conditions only.
Reimplemented from TGo4Condition.
Definition at line 430 of file TGo4CondArray.cxx.
References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kGO4CONDPOLYGON, and TGo4Condition::SetValues().
|
overridevirtual |
we overwrite single condition visibility setter
Reimplemented from TGo4Condition.
Definition at line 476 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetVisible().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 724 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXMaxDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 600 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXMeanDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 631 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXRMSDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 755 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYMaxDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 662 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYMeanDraw().
|
overridevirtual |
Reimplemented from TGo4Condition.
Definition at line 693 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYRMSDraw().
|
overridevirtual |
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 123 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsMultiEdit(), and TGo4Condition::Test().
|
overridevirtual |
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 145 of file TGo4CondArray.cxx.
References At(), condarr, GetCurrentIndex(), TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsMultiEdit(), and TGo4Condition::Test().
|
overridevirtual |
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 329 of file TGo4CondArray.cxx.
References At(), TGo4Condition::Counts(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().
|
overridevirtual |
Copy values from cond to this. When counts is true, copy also counters.
Reimplemented from TGo4Condition.
Definition at line 448 of file TGo4CondArray.cxx.
References condarr, and TGo4Condition::UpdateFrom().
Referenced by IsArrayType().
TGo4WinCond * TGo4CondArray::Win | ( | Int_t | i | ) | const |
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 239 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 242 of file TGo4CondArray.h.
Referenced by TGo4CondArray().
|
private |
Index of selected condition
Definition at line 248 of file TGo4CondArray.h.
Referenced by GetCurrentIndex(), and SetCurrentIndex().
|
private |
Condition type ID (kGO4CONDWINDOW or kGO4CONDPOLYGON)
Definition at line 245 of file TGo4CondArray.h.
Referenced by GetType(), IsPolygonType(), Poly(), SetValues(), TGo4CondArray(), and Win().