GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
GH2I Class Reference

Detailed Description

Definition at line 17 of file GH2I.h.

Public Member Functions

 GH2I ()=default
 
 GH2I (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 
 GH2I (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, Double_t ylow, Double_t yup)
 
 GH2I (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins)
 
 GH2I (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t *ybins)
 
 GH2I (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup)
 
 GH2I (const GH2I &)=default
 
 GH2I (const TObject &)
 
 GH2I (GH2I &&) noexcept=default
 
 ~GH2I ()
 
iterator begin ()
 
void Clear (Option_t *opt="") override
 
TObject * Clone (const char *newname="") const override
 
void Copy (TObject &) 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
 
iterator end ()
 
GH1DGetNext (const GH1D *curr, bool DrawEmpty=true)
 
GH1DGetNextSummary (const GH1D *curr, bool DrawEmpty=false)
 
GH1DGetPrevious (const GH1D *curr, bool DrawEmpty=true)
 
GH1DGetPrevSummary (const GH1D *curr, bool DrawEmpty=false)
 
TList * GetProjections ()
 
bool GetSummary () const
 
EDirection GetSummaryDirection () const
 
TList * GetSummaryProjections ()
 
TH2 * GetTH2 () override
 
virtual void GH2Clear (Option_t *opt="")
 
GH1DGH2ProjectionX (const char *name="_px", int firstbin=0, int lastbin=-1, Option_t *option="", bool KeepEmpty=false)
 
GH1DGH2ProjectionY (const char *name="_py", int firstbin=0, int lastbin=-1, Option_t *option="", bool KeepEmpty=false)
 
GH2Ioperator= (const GH2I &)=default
 
GH2Ioperator= (GH2I &&) noexcept=default
 
void Print (Option_t *opt="") const override
 
GH1DProjection_Background (int axis=0, int firstbin=0, int lastbin=-1, int first_bg_bin=0, int last_bg_bin=-1, EBackgroundSubtraction mode=EBackgroundSubtraction::kRegionBackground)
 
GH1DProjectionX (const char *name="_px", int firstbin=0, int lastbin=-1, Option_t *option="")
 
GH1DProjectionX_Background (int firstbin=0, int lastbin=-1, int first_bg_bin=0, int last_bg_bin=-1, EBackgroundSubtraction mode=EBackgroundSubtraction::kRegionBackground)
 
GH1DProjectionY (const char *name="_py", int firstbin=0, int lastbin=-1, Option_t *option="")
 
GH1DProjectionY_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

void Init ()
 

Private Attributes

bool fIsSummary {false}
 
TList * fProjections {nullptr}
 
EDirection fSummaryDirection {EDirection::kXDirection}
 
TList * fSummaryProjections {nullptr}
 
+ Inheritance diagram for GH2I:
+ Collaboration diagram for GH2I:

Constructor & Destructor Documentation

◆ GH2I() [1/9]

GH2I::GH2I ( )
default

◆ GH2I() [2/9]

GH2I::GH2I ( const TObject & obj)
explicit

Definition at line 34 of file GH2I.cxx.

◆ GH2I() [3/9]

GH2I::GH2I ( const char * name,
const char * title,
Int_t nbinsx,
const Double_t * xbins,
Int_t nbinsy,
const Double_t * ybins )

Definition at line 9 of file GH2I.cxx.

◆ GH2I() [4/9]

GH2I::GH2I ( const char * name,
const char * title,
Int_t nbinsx,
const Float_t * xbins,
Int_t nbinsy,
const Float_t * ybins )

Definition at line 14 of file GH2I.cxx.

◆ GH2I() [5/9]

GH2I::GH2I ( const char * name,
const char * title,
Int_t nbinsx,
const Double_t * xbins,
Int_t nbinsy,
Double_t ylow,
Double_t yup )

Definition at line 19 of file GH2I.cxx.

◆ GH2I() [6/9]

GH2I::GH2I ( const char * name,
const char * title,
Int_t nbinsx,
Double_t xlow,
Double_t xup,
Int_t nbinsy,
Double_t * ybins )

Definition at line 24 of file GH2I.cxx.

◆ GH2I() [7/9]

GH2I::GH2I ( const char * name,
const char * title,
Int_t nbinsx,
Double_t xlow,
Double_t xup,
Int_t nbinsy,
Double_t ylow,
Double_t yup )

Definition at line 29 of file GH2I.cxx.

◆ GH2I() [8/9]

GH2I::GH2I ( const GH2I & )
default

◆ GH2I() [9/9]

GH2I::GH2I ( GH2I && )
defaultnoexcept

◆ ~GH2I()

GH2I::~GH2I ( )
default

Member Function Documentation

◆ begin()

iterator GH2Base::begin ( )
inlineinherited

Definition at line 111 of file GH2Base.h.

◆ Clear()

void GH2I::Clear ( Option_t * opt = "")
override

Definition at line 57 of file GH2I.cxx.

References GH2Base::GH2Clear().

◆ Clone()

TObject * GH2I::Clone ( const char * newname = "") const
override

Definition at line 48 of file GH2I.cxx.

◆ Copy()

void GH2I::Copy ( TObject & obj) const
override

Definition at line 43 of file GH2I.cxx.

◆ Draw()

void GH2I::Draw ( Option_t * opt = "")
override

Definition at line 70 of file GH2I.cxx.

◆ DrawCopy()

TH1 * GH2I::DrawCopy ( Option_t * opt = "",
const char * name_postfix = "_copy" ) const
override

Definition at line 83 of file GH2I.cxx.

References hist.

◆ DrawNormalized()

TH1 * GH2I::DrawNormalized ( Option_t * opt = "",
Double_t norm = 1 ) const
override

Definition at line 93 of file GH2I.cxx.

References hist.

◆ end()

iterator GH2Base::end ( )
inlineinherited

Definition at line 112 of file GH2Base.h.

◆ GetNext()

GH1D * GH2Base::GetNext ( const GH1D * curr,
bool DrawEmpty = true )
inherited

◆ GetNextSummary()

GH1D * GH2Base::GetNextSummary ( const GH1D * curr,
bool DrawEmpty = false )
inherited

◆ GetPrevious()

GH1D * GH2Base::GetPrevious ( const GH1D * curr,
bool DrawEmpty = true )
inherited

Definition at line 198 of file GH2Base.cxx.

References GH2Base::fIsSummary, GH2Base::fProjections, and GH2Base::GetPrevSummary().

Referenced by GH1D::GetPrevious().

◆ GetPrevSummary()

GH1D * GH2Base::GetPrevSummary ( const GH1D * curr,
bool DrawEmpty = false )
inherited

◆ GetProjections()

TList * GH2Base::GetProjections ( )
inlineinherited

Definition at line 60 of file GH2Base.h.

References GH2Base::fProjections.

Referenced by GCanvas::Process2DKeyboardPress().

◆ GetSummary()

bool GH2Base::GetSummary ( ) const
inlineinherited

Definition at line 64 of file GH2Base.h.

References GH2Base::fIsSummary.

◆ GetSummaryDirection()

EDirection GH2Base::GetSummaryDirection ( ) const
inlineinherited

Definition at line 67 of file GH2Base.h.

References GH2Base::fSummaryDirection.

◆ GetSummaryProjections()

TList * GH2Base::GetSummaryProjections ( )
inlineinherited

Definition at line 61 of file GH2Base.h.

References GH2Base::fSummaryProjections.

◆ GetTH2()

TH2 * GH2I::GetTH2 ( )
inlineoverridevirtual

Implements GH2Base.

Definition at line 46 of file GH2I.h.

◆ GH2Clear()

void GH2Base::GH2Clear ( Option_t * opt = "")
virtualinherited

Definition at line 24 of file GH2Base.cxx.

References GH2Base::fProjections, and GH2Base::fSummaryProjections.

Referenced by GH2D::Clear(), and Clear().

◆ GH2ProjectionX()

GH1D * GH2Base::GH2ProjectionX ( const char * name = "_px",
int firstbin = 0,
int lastbin = -1,
Option_t * option = "",
bool KeepEmpty = false )
inherited

◆ GH2ProjectionY()

GH1D * GH2Base::GH2ProjectionY ( const char * name = "_py",
int firstbin = 0,
int lastbin = -1,
Option_t * option = "",
bool KeepEmpty = false )
inherited

◆ Init()

void GH2Base::Init ( )
privateinherited

◆ operator=() [1/2]

GH2I & GH2I::operator= ( const GH2I & )
default

◆ operator=() [2/2]

GH2I & GH2I::operator= ( GH2I && )
defaultnoexcept

◆ Print()

void GH2I::Print ( Option_t * opt = "") const
override

Definition at line 66 of file GH2I.cxx.

◆ Projection_Background()

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 )
inherited

◆ ProjectionX()

GH1D * GH2I::ProjectionX ( const char * name = "_px",
int firstbin = 0,
int lastbin = -1,
Option_t * option = "" )

Definition at line 103 of file GH2I.cxx.

References GH2Base::GH2ProjectionX().

◆ ProjectionX_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 )
inherited

Definition at line 138 of file GH2Base.cxx.

References GH2Base::Projection_Background().

Referenced by GH1D::Project_Background().

◆ ProjectionY()

GH1D * GH2I::ProjectionY ( const char * name = "_py",
int firstbin = 0,
int lastbin = -1,
Option_t * option = "" )

Definition at line 108 of file GH2I.cxx.

References GH2Base::GH2ProjectionY().

◆ ProjectionY_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 )
inherited

Definition at line 192 of file GH2Base.cxx.

References GH2Base::Projection_Background().

Referenced by GH1D::Project_Background().

◆ SetSummary()

void GH2Base::SetSummary ( bool is_summary = true)
inlineinherited

Definition at line 63 of file GH2Base.h.

References GH2Base::fIsSummary.

Referenced by GCanvas::Process2DKeyboardPress().

◆ SetSummaryDirection()

void GH2Base::SetSummaryDirection ( EDirection dir)
inlineinherited

Definition at line 66 of file GH2Base.h.

References GH2Base::fSummaryDirection.

Referenced by GCanvas::Process2DKeyboardPress().

Member Data Documentation

◆ fIsSummary

bool GH2Base::fIsSummary {false}
privateinherited

◆ fProjections

◆ fSummaryDirection

◆ fSummaryProjections