#include <TGo4WinCond.h>
Inheritance diagram for TGo4WinCond:
Public Member Functions | |
TGo4WinCond () | |
TGo4WinCond (const char *name, const char *title="Go4 window condition") | |
virtual | ~TGo4WinCond () |
virtual TGo4ConditionPainter * | CreatePainter () |
Factory method to generate the subclass implentation for painter. | |
virtual void | SetPainter (TGo4ConditionPainter *painter) |
Replace default painter of this condition by external one. | |
virtual void | SetValues (Double_t low1, Double_t up1) |
Set limits and internal dimension to 1. | |
virtual void | SetValues (Double_t low1, Double_t up1, Double_t low2, Double_t up2) |
Set limits and internal dimension to 2. | |
virtual Bool_t | Test (Double_t v1) |
Test v1 versus first limits: includes lower, excludes upper. | |
virtual Bool_t | Test (Double_t v1, Double_t v2) |
Test v1 versus first limits and v2 versus second limits Includes lower, excludes upper. | |
virtual void | GetValues (Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) |
Returns limits. | |
virtual Double_t | GetXLow () |
virtual Double_t | GetXUp () |
virtual Double_t | GetYLow () |
virtual Double_t | GetYUp () |
void | PrintCondition (Bool_t limits) |
Printout. | |
Bool_t | UpdateFrom (TGo4Condition *cond, Bool_t counts) |
Copy values from cond to this. | |
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 Int_t | GetMemorySize () |
Private Member Functions | |
void | SetHistogramRanges (TH1 *histo) |
Remember ranges of current histo and set range to active window. | |
void | RestoreHistogramRanges (TH1 *histo) |
Restore original ranges of current histo. | |
Private Attributes | |
Double_t | fLow1 |
inclusive lower limit | |
Double_t | fUp1 |
exclusive upper limit | |
Double_t | fLow2 |
inclusive lower limit | |
Double_t | fUp2 |
exclusive upper limit | |
Int_t | fiSaveXMin |
Saved minimum x-axis bin number for active histogram range. | |
Int_t | fiSaveXMax |
Saved maximum x-axis bin number for active histogram range. | |
Int_t | fiSaveYMin |
Saved minimum y-axis bin number for active histogram range. | |
Int_t | fiSaveYMax |
Saved maximum y-axis bin number for active histogram range. |
|
Definition at line 29 of file TGo4WinCond.cxx. References TRACE. |
|
Definition at line 43 of file TGo4WinCond.cxx. References TRACE. |
|
Definition at line 58 of file TGo4WinCond.cxx. References TRACE. |
|
Factory method to generate the subclass implentation for painter.
Reimplemented from TGo4Condition. Definition at line 310 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 292 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 99 of file TGo4WinCond.cxx. References fLow1, fUp1, and TGo4Condition::SetDimension(). Referenced by TGo4WinCondView::ExecuteEvent(), TGo4AnalysisObjectManager::MakeWindowCond(), TGo4WinCondPainter::PaintCondition(), TGo4WinCondView::SetToLimits(), TXXXProc::TXXXProc(), TXXXUnpackProc::TXXXUnpackProc(), and TYYYUnpackProc::TYYYUnpackProc(). |
|
Set limits and internal dimension to 2.
Reimplemented from TGo4Condition. Definition at line 90 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 78 of file TGo4WinCond.cxx. References TGo4Condition::FixedResult(), fLow1, fUp1, TGo4Condition::IncCounts(), TGo4Condition::IncTrueCounts(), TGo4Condition::IsEnabled(), TGo4Condition::IsFalse(), and TGo4Condition::IsTrue(). Referenced by TXXXProc::BuildEvent(), 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 64 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 106 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 115 of file TGo4WinCond.cxx. References fLow1. |
|
Reimplemented from TGo4Condition. Definition at line 120 of file TGo4WinCond.cxx. References fUp1. |
|
Reimplemented from TGo4Condition. Definition at line 125 of file TGo4WinCond.cxx. References fLow2. |
|
Reimplemented from TGo4Condition. Definition at line 130 of file TGo4WinCond.cxx. References fUp2. |
|
Printout. If limits is true, print limits too. Reimplemented from TGo4Condition. Definition at line 140 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 279 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 151 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 161 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 170 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 179 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 203 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Calculate value for histogram inside condition limits.
Reimplemented from TGo4Condition. Definition at line 226 of file TGo4WinCond.cxx. References RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Reimplemented from TGo4Condition. Definition at line 135 of file TGo4WinCond.cxx. |
|
Reimplemented from TGo4Condition. Definition at line 317 of file TGo4WinCond.cxx. |
|
Remember ranges of current histo and set range to active window.
Definition at line 236 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 264 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 98 of file TGo4WinCond.h. Referenced by GetValues(), GetXLow(), PrintCondition(), SetHistogramRanges(), SetValues(), Test(), and UpdateFrom(). |
|
exclusive upper limit
Definition at line 101 of file TGo4WinCond.h. Referenced by GetValues(), GetXUp(), PrintCondition(), SetHistogramRanges(), SetValues(), Test(), and UpdateFrom(). |
|
inclusive lower limit
Definition at line 104 of file TGo4WinCond.h. Referenced by GetValues(), GetYLow(), PrintCondition(), SetHistogramRanges(), SetValues(), Test(), and UpdateFrom(). |
|
exclusive upper limit
Definition at line 107 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 110 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Saved maximum x-axis bin number for active histogram range.
Definition at line 113 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Saved minimum y-axis bin number for active histogram range.
Definition at line 116 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |
|
Saved maximum y-axis bin number for active histogram range.
Definition at line 119 of file TGo4WinCond.h. Referenced by RestoreHistogramRanges(), and SetHistogramRanges(). |