Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4CondArray Class Reference

#include <TGo4CondArray.h>

Inheritance diagram for TGo4CondArray:

TGo4Condition List of all members.

Public Member Functions

 TGo4CondArray ()
 TGo4CondArray (const char *name, Int_t elements, const char *type)
 Constructor.
 TGo4CondArray (const char *name, Int_t elements, Int_t contype)
 Constructor.
virtual ~TGo4CondArray ()
virtual TGo4ConditionPainterCreatePainter ()
 Factory method to generate the subclass implementation for painter.
virtual void Draw (Option_t *opt="")
 Reimplement Draw to set painted flag for all array conditions.
virtual void SetPainter (TGo4ConditionPainter *painter)
 Replace default painter of this condition by external one.
virtual TGo4ConditionGetActiveCondition ()
 Access to the currently selected condition.
TGo4ConditionAt (Int_t i)
 Returns condition object i from object array.
TGo4WinCondWin (Int_t i)
 Returns window condition object i from object array.
TGo4PolyCondPoly (Int_t i)
 Returns polygon condition object i from object array.
TGo4Conditionoperator[] (Int_t i)
 Returns condition object i from object array.
virtual Bool_t Test (Double_t x, Double_t y)
 Test currently selected condition(single edit mode).
virtual Bool_t Test (Double_t x)
 Test currently selected condition(single edit mode).
virtual Double_t GetXLow ()
 Noop, return true.
virtual Double_t GetXUp ()
virtual Double_t GetYLow ()
virtual Double_t GetYUp ()
virtual void SetValues (Double_t low1, Double_t up1)
 Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode).
virtual void SetValues (Double_t low1, Double_t up1, Double_t low2, Double_t up2)
 Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode).
virtual void SetValues (TCutG *newcut)
 Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode).
void PrintCondition (Bool_t points)
 Calls Print for all conditions in the array.
virtual void PrintBar ()
 Prints counters and bar.
virtual Int_t GetNumberOfConditions ()
 for condition aggregates: return total number of conditions, i.e.size of condition array
Int_t GetNumber () const
 Returns number of conditions in array.
const char * GetType () const
 Returns class name of conditions.
void GetType (Int_t &type) const
 Returns condition type ID (kWINDOW=1 or kPOLYGON=2).
virtual void Enable ()
 Calls Enable for all conditions (multi edit mode) or for currently selected (single edit mode).
virtual void Disable (Bool_t result)
 Calls Disable for all conditions (multi edit mode) or for currently selected (single edit mode).
virtual void Invert (Bool_t on)
 Calls Invert for all conditions (multi edit mode) or for currently selected (single edit mode).
virtual void MarkReset (Bool_t on)
 defines if condition counters shall be reset in UpdateFrom method
virtual void ResetCounts ()
 Calls ResetCounts for all conditions (multi edit mode) or for currently selected (single edit mode).
virtual Int_t Counts ()
 Return number of calls of the Test method.
virtual Int_t TrueCounts ()
 Return number of true results of the Test method call.
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 void SetVisible (Bool_t on)
 we overwrite single condition visibility setter
virtual Bool_t IsVisible ()
 we overwrite single condition visibility getter
virtual void SetChanged (Bool_t on)
 we overwrite single condition changed property
virtual Int_t IsChanged ()
 we overwrite single condition changed property
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="")
 Calculate value for histogram inside condition limits.
virtual Double_t GetMean (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits.
virtual Double_t GetRMS (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits.
virtual Double_t GetXMax (TH1 *histo)
 Calculate value for histogram inside condition limits.
virtual Double_t GetYMax (TH1 *histo)
 Calculate value for histogram inside condition limits.
virtual Double_t GetCMax (TH1 *histo)
 Calculate value for histogram inside condition limits.
virtual Bool_t IsPolygonType ()
virtual Bool_t IsArrayType ()
virtual void SetCurrentIndex (Int_t ix)
 set index for array type subclasses
virtual Int_t GetCurrentIndex ()
 get index for array type subclasses
virtual Bool_t UpdateFrom (TGo4Condition *cond, Bool_t counts)
 Copy values from cond to this.
virtual Int_t GetMemorySize ()

Private Attributes

TObjArray * condarr
 The object array of conditions.
Int_t fiNumCond
 Number of conditions in array.
Int_t fiType
 Condition type ID (kWINDOW or kPOLYGON).
Int_t fiSelectedCond
 Index of selected condition.

Constructor & Destructor Documentation

TGo4CondArray::TGo4CondArray  ) 
 

Definition at line 51 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 90 of file TGo4CondArray.cxx.

References condarr, fiNumCond, fiType, kPOLYGON, and kWINDOW.

TGo4CondArray::TGo4CondArray const char *  name,
Int_t  elements,
Int_t  contype
 

Constructor.

contype can be kWINDOW or kPOLYGON

Definition at line 60 of file TGo4CondArray.cxx.

References condarr, fiNumCond, fiType, kPOLYGON, and kWINDOW.

TGo4CondArray::~TGo4CondArray  )  [virtual]
 

