Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4CondArray Class Reference

#include <TGo4CondArray.h>

Inheritance diagram for TGo4CondArray:

TGo4Condition List of all members.

Public Methods

 TGo4CondArray ()
 TGo4CondArray (const char *name, Int_t elements, const char *type)
 Constructor. More...

 TGo4CondArray (const Text_t *name, Int_t elements, Int_t contype)
 Constructor. More...

virtual ~TGo4CondArray ()
virtual TGo4ConditionPainterCreatePainter ()
 Factory method to generate the subclass implementation for painter. More...

virtual void Draw (Option_t *opt="")
 Reimplement Draw to set painted flag for all array conditions. More...

virtual void SetPainter (TGo4ConditionPainter *painter)
 Replace default painter of this condition by external one. More...

virtual TGo4ConditionGetActiveCondition ()
 Access to the currently selected condition. More...

TGo4ConditionAt (Int_t i)
 Returns condition object i from object array. More...

TGo4WinCondWin (Int_t i)
 Returns window condition object i from object array. More...

TGo4PolyCondPoly (Int_t i)
 Returns polygon condition object i from object array. More...

TGo4Conditionoperator[] (Int_t i)
 Returns condition object i from object array. More...

void GetValues ()
 Noop. More...

Bool_t Test ()
 Noop, return true. More...

virtual Bool_t Test (Double_t x, Double_t y)
 Test currently selected condition(single edit mode). More...

virtual Bool_t Test (Double_t x)
 Test currently selected condition(single edit mode). More...

virtual Double_t GetXLow ()
virtual Double_t GetXUp ()
virtual Double_t GetYLow ()
virtual Double_t GetYUp ()
void SetValues ()
 Noop. More...

void PrintCondition (Bool_t points)
 Calls Print for all conditions in the array. More...

virtual void PrintBar ()
 Prints counters and bar. More...

virtual Int_t GetNumberOfConditions ()
 for condition aggregates: return total number of conditions, i.e.size of condition array. More...

Int_t GetNumber () const
 Returns number of conditions in array. More...

const char * GetType () const
 Returns class name of conditions. More...

void GetType (Int_t &type) const
 Returns condition type ID (kWINDOW=1 or kPOLYGON=2). More...

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

virtual void Disable (Bool_t result)
 Calls Disable for all conditions (multi edit mode) or for currently selected (single edit mode). More...

virtual void Invert (Bool_t on)
 Calls Invert for all conditions (multi edit mode) or for currently selected (single edit mode). More...

virtual void MarkReset (Bool_t on)
 defines if condition counters shall be reset in UpdateFrom method. More...

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

virtual Int_t Counts ()
 Return number of calls of the Test method. More...

virtual Int_t TrueCounts ()
 Return number of true results of the Test method call. More...

virtual void SetValues (Double_t low1, Double_t up1)
 Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). More...

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). More...

void SetValues (TCutG *newcut)
 Calls SetValues for all conditions (multi edit mode) or for currently selected (single edit mode). More...

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. More...

virtual void SetVisible (Bool_t on)
 we overwrite single condition visibility setter. More...

virtual Bool_t IsVisible ()
 we overwrite single condition visibility getter. More...

virtual Bool_t IsChanged ()
 we overwrite single condition changed property. More...

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. More...

