Classes | |
class | iterator |
Public Member Functions | |
GH2Base () | |
virtual | ~GH2Base () |
iterator | begin () |
iterator | end () |
GH1D * | GetNext (const GH1D *curr, bool DrawEmpty=true) |
GH1D * | GetNextSummary (const GH1D *curr, bool DrawEmpty=false) |
GH1D * | GetPrevious (const GH1D *curr, bool DrawEmpty=true) |
GH1D * | GetPrevSummary (const GH1D *curr, bool DrawEmpty=false) |
TList * | GetProjections () |
bool | GetSummary () const |
EDirection | GetSummaryDirection () const |
TList * | GetSummaryProjections () |
virtual TH2 * | GetTH2 ()=0 |
virtual void | GH2Clear (Option_t *opt="") |
GH1D * | GH2ProjectionX (const char *name="_px", int firstbin=0, int lastbin=-1, Option_t *option="", bool KeepEmpty=false) |
GH1D * | GH2ProjectionY (const char *name="_py", int firstbin=0, int lastbin=-1, Option_t *option="", bool KeepEmpty=false) |
GH1D * | Projection_Background (int axis=0, int firstbin=0, int lastbin=-1, int first_bg_bin=0, int last_bg_bin=-1, EBackgroundSubtraction mode=EBackgroundSubtraction::kRegionBackground) |
GH1D * | ProjectionX_Background (int firstbin=0, int lastbin=-1, int first_bg_bin=0, int last_bg_bin=-1, EBackgroundSubtraction mode=EBackgroundSubtraction::kRegionBackground) |
GH1D * | ProjectionY_Background (int firstbin=0, int lastbin=-1, int first_bg_bin=0, int last_bg_bin=-1, EBackgroundSubtraction mode=EBackgroundSubtraction::kRegionBackground) |
void | SetSummary (bool is_summary=true) |
void | SetSummaryDirection (EDirection dir) |
Private Member Functions | |
ClassDef (GH2Base, 1) | |
void | Init () |
Private Attributes | |
bool | fIsSummary {false} |
TList * | fProjections {nullptr} |
EDirection | fSummaryDirection |
TList * | fSummaryProjections {nullptr} |
#include <GH2Base.h>
|
virtual |
Definition at line 14 of file GH2Base.cxx.
|
private |
Definition at line 222 of file GH2Base.cxx.
References fIsSummary, fProjections, and GetNextSummary().
Referenced by GH1D::GetNext(), and GH2Base::iterator::operator++().
Definition at line 245 of file GH2Base.cxx.
References fSummaryDirection, fSummaryProjections, GetTH2(), GH2ProjectionX(), GH2ProjectionY(), kXDirection, and kYDirection.
Referenced by GetNext(), and GCanvas::Process2DKeyboardPress().
Definition at line 199 of file GH2Base.cxx.
References fIsSummary, fProjections, and GetPrevSummary().
Referenced by GH1D::GetPrevious().
Definition at line 315 of file GH2Base.cxx.
References fSummaryDirection, fSummaryProjections, GetTH2(), GH2ProjectionX(), GH2ProjectionY(), kXDirection, and kYDirection.
Referenced by GetPrevious().
|
inline |
Definition at line 51 of file GH2Base.h.
References fProjections.
Referenced by GCanvas::Process2DKeyboardPress().
|
inline |
Definition at line 55 of file GH2Base.h.
References fIsSummary.
|
inline |
Definition at line 58 of file GH2Base.h.
References fSummaryDirection.
|
inline |
Definition at line 52 of file GH2Base.h.
References fSummaryProjections.
|
pure virtual |
Implemented in GH2D, and GH2I.
Referenced by GetNextSummary(), GetPrevSummary(), GH2ProjectionX(), GH2ProjectionY(), and Projection_Background().
|
virtual |
Definition at line 28 of file GH2Base.cxx.
References fProjections, and fSummaryProjections.
Referenced by GH2I::Clear(), and GH2D::Clear().
GH1D * GH2Base::GH2ProjectionX | ( | const char * | name = "_px" , |
int | firstbin = 0 , |
||
int | lastbin = -1 , |
||
Option_t * | option = "" , |
||
bool | KeepEmpty = false |
||
) |
Definition at line 91 of file GH2Base.cxx.
References fIsSummary, fProjections, fSummaryProjections, GetTH2(), GH1D::SetParent(), and GH1D::SetProjectionAxis().
Referenced by GetNextSummary(), GetPrevSummary(), GH2I::ProjectionX(), and GH2D::ProjectionX().
GH1D * GH2Base::GH2ProjectionY | ( | const char * | name = "_py" , |
int | firstbin = 0 , |
||
int | lastbin = -1 , |
||
Option_t * | option = "" , |
||
bool | KeepEmpty = false |
||
) |
Definition at line 145 of file GH2Base.cxx.
References fIsSummary, fProjections, fSummaryProjections, GetTH2(), GH1D::SetParent(), and GH1D::SetProjectionAxis().
Referenced by GetNextSummary(), GetPrevSummary(), GH2I::ProjectionY(), and GH2D::ProjectionY().
|
private |
Definition at line 20 of file GH2Base.cxx.
References fIsSummary, fProjections, fSummaryDirection, fSummaryProjections, and kXDirection.
Referenced by GH2Base().
GH1D * GH2Base::Projection_Background | ( | int | axis = 0 , |
int | firstbin = 0 , |
||
int | lastbin = -1 , |
||
int | first_bg_bin = 0 , |
||
int | last_bg_bin = -1 , |
||
EBackgroundSubtraction | mode = EBackgroundSubtraction::kRegionBackground |
||
) |
Definition at line 35 of file GH2Base.cxx.
References fProjections, GetTH2(), and kNoBackground.
Referenced by ProjectionX_Background(), and ProjectionY_Background().
GH1D * GH2Base::ProjectionX_Background | ( | int | firstbin = 0 , |
int | lastbin = -1 , |
||
int | first_bg_bin = 0 , |
||
int | last_bg_bin = -1 , |
||
EBackgroundSubtraction | mode = EBackgroundSubtraction::kRegionBackground |
||
) |
Definition at line 139 of file GH2Base.cxx.
References Projection_Background().
Referenced by GH1D::Project_Background().
GH1D * GH2Base::ProjectionY_Background | ( | int | firstbin = 0 , |
int | lastbin = -1 , |
||
int | first_bg_bin = 0 , |
||
int | last_bg_bin = -1 , |
||
EBackgroundSubtraction | mode = EBackgroundSubtraction::kRegionBackground |
||
) |
Definition at line 193 of file GH2Base.cxx.
References Projection_Background().
Referenced by GH1D::Project_Background().
|
inline |
Definition at line 54 of file GH2Base.h.
References fIsSummary.
Referenced by GCanvas::Process2DKeyboardPress().
|
inline |
Definition at line 57 of file GH2Base.h.
References fSummaryDirection.
Referenced by GCanvas::Process2DKeyboardPress().
|
private |
Definition at line 105 of file GH2Base.h.
Referenced by GetNext(), GetPrevious(), GetSummary(), GH2ProjectionX(), GH2ProjectionY(), Init(), and SetSummary().
|
private |
Definition at line 102 of file GH2Base.h.
Referenced by GetNext(), GetPrevious(), GetProjections(), GH2Clear(), GH2ProjectionX(), GH2ProjectionY(), Init(), and Projection_Background().
|
private |
Definition at line 106 of file GH2Base.h.
Referenced by GetNextSummary(), GetPrevSummary(), GetSummaryDirection(), Init(), and SetSummaryDirection().
|
private |
Definition at line 104 of file GH2Base.h.
Referenced by GetNextSummary(), GetPrevSummary(), GetSummaryProjections(), GH2Clear(), GH2ProjectionX(), GH2ProjectionY(), and Init().