Definition at line 115 of file TGo4CondArray.cxx.

References condarr, and TGo4Condition::fxPainter.


Member Function Documentation

TGo4ConditionPainter * TGo4CondArray::CreatePainter  )  [virtual]
 

Factory method to generate the subclass implementation for painter.

Reimplemented from TGo4Condition.

Definition at line 1111 of file TGo4CondArray.cxx.

References TGo4ConditionPainter::SetCondition().

void TGo4CondArray::Draw Option_t *  opt = ""  )  [virtual]
 

Reimplement Draw to set painted flag for all array conditions.

Reimplemented from TGo4Condition.

Definition at line 1079 of file TGo4CondArray.cxx.

References At(), TGo4Condition::Draw(), GetNumber(), TGo4Condition::IsPainted(), and TGo4Condition::SetPainted().

void TGo4CondArray::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 from TGo4Condition.

Definition at line 1096 of file TGo4CondArray.cxx.

References TGo4Condition::fxPainter, and TGo4Log::Warn().

TGo4Condition * TGo4CondArray::GetActiveCondition  )  [virtual]
 

Access to the currently selected condition.

Reimplemented from TGo4Condition.

Definition at line 1020 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().

TGo4Condition * TGo4CondArray::At Int_t  i  ) 
 

Returns condition object i from object array.

See also Poly and Win.

Definition at line 46 of file TGo4CondArray.cxx.

References condarr.

Referenced by Counts(), Disable(), Draw(), Enable(), GetActiveCondition(), GetCMax(), GetFlags(), GetIntegral(), GetMean(), GetMemorySize(), GetRMS(), GetXLow(), GetXMax(), GetXUp(), GetYLow(), GetYMax(), GetYUp(), Invert(), IsCMaxDraw(), IsIntDraw(), IsLabelDraw(), IsLimitsDraw(), IsPolygonType(), IsVisible(), IsXMaxDraw(), IsXMeanDraw(), IsXRMSDraw(), IsYMaxDraw(), IsYMeanDraw(), IsYRMSDraw(), MarkReset(), TGo4CondArrayPainter::PaintCondition(), Poly(), ResetCounts(), SetCMaxDraw(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetValues(), SetVisible(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), SetYRMSDraw(), Test(), TrueCounts(), TGo4CondArrayPainter::UnPaintCondition(), and Win().

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 32 of file TGo4CondArray.cxx.

References At(), fiType, and kWINDOW.

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 37 of file TGo4CondArray.cxx.

References At(), fiType, and kPOLYGON.

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 42 of file TGo4CondArray.cxx.

References condarr.

Bool_t TGo4CondArray::Test Double_t  x,
Double_t  y
[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 132 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsMultiEdit(), and TGo4Condition::Test().

Bool_t TGo4CondArray::Test Double_t  x  )  [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 155 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsMultiEdit(), and TGo4Condition::Test().

Double_t TGo4CondArray::GetXLow  )  [virtual]
 

Noop, return true.

Reimplemented from TGo4Condition.

Definition at line 396 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::GetXLow(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetXUp  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 411 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::GetXUp(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetYLow  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 426 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::GetYLow(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetYUp  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 441 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::GetYUp(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::SetValues Double_t  low1,
Double_t  up1
[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(), kWINDOW, and TGo4Condition::SetValues().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4CondArray::SetValues Double_t  low1,
Double_t  up1,
Double_t  low2,
Double_t  up2
[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 478 of file TGo4CondArray.cxx.

References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kWINDOW, and TGo4Condition::SetValues().

void TGo4CondArray::SetValues TCutG *  newcut  )  [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 498 of file TGo4CondArray.cxx.

References At(), condarr, fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), kPOLYGON, and TGo4Condition::SetValues().

void TGo4CondArray::PrintCondition Bool_t  points  )  [virtual]
 

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 179 of file TGo4CondArray.cxx.

References condarr, TGo4Condition::Print(), TGo4PolyCond::PrintCondition(), and TGo4WinCond::PrintCondition().

void TGo4CondArray::PrintBar  )  [virtual]
 

Prints counters and bar.

Reimplemented from TGo4Condition.

Definition at line 200 of file TGo4CondArray.cxx.

References condarr, and TGo4Condition::PrintBar().

Int_t TGo4CondArray::GetNumberOfConditions  )  [virtual]
 

for condition aggregates: return total number of conditions, i.e.size of condition array

Reimplemented from TGo4Condition.

Definition at line 220 of file TGo4CondArray.cxx.

References GetNumber().

Referenced by GetMemorySize().

Int_t TGo4CondArray::GetNumber  )  const
 

Returns number of conditions in array.

Same as GetNumberOfConditions, but kept for backward compatibility

Definition at line 226 of file TGo4CondArray.cxx.

References condarr.

Referenced by Draw(), GetNumberOfConditions(), TGo4CondArrayPainter::PaintCondition(), and TGo4CondArrayPainter::UnPaintCondition().

const char * TGo4CondArray::GetType  )  const
 

Returns class name of conditions.

Definition at line 232 of file TGo4CondArray.cxx.

References condarr.

void TGo4CondArray::GetType Int_t &  type  )  const
 

