![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Public Member Functions | |
TRegion ()=default | |
TRegion (const TRegion &)=default | |
TRegion (TBox *box, ERegionType type, GH1D *parent) | |
TRegion (TRegion &&)=default | |
~TRegion ()=default | |
void | Draw (Option_t *opt="") override |
void | Hide () |
TRegion & | operator= (const TRegion &)=default |
TRegion & | operator= (TRegion &&)=default |
bool | Update () |
void | Update (double startX, double stopX) |
Private Attributes | |
double | fHighX {0.} |
double | fLowX {0.} |
GH1D * | fParent {nullptr} |
ERegionType | fType {ERegionType::kDefault} |
|
default |
TRegion::TRegion | ( | TBox * | box, |
ERegionType | type, | ||
GH1D * | parent ) |
|
default |
|
default |
|
default |
|
override |
Draw this region. Calls Update() first to update ranges and to check if we actuall want to draw this range. If Update() returns false this function will actually hide this region! Updates the pad at the end.
Definition at line 653 of file GH1D.cxx.
References fHighX, fLowX, fParent, Hide(), kQuiet, GH1D::Pad(), Update(), GH1D::UpdatePad(), and GH1D::VerboseLevel().
Referenced by GH1D::HandleEvent().
void TRegion::Hide | ( | ) |
Hide this region. Removes region from list of primitives. Does not update the pad.
Definition at line 674 of file GH1D.cxx.
References fHighX, fLowX, fParent, kBasicFlow, GH1D::Pad(), GH1D::PrintRegions(), and GH1D::VerboseLevel().
Referenced by Draw().
bool TRegion::Update | ( | ) |
Updates y-range of this region to match the current y-range of the frame the parent is drawn in. Also checks the x-range and adjust it to only cover the displayed range if necessary. Returns whether the region should be drawn or not. Does not update the pad itself!
Definition at line 579 of file GH1D.cxx.
References fHighX, fLowX, fParent, kBasicFlow, GH1D::Pad(), and GH1D::VerboseLevel().
void TRegion::Update | ( | double | startX, |
double | stopX ) |
Depending on the starting position this function updates the left or right edge of the region to the stopping position.
Definition at line 688 of file GH1D.cxx.
References fHighX, fLowX, kBasicFlow, Update(), and GH1D::VerboseLevel().
|
private |
|
private |
|
private |
|
private |