virtual Double_t GetMean (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetRMS (TH1 *histo, Int_t axis=1)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetXMax (TH1 *histo)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetYMax (TH1 *histo)
 Calculate value for histogram inside condition limits. More...

virtual Double_t GetCMax (TH1 *histo)
 Calculate value for histogram inside condition limits. More...

virtual Bool_t IsPolygonType ()
virtual Bool_t IsArrayType ()
virtual void SetCurrentIndex (Int_t ix)
 set index for array type subclasses. More...

virtual Int_t GetCurrentIndex ()
 get index for array type subclasses. More...

virtual Bool_t UpdateFrom (TGo4Condition *cond, Bool_t counts)
 Copy values from cond to this. More...


Private Attributes

TObjArray * condarr
 The object array of conditions. More...

Int_t fiNumCond
 Number of conditions in array. More...

Int_t fiType
 Condition type ID (kWINDOW or kPOLYGON). More...

Int_t fiSelectedCond
 Index of selected condition. More...


Constructor & Destructor Documentation

TGo4CondArray::TGo4CondArray  
 

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

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

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

Constructor.

contype can be kWINDOW or kPOLYGON

TGo4CondArray::~TGo4CondArray   [virtual]
 

Definition at line 114 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 1108 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 1077 of file TGo4CondArray.cxx.

References At(), TGo4Condition::Draw(), TGo4Condition::GetDrawPad(), GetNumber(), i, TGo4Condition::IsPainted(), TGo4Condition::SetDrawPad(), 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 1093 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 1024 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 40 of file TGo4CondArray.cxx.

References condarr, and i.

Referenced by Counts(), Disable(), Draw(), 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(), 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 26 of file TGo4CondArray.cxx.

References At(), fiType, i, and kWINDOW.

Referenced by TGo4WindowEditSlots::CreateNewCondition(), and TGo4ConditionStatus::TGo4ConditionStatus().

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, i, and kPOLYGON.

Referenced by TGo4WindowEditSlots::CreateNewCondition(), and TGo4ConditionStatus::TGo4ConditionStatus().

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

References condarr, and i.

void TGo4CondArray::GetValues  
 

Noop.

Definition at line 130 of file TGo4CondArray.cxx.

Bool_t TGo4CondArray::Test   [virtual]
 

Noop, return true.

Reimplemented from TGo4Condition.

Definition at line 132 of file TGo4CondArray.cxx.

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

References At(), condarr, GetCurrentIndex(), i, 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 159 of file TGo4CondArray.cxx.

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

Double_t TGo4CondArray::GetXLow   [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 401 of file TGo4CondArray.cxx.

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

Double_t TGo4CondArray::GetXUp   [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 416 of file TGo4CondArray.cxx.

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

Double_t TGo4CondArray::GetYLow   [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 431 of file TGo4CondArray.cxx.

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

Double_t TGo4CondArray::GetYUp   [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 446 of file TGo4CondArray.cxx.

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

void TGo4CondArray::SetValues   [virtual]
 

Noop.

Reimplemented from TGo4Condition.

Definition at line 183 of file TGo4CondArray.cxx.

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

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

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

void TGo4CondArray::PrintBar   [virtual]
 

Prints counters and bar.

Reimplemented from TGo4Condition.

Definition at line 206 of file TGo4CondArray.cxx.

References condarr, i, 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 225 of file TGo4CondArray.cxx.

References GetNumber().

Referenced by TGo4ConditionStatus::TGo4ConditionStatus().

Int_t TGo4CondArray::GetNumber   const
 

Returns number of conditions in array.

Same as GetNumberOfConditions, but kept for backward compatibility

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

References condarr.

Referenced by TGo4DiskFileBrowserSlots::MapObject(), and TGo4ConditionStatus::TGo4ConditionStatus().

void TGo4CondArray::GetType Int_t &    type const
 

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

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

References At(), condarr, TGo4Condition::Enable(), GetCurrentIndex(), i, 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 268 of file TGo4CondArray.cxx.

References At(), condarr, TGo4Condition::Disable(), GetCurrentIndex(), i, 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 288 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), i, 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 308 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), i, 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 352 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), i, 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 371 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 386 of file TGo4CondArray.cxx.

References At(), TGo4Condition::Counts(), GetCurrentIndex(), 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 463 of file TGo4CondArray.cxx.

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

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

References At(), condarr, fiType, GetCurrentIndex(), i, 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 503 of file TGo4CondArray.cxx.

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

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

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

void TGo4CondArray::SetVisible Bool_t    on [virtual]
 

we overwrite single condition visibility setter.

Reimplemented from TGo4Condition.

Definition at line 556 of file TGo4CondArray.cxx.

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

Bool_t TGo4CondArray::IsVisible   [virtual]
 

we overwrite single condition visibility getter.

Reimplemented from TGo4Condition.

Definition at line 575 of file TGo4CondArray.cxx.

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

Bool_t TGo4CondArray::IsChanged   [virtual]
 

we overwrite single condition changed property.

Reimplemented from TGo4Condition.

Definition at line 1035 of file TGo4CondArray.cxx.

References condarr, i, and TGo4Condition::IsChanged().

void TGo4CondArray::SetLabelDraw Bool_t    on [virtual]
 

Reimplemented from TGo4Condition.

Definition at line 590 of file TGo4CondArray.cxx.

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

Bool_t TGo4CondArray::IsLabelDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsLimitsDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsIntDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsXMeanDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsXRMSDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsYMeanDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsYRMSDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsXMaxDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsYMaxDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

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

Bool_t TGo4CondArray::IsCMaxDraw   [virtual]
 

Reimplemented from TGo4Condition.

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

References At(), condarr, GetCurrentIndex(), TGo4Condition::GetIntegral(), i, 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 937 of file TGo4CondArray.cxx.

References At(), condarr, GetCurrentIndex(), TGo4Condition::GetMean(), i, 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 959 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 973 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 987 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 1001 of file TGo4CondArray.cxx.

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

Bool_t TGo4CondArray::IsPolygonType   [virtual]
 

Reimplemented from TGo4Condition.

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

void TGo4CondArray::SetCurrentIndex Int_t    ix [virtual]
 

set index for array type subclasses.

Reimplemented from TGo4Condition.

Definition at line 1065 of file TGo4CondArray.cxx.

References fiSelectedCond.

Int_t TGo4CondArray::GetCurrentIndex   [virtual]
 

get index for array type subclasses.

Reimplemented from TGo4Condition.

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

References condarr, i, and TGo4Condition::UpdateFrom().


Member Data Documentation

TObjArray* TGo4CondArray::condarr [private]
 

The object array of conditions.

Definition at line 226 of file TGo4CondArray.h.

Referenced by At(), Disable(), Enable(), GetCMax(), GetFlags(), GetIntegral(), GetMean(), GetNumber(), GetType(), Invert(), IsChanged(), MarkReset(), operator[](), PrintBar(), PrintCondition(), ResetCounts(), 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 229 of file TGo4CondArray.h.

Referenced by TGo4CondArray().

Int_t TGo4CondArray::fiType [private]
 

Condition type ID (kWINDOW or kPOLYGON).

Definition at line 232 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 235 of file TGo4CondArray.h.

Referenced by GetCurrentIndex(), and SetCurrentIndex().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:34 2005 for Go4-v2.10-5 by doxygen1.2.15