Returns condition type ID (kWINDOW=1 or kPOLYGON=2).

Definition at line 239 of file TGo4CondArray.cxx.

References fiType.

void TGo4CondArray::Enable  )  [virtual]
 

Calls Enable for all conditions (multi edit mode) or for currently selected (single edit mode).

Reimplemented from TGo4Condition.

Definition at line 244 of file TGo4CondArray.cxx.

References At(), condarr, TGo4Condition::Enable(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::Disable Bool_t  result  )  [virtual]
 

Calls Disable 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, TGo4Condition::Disable(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

void TGo4CondArray::Invert Bool_t  on  )  [virtual]
 

Calls Invert for all conditions (multi edit mode) or for currently selected (single edit mode).

Reimplemented from TGo4Condition.

Definition at line 283 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::Invert(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::MarkReset Bool_t  on  )  [virtual]
 

defines if condition counters shall be reset in UpdateFrom method

Reimplemented from TGo4Condition.

Definition at line 303 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::MarkReset().

void TGo4CondArray::ResetCounts  )  [virtual]
 

Calls ResetCounts for all conditions (multi edit mode) or for currently selected (single edit mode).

Reimplemented from TGo4Condition.

Definition at line 347 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::ResetCounts().

Referenced by TXXXProc::TXXXProc(), and TXXXUnpackProc::TXXXUnpackProc().

Int_t TGo4CondArray::Counts  )  [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 366 of file TGo4CondArray.cxx.

References At(), TGo4Condition::Counts(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().

Int_t TGo4CondArray::TrueCounts  )  [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 381 of file TGo4CondArray.cxx.

References At(), TGo4Condition::Counts(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::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.

Reimplemented from TGo4Condition.

Definition at line 322 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::GetFlags(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::SetVisible Bool_t  on  )  [virtual]
 

we overwrite single condition visibility setter

Reimplemented from TGo4Condition.

Definition at line 552 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetVisible().

Bool_t TGo4CondArray::IsVisible  )  [virtual]
 

we overwrite single condition visibility getter

Reimplemented from TGo4Condition.

Definition at line 571 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsVisible().

void TGo4CondArray::SetChanged Bool_t  on  )  [virtual]
 

we overwrite single condition changed property

Reimplemented from TGo4Condition.

Definition at line 1029 of file TGo4CondArray.cxx.

References condarr, and TGo4Condition::SetChanged().

Int_t TGo4CondArray::IsChanged  )  [virtual]
 

we overwrite single condition changed property

Reimplemented from TGo4Condition.

Definition at line 1038 of file TGo4CondArray.cxx.

References condarr, and TGo4Condition::IsChanged().

void TGo4CondArray::SetLabelDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 586 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetLabelDraw().

