28 TGo4ListCond(
const char *name,
const char *title =
"Go4 list condition");
29 TGo4ListCond(
const char *name,
const char *title,
const Int_t num,
const Int_t *values);
30 TGo4ListCond(
const char *name,
const char *title,
const Int_t start,
const Int_t stop,
const Int_t step = 1);
34 virtual void SetValues(
const Int_t num,
const Int_t * values);
35 virtual void SetValues(
const Int_t start,
const Int_t stop,
const Int_t step);
38 Bool_t
Test(Double_t value)
override;
virtual void SetValues()
Set values needed, i.e.
virtual Bool_t Test()
Test if condition is true.
Condition that checks a value against a list of "good" (or bad) values.
ClassDefOverride(TGo4ListCond, 1)
number of values in list: todo: use vector here?
Double_t GetXLow() const override
For base class displays: minimum value of test list.
void Resize(size_t newsize)
void PrintCondition(Bool_t full=kFALSE) override
Prints counters and boolean members.
Double_t GetYUp() const override
For base class displays: not used for 1d list.
TGo4ListCond(const char *name, const char *title, const Int_t start, const Int_t stop, const Int_t step=1)
Bool_t Test(Double_t value) override
Bool_t UpdateFrom(TGo4Condition *cond, Bool_t counts) override
Copy values from cond to this.
void RemoveValue(UInt_t ix)
UInt_t GetNumValues() const
TGo4ListCond(const char *name, const char *title, const Int_t num, const Int_t *values)
void InsertValue(UInt_t ix, Int_t val)
Int_t GetValue(UInt_t ix) const
void SetValue(UInt_t ix, Int_t val)
virtual void SetValues(const Int_t num, const Int_t *values)
Double_t GetYLow() const override
For base class displays: not used for 1d list.
Double_t GetXUp() const override
For base class displays: maximum value of test list.
virtual void SetValues(const Int_t start, const Int_t stop, const Int_t step)
TGo4ListCond(const char *name, const char *title="Go4 list condition")
std::vector< Int_t > fxValues
Factory method to generate the subclass implementation for painter TODO: do we need graphical represe...