GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
Public Member Functions | |
GH1D () | |
GH1D (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins) | |
GH1D (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins) | |
GH1D (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup) | |
GH1D (const TF1 &function, Int_t nbinsx, Double_t xlow, Double_t xup) | |
GH1D (const TH1 &source) | |
GH1D (const TH1 *source) | |
GH1D (const TVectorD &vec) | |
void | Clear (Option_t *opt="") override |
void | Copy (TObject &obj) const override |
void | Draw (Option_t *opt="") override |
TH1 * | DrawCopy (Option_t *opt="", const char *name_postfix="copy") const override |
TH1 * | DrawNormalized (Option_t *opt="", Double_t norm=1) const override |
void | DrawRegions (Option_t *opt="") |
GH1D * | GetNext (bool DrawEmpty=false) const |
TVirtualPad * | GetPad () const |
TObject * | GetParent () const |
GH1D * | GetPrevious (bool DrawEmpty=false) const |
int | GetProjectionAxis () const |
void | HandleEvent (Event_t *event, Window_t window) |
void | HandleMovement (Int_t eventType, Int_t eventX, Int_t eventY, TObject *selected) |
TList * | ListOfRegions () |
TVirtualPad * | Pad () const |
void | Print (Option_t *opt="") const override |
void | PrintRegions () |
GH1D * | Project (double value_low, double value_high) const |
GH1D * | Project (int bins=-1) |
GH1D * | Project_Background (double value_low, double value_high, double bg_value_low, double bg_value_high, EBackgroundSubtraction mode=EBackgroundSubtraction::kRegionBackground) const |
void | RemoveRegion (TRegion *region) |
void | SetPad (TVirtualPad *pad) |
void | SetParent (TObject *obj) |
void | SetProjectionAxis (int axis) |
void | UpdatePad () |
void | UpdateRegions () |
bool | WriteDatFile (const char *outFile) |
Static Public Member Functions | |
static EVerbosity | VerboseLevel () |
static void | VerboseLevel (EVerbosity level) |
Private Member Functions | |
void | RemoveCurrentRegion () |
Private Attributes | |
bool | fBackground {false} |
TBox * | fCurrentRegion {nullptr} |
bool | fGate {false} |
size_t | fNofRegions {0} |
TVirtualPad * | fPad {nullptr} |
TRef | fParent |
int | fProjectionAxis |
bool | fRegion {false} |
std::array< int, 3 > | fRegionColor {kOrange + 2, kGreen + 2, kCyan + 2} |
TList | fRegions |
double | fStartX {0.} |
double | fStartY {0.} |
Static Private Attributes | |
static EVerbosity | fVerboseLevel = EVerbosity::kQuiet |
|
inline |
|
inline |
|
inline |
GH1D::GH1D | ( | const TF1 & | function, |
Int_t | nbinsx, | ||
Double_t | xlow, | ||
Double_t | xup ) |
|
override |
|
override |
|
override |
Definition at line 108 of file GH1D.cxx.
References DrawRegions(), and SetPad().
Referenced by DrawRegions(), TSourceTab::FindPeaks(), GetProjection(), and GCanvas::Process1DKeyboardPress().
|
override |
|
override |
void GH1D::DrawRegions | ( | Option_t * | opt = "" | ) |
GH1D * GH1D::GetNext | ( | bool | DrawEmpty = false | ) | const |
Definition at line 157 of file GH1D.cxx.
References fParent, and GH2Base::GetNext().
Referenced by Move1DHistogram().
|
inline |
Definition at line 40 of file GH1D.h.
References fParent.
Referenced by GCanvas::Process1DKeyboardPress().
GH1D * GH1D::GetPrevious | ( | bool | DrawEmpty = false | ) | const |
Definition at line 144 of file GH1D.cxx.
References fParent, and GH2Base::GetPrevious().
Referenced by Move1DHistogram().
|
inline |
Definition at line 46 of file GH1D.h.
References fProjectionAxis.
void GH1D::HandleEvent | ( | Event_t * | event, |
Window_t | window ) |
Definition at line 278 of file GH1D.cxx.
References TRegion::Draw(), DrawRegions(), fBackground, fCurrentRegion, fGate, fNofRegions, fPad, fRegion, fRegionColor, fRegions, fStartX, fStartY, hex(), kAll, kBackground, kBasicFlow, kGate, kLoops, kQuiet, kRegion, kSubroutines, Move1DHistogram(), Pad(), PrintRegions(), RemoveCurrentRegion(), UpdatePad(), and VerboseLevel().
void GH1D::HandleMovement | ( | Int_t | eventType, |
Int_t | eventX, | ||
Int_t | eventY, | ||
TObject * | selected ) |
Definition at line 248 of file GH1D.cxx.
References fPad, fStartX, fStartY, kBasicFlow, kLoops, kSubroutines, RemoveRegion(), and VerboseLevel().
|
inline |
Definition at line 68 of file GH1D.h.
References fRegions.
Referenced by TSourceTab::UpdateRegions().
|
inline |
Definition at line 67 of file GH1D.h.
References fPad.
Referenced by TRegion::Draw(), HandleEvent(), TRegion::Hide(), PrintRegions(), and TRegion::Update().
|
override |
Definition at line 95 of file GH1D.cxx.
References fParent.
Referenced by TSourceTab::UpdateRegions().
void GH1D::PrintRegions | ( | ) |
Definition at line 534 of file GH1D.cxx.
References Pad().
Referenced by HandleEvent(), and TRegion::Hide().
GH1D * GH1D::Project | ( | double | value_low, |
double | value_high ) const |
Definition at line 170 of file GH1D.cxx.
References fParent, fProjectionAxis, GH2D::ProjectionX(), and GH2D::ProjectionY().
GH1D * GH1D::Project | ( | int | bins = -1 | ) |
Definition at line 220 of file GH1D.cxx.
References GH1D().
Referenced by GetProjection(), and GCanvas::Process1DKeyboardPress().
GH1D * GH1D::Project_Background | ( | double | value_low, |
double | value_high, | ||
double | bg_value_low, | ||
double | bg_value_high, | ||
EBackgroundSubtraction | mode = EBackgroundSubtraction::kRegionBackground ) const |
Definition at line 190 of file GH1D.cxx.
References fParent, fProjectionAxis, GH2Base::ProjectionX_Background(), and GH2Base::ProjectionY_Background().
Referenced by GetProjection(), and GCanvas::Process1DKeyboardPress().
|
private |
Definition at line 547 of file GH1D.cxx.
References fBackground, fCurrentRegion, fGate, fPad, and fRegion.
Referenced by HandleEvent().
void GH1D::RemoveRegion | ( | TRegion * | region | ) |
Definition at line 557 of file GH1D.cxx.
References fPad, and fRegions.
Referenced by HandleMovement().
void GH1D::SetPad | ( | TVirtualPad * | pad | ) |
|
inline |
Definition at line 41 of file GH1D.h.
References fParent.
Referenced by GH2Base::GH2ProjectionX(), and GH2Base::GH2ProjectionY().
|
inline |
Definition at line 47 of file GH1D.h.
References fProjectionAxis.
Referenced by GH2Base::GH2ProjectionX(), and GH2Base::GH2ProjectionY().
|
inline |
Definition at line 75 of file GH1D.h.
References fPad.
Referenced by TRegion::Draw(), and HandleEvent().
|
inlinestatic |
Definition at line 85 of file GH1D.h.
References fVerboseLevel.
Referenced by TRegion::Draw(), HandleEvent(), HandleMovement(), TRegion::Hide(), TRegion::Update(), and TRegion::Update().
|
inlinestatic |
Definition at line 84 of file GH1D.h.
References fVerboseLevel.
|
private |
Definition at line 97 of file GH1D.h.
Referenced by HandleEvent(), and RemoveCurrentRegion().
|
private |
! box for the current region
Definition at line 99 of file GH1D.h.
Referenced by HandleEvent(), and RemoveCurrentRegion().
|
private |
Definition at line 96 of file GH1D.h.
Referenced by HandleEvent(), and RemoveCurrentRegion().
|
private |
! counts number of regions in this histogram, only used to set the color of the region
Definition at line 101 of file GH1D.h.
Referenced by HandleEvent().
|
private |
!
Definition at line 92 of file GH1D.h.
Referenced by GetPad(), HandleEvent(), HandleMovement(), Pad(), RemoveCurrentRegion(), RemoveRegion(), SetPad(), and UpdatePad().
|
private |
Definition at line 90 of file GH1D.h.
Referenced by Clear(), Copy(), GetNext(), GetParent(), GetPrevious(), Print(), Project(), Project_Background(), and SetParent().
|
private |
Definition at line 91 of file GH1D.h.
Referenced by GetProjectionAxis(), Project(), Project_Background(), and SetProjectionAxis().
|
private |
Definition at line 98 of file GH1D.h.
Referenced by HandleEvent(), and RemoveCurrentRegion().
|
private |
Definition at line 100 of file GH1D.h.
Referenced by HandleEvent().
|
private |
Definition at line 102 of file GH1D.h.
Referenced by DrawRegions(), HandleEvent(), ListOfRegions(), RemoveRegion(), and UpdateRegions().
|
private |
! initial x-position of new region
Definition at line 94 of file GH1D.h.
Referenced by HandleEvent(), and HandleMovement().
|
private |
! initial y-position of new region
Definition at line 95 of file GH1D.h.
Referenced by HandleEvent(), and HandleMovement().
|
staticprivate |
! level of verbosity
Definition at line 104 of file GH1D.h.
Referenced by VerboseLevel(), and VerboseLevel().