Bool_t TGo4CondArray::IsLabelDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 604 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsLabelDraw(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::SetLimitsDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 620 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetLimitsDraw().

Bool_t TGo4CondArray::IsLimitsDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 639 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsLimitsDraw(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::SetIntDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 655 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetIntDraw().

Bool_t TGo4CondArray::IsIntDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 673 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsIntDraw(), and TGo4Condition::IsMultiEdit().

void TGo4CondArray::SetXMeanDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 687 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXMeanDraw().

Bool_t TGo4CondArray::IsXMeanDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 705 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXMeanDraw().

void TGo4CondArray::SetXRMSDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 719 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXRMSDraw().

Bool_t TGo4CondArray::IsXRMSDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 737 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXRMSDraw().

void TGo4CondArray::SetYMeanDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 751 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYMeanDraw().

Bool_t TGo4CondArray::IsYMeanDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 769 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYMeanDraw().

void TGo4CondArray::SetYRMSDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 783 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYRMSDraw().

Bool_t TGo4CondArray::IsYRMSDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 801 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYRMSDraw().

void TGo4CondArray::SetXMaxDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 815 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetXMaxDraw().

Bool_t TGo4CondArray::IsXMaxDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 833 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsXMaxDraw().

void TGo4CondArray::SetYMaxDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 847 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetYMaxDraw().

Bool_t TGo4CondArray::IsYMaxDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 865 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::IsYMaxDraw().

void TGo4CondArray::SetCMaxDraw Bool_t  on  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 879 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), and TGo4Condition::SetCMaxDraw().

Bool_t TGo4CondArray::IsCMaxDraw  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 897 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::IsCMaxDraw(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::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 from TGo4Condition.

Definition at line 912 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::GetIntegral(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetMean TH1 *  histo,
Int_t  axis = 1
[virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 933 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::GetMean(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetRMS TH1 *  histo,
Int_t  axis = 1
[virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 955 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::GetRMS(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetXMax TH1 *  histo  )  [virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 969 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::GetXMax(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetYMax TH1 *  histo  )  [virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 983 of file TGo4CondArray.cxx.

References At(), GetCurrentIndex(), TGo4Condition::GetYMax(), and TGo4Condition::IsMultiEdit().

Double_t TGo4CondArray::GetCMax TH1 *  histo  )  [virtual]
 

Calculate value for histogram inside condition limits.

Reimplemented from TGo4Condition.

Definition at line 997 of file TGo4CondArray.cxx.

References At(), condarr, TGo4Condition::GetCMax(), GetCurrentIndex(), and TGo4Condition::IsMultiEdit().

Bool_t TGo4CondArray::IsPolygonType  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 1049 of file TGo4CondArray.cxx.

References At(), fiType, GetCurrentIndex(), TGo4Condition::IsMultiEdit(), TGo4Condition::IsPolygonType(), and kPOLYGON.

Bool_t TGo4CondArray::IsArrayType  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 128 of file TGo4CondArray.cxx.

void TGo4CondArray::SetCurrentIndex Int_t  ix  )  [virtual]
 

set index for array type subclasses

Reimplemented from TGo4Condition.

Definition at line 1067 of file TGo4CondArray.cxx.

References fiSelectedCond.

Int_t TGo4CondArray::GetCurrentIndex  )  [virtual]
 

get index for array type subclasses

Reimplemented from TGo4Condition.

Definition at line 1073 of file TGo4CondArray.cxx.

References fiSelectedCond.

Referenced by Counts(), Disable(), Enable(), GetActiveCondition(), GetCMax(), GetFlags(), GetIntegral(), GetMean(), GetRMS(), 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().

Bool_t TGo4CondArray::UpdateFrom TGo4Condition cond,
Bool_t  counts
[virtual]
 

Copy values from cond to this.

When counts is true, copy also counters.

Reimplemented from TGo4Condition.

Definition at line 519 of file TGo4CondArray.cxx.

References condarr, and TGo4Condition::UpdateFrom().

Int_t TGo4CondArray::GetMemorySize  )  [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 1118 of file TGo4CondArray.cxx.

References At(), condarr, TGo4Condition::GetMemorySize(), and GetNumberOfConditions().


Member Data Documentation

TObjArray* TGo4CondArray::condarr [private]
 

The object array of conditions.

Definition at line 236 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().

Int_t TGo4CondArray::fiNumCond [private]
 

Number of conditions in array.

Definition at line 239 of file TGo4CondArray.h.

Referenced by TGo4CondArray().

Int_t TGo4CondArray::fiType [private]
 

Condition type ID (kWINDOW or kPOLYGON).

Definition at line 242 of file TGo4CondArray.h.

Referenced by GetType(), IsPolygonType(), Poly(), SetValues(), TGo4CondArray(), and Win().

Int_t TGo4CondArray::fiSelectedCond [private]
 

Index of selected condition.

Definition at line 245 of file TGo4CondArray.h.

Referenced by GetCurrentIndex(), and SetCurrentIndex().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:47 2008 for Go4-v3.04-1 by  doxygen 1.4.2