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

Detailed Description

Definition at line 18 of file GH2D.h.

Public Member Functions

 GH2D ()=default
 
 GH2D (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 
 GH2D (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, Double_t ylow, Double_t yup)
 
 GH2D (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins)
 
 GH2D (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t *ybins)
 
 GH2D (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup)
 
 GH2D (const GH2D &)=default
 
 GH2D (const TObject &)
 
 GH2D (GH2D &&) noexcept=default
 
 ~GH2D ()
 
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
 
virtual void Draw (TCutG *)
 
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)
 
GH2Doperator= (const GH2D &)=default
 
GH2Doperator= (GH2D &&) 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 GH2D:
+ Collaboration diagram for GH2D:

Constructor & Destructor Documentation

◆ GH2D() [1/9]

GH2D::GH2D ( )
default

◆ GH2D() [2/9]

GH2D::GH2D ( 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 GH2D.cxx.

◆ GH2D() [3/9]

GH2D::GH2D ( 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 GH2D.cxx.

◆ GH2D() [4/9]

GH2D::GH2D ( 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 GH2D.cxx.

◆ GH2D() [5/9]

GH2D::GH2D ( 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 GH2D.cxx.

◆ GH2D() [6/9]

GH2D::GH2D ( 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 GH2D.cxx.

◆ GH2D() [7/9]

GH2D::GH2D ( const TObject & obj)
explicit

Definition at line 34 of file GH2D.cxx.

◆ GH2D() [8/9]

GH2D::GH2D ( const GH2D & )
default

◆ GH2D() [9/9]

GH2D::GH2D ( GH2D && )
defaultnoexcept

◆ ~GH2D()

GH2D::~GH2D ( )
default

Member Function Documentation

◆ begin()

iterator GH2Base::begin ( )
inlineinherited

Definition at line 111 of file GH2Base.h.

◆ Clear()

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

Definition at line 59 of file GH2D.cxx.

References GH2Base::GH2Clear().

◆ Clone()

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

Definition at line 50 of file GH2D.cxx.

◆ Copy()

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

Definition at line 43 of file GH2D.cxx.

◆ Draw() [1/2]

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

Definition at line 72 of file GH2D.cxx.

◆ Draw() [2/2]

void GH2D::Draw ( TCutG * cut)
virtual

Definition at line 85 of file GH2D.cxx.

◆ DrawCopy()

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

Definition at line 94 of file GH2D.cxx.

References hist.

◆ DrawNormalized()

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

Definition at line 104 of file GH2D.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 * GH2D::GetTH2 ( )
inlineoverridevirtual

Implements GH2Base.

Definition at line 48 of file GH2D.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 Clear(), and GH2I::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]

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

◆ operator=() [2/2]

GH2D & GH2D::operator= ( GH2D && )
defaultnoexcept

◆ Print()

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

Definition at line 68 of file GH2D.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 * GH2D::ProjectionX ( const char * name = "_px",
int firstbin = 0,
int lastbin = -1,
Option_t * option = "" )

Definition at line 114 of file GH2D.cxx.

References GH2Base::GH2ProjectionX().

Referenced by GCanvas::Process2DKeyboardPress(), and GH1D::Project().

◆ 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 * GH2D::ProjectionY ( const char * name = "_py",
int firstbin = 0,
int lastbin = -1,
Option_t * option = "" )

Definition at line 119 of file GH2D.cxx.

References GH2Base::GH2ProjectionY().

Referenced by GCanvas::Process2DKeyboardPress(), and GH1D::Project().

◆ 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