#include <TGo4WinCond.h>
Inheritance diagram for TGo4WinCond:
Public Methods | |
TGo4WinCond () | |
virtual | ~TGo4WinCond () |
TGo4WinCond (const Text_t *name) | |
TGo4WinCond (const Text_t *name, const Text_t *title) | |
virtual TGo4ConditionPainter * | CreatePainter () |
Factory method to generate the subclass implentation for painter. More... | |
virtual void | SetPainter (TGo4ConditionPainter *painter) |
Replace default painter of this condition by external one. More... | |
void | SetValues (Double_t low1, Double_t up1) |
Set limits and internal dimension to 1. More... | |
void | SetValues (Double_t low1, Double_t up1, Double_t low2, Double_t up2) |
Set limits and internal dimension to 2. More... | |
Bool_t | Test (Double_t v1) |
Test v1 versus first limits: includes lower, excludes upper. More... | |
Bool_t | Test (Double_t v1, Double_t v2) |
Test v1 versus first limits and v2 versus second limits Includes lower, excludes upper. More... | |
virtual void | GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) |
Returns limits. More... | |
virtual Double_t | GetXLow () |
virtual Double_t | GetXUp () |
virtual Double_t | GetYLow () |
virtual Double_t | GetYUp () |
void | PrintCondition (Bool_t limits) |
Printout. More... | |
Bool_t | UpdateFrom (TGo4Condition *cond, Bool_t counts) |
Copy values from cond to this. More... | |
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 () |
Private Methods | |
void | SetHistogramRanges (TH1 *histo) |
Remember ranges of current histo and set range to active window. More... | |
void | RestoreHistogramRanges (TH1 *histo) |
Restore original ranges of current histo. More... | |
Private Attributes | |
Double_t | fLow1 |
inclusive lower limit. More... | |
Double_t | fUp1 |
exclusive upper limit. More... | |
Double_t | fLow2 |
inclusive lower limit. More... | |
Double_t | fUp2 |
exclusive upper limit. More... | |
Int_t | fiSaveXMin |
Saved minimum x-axis bin number for active histogram range. More... | |
Int_t | fiSaveXMax |
Saved maximum x-axis bin number for active histogram range. More... | |
Int_t | fiSaveYMin |
Saved minimum y-axis bin number for active histogram range. More... | |
Int_t | fiSaveYMax |
Saved maximum y-axis bin number for active histogram range. More... |
|
Definition at line 42 of file TGo4WinCond.cxx. References TRACE. |
|
Definition at line 50 of file TGo4WinCond.cxx. References TRACE. |
|
Definition at line 34 of file TGo4WinCond.cxx. References TRACE. |
|
Definition at line 26 of file TGo4WinCond.cxx. References TRACE. |
|
Factory method to generate the subclass implentation for painter.
Reimplemented from TGo4Condition. Definition at line 306 of file TGo4WinCond.cxx. References TGo4ConditionPainter::SetCondition(). |
|
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 288 of file TGo4WinCond.cxx. References TGo4Condition::fxPainter, TGo4ConditionPainter::SetCondition(), and TGo4Log::Warn(). |
|
Set limits and internal dimension to 1.
Reimplemented from TGo4Condition. Definition at line 93 of file TGo4WinCond.cxx. References fLow1, fUp1, and TGo4Condition::SetDimension(). Referenced by TGo4WindowEditSlots::CreateNewCondition(), TGo4WinCondView::ExecuteEvent(), TGo4AnalysisObjectManager::MakeWindowCond(), TGo4PreviewPanelSlots::MouseClick(), TGo4WinCondPainter::PaintCondition(), TGo4WinCondView::SetToLimits(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc(). |
|
Set limits and internal dimension to 2.
Reimplemented from TGo4Condition. Definition at line 82 of file TGo4WinCond.cxx. References fLow1, fLow2, fUp1, fUp2, and TGo4Condition::SetDimension(). |
|
Test v1 versus first limits: includes lower, excludes upper.
Reimplemented from TGo4Condition. Definition at line 70 of file TGo4WinCond.cxx. References TGo4Condition::FixedResult(), fLow1, fUp1, TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsEnabled(), TGo4Condition::IsFalse(), and TGo4Condition::IsTrue(). Referenced by TXXXProc::Event(), TXXXAnlProc::XXXEventAnalysis(), TXXXUnpackProc::XXXUnpack(), and TYYYUnpackProc::YYYUnpack(). |
|
Test v1 versus first limits and v2 versus second limits Includes lower, excludes upper.
Reimplemented from TGo4Condition. Definition at line 56 of file TGo4WinCond.cxx. References TGo4Condition::FixedResult(), fLow1, fLow2, fUp1, fUp2, TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsEnabled(), TGo4Condition::IsFalse(), and TGo4Condition::IsTrue(). |
|
Returns limits.
Reimplemented from TGo4Condition. Definition at line 102 of file TGo4WinCond.cxx. References fLow1, fLow2, fUp1, fUp2, and TGo4Condition::GetDimension(). Referenced by TGo4WinCondView::ExecuteEvent(), TGo4WinCondPainter::PaintCondition(), and TGo4ConditionPainter::PaintLabel(). |
|
Reimplemented from TGo4Condition. Definition at line 110 of file TGo4WinCond.cxx. References fLow1. Referenced by TGo4PreviewPanelSlots::MouseClick(). |
|
Reimplemented from TGo4Condition. Definition at line 114 of file TGo4WinCond.cxx. References fUp1. |
|
Reimplemented from TGo4Condition. Definition at line 118 of file TGo4WinCond.cxx. References fLow2. Referenced by TGo4PreviewPanelSlots::MouseClick(). |
|
Reimplemented from TGo4Condition. Definition at line 122 of file TGo4WinCond.cxx. References fUp2. |
|
Printout. If limits is true, print limits too. Reimplemented from TGo4Condition. Definition at line 132 of file TGo4WinCond.cxx. References fLow1, fLow2, fUp1, fUp2, TGo4Condition::GetDimension(), and TGo4Condition::PrintCondition(). Referenced by TGo4CondArray::PrintCondition(), TXXXUnpackProc::TXXXUnpackProc(), TYYYUnpackProc::TYYYUnpackProc(), TXXXUnpackProc::~TXXXUnpackProc(), and TYYYUnpackProc::~TYYYUnpackProc(). |
|
Copy values from cond to this. When counts is true, copy also counters. Reimplemented from TGo4Condition. Definition at line 271 of file TGo4WinCond.cxx. References fLow1, fLow2, fUp1, fUp2, TGo4Condition::SetDimension(), and TGo4Condition::UpdateFrom(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 143 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 153 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 162 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 171 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 195 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 218 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Reimplemented from TGo4Condition. Definition at line 127 of file TGo4WinCond.cxx. |
|
Remember ranges of current histo and set range to active window.
Definition at line 228 of file TGo4WinCond.cxx. References fiSaveXMax, fiSaveXMin, fiSaveYMax, fiSaveYMin, fLow1, fLow2, fUp1, and fUp2. Referenced by GetCMax(), GetIntegral(), GetMean(), GetRMS(), GetXMax(), and GetYMax(). |
|
Restore original ranges of current histo.
Definition at line 256 of file TGo4WinCond.cxx. References fiSaveXMax, fiSaveXMin, fiSaveYMax, and fiSaveYMin. Referenced by GetCMax(), GetIntegral(), GetMean(), GetRMS(), GetXMax(), and GetYMax(). |
|
inclusive lower limit.
Definition at line 99 of file TGo4WinCond.h. Referenced by GetValues(), GetXLow(), PrintCondition(), SetHistogramRanges(), SetValues(), Test(), and UpdateFrom(). |
|
exclusive upper limit.
Definition at line 103 of file TGo4WinCond.h. Referenced by GetValues(), GetXUp(), PrintCondition(), SetHistogramRanges(), SetValues(), Test(), and UpdateFrom(). |
|
inclusive lower limit.
Definition at line 107 of file TGo4WinCond.h. Referenced by GetValues(), GetYLow(), PrintCondition(), SetHistogramRanges(), SetValues(), Test(), and UpdateFrom(). |
|
exclusive upper limit.
Definition at line 111 of file TGo4WinCond.h. Referenced by GetValues(), GetYUp(), PrintCondition(), SetHistogramRanges(), SetValues(), Test(), and UpdateFrom(). |
|
Saved minimum x-axis bin number for active histogram range.
Definition at line 115 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Saved maximum x-axis bin number for active histogram range.
Definition at line 118 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Saved minimum y-axis bin number for active histogram range.
Definition at line 121 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Saved maximum y-axis bin number for active histogram range.
Definition at line 124 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |