GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
GH2D Class Reference

Definition at line 18 of file GH2D.h.

Public Member Functions

 GH2D ()
 
 GH2D (const TObject &)
 
 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 Float_t *xbins, Int_t nbinsy, const Float_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, 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 () override
 
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)
 
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)
 

#include <GH2D.h>

+ Inheritance diagram for GH2D:
+ Collaboration diagram for GH2D:

Constructor & Destructor Documentation

◆ GH2D() [1/7]

GH2D::GH2D ( )
inline

Definition at line 21 of file GH2D.h.

◆ GH2D() [2/7]

GH2D::GH2D ( const TObject &  obj)

Definition at line 40 of file GH2D.cxx.

◆ GH2D() [3/7]

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

◆ GH2D() [4/7]

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 17 of file GH2D.cxx.

◆ GH2D() [5/7]

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 22 of file GH2D.cxx.

◆ GH2D() [6/7]

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 28 of file GH2D.cxx.

◆ GH2D() [7/7]

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 34 of file GH2D.cxx.

◆ ~GH2D()

GH2D::~GH2D ( )
overridedefault

Member Function Documentation

◆ begin()

iterator GH2Base::begin ( )
inlineinherited

Definition at line 97 of file GH2Base.h.

◆ Clear()

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

Definition at line 65 of file GH2D.cxx.

References GH2Base::GH2Clear().

◆ Clone()

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

Definition at line 56 of file GH2D.cxx.

◆ Copy()

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

Definition at line 49 of file GH2D.cxx.

◆ Draw() [1/2]

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

Definition at line 78 of file GH2D.cxx.

◆ Draw() [2/2]

void GH2D::Draw ( TCutG *  cut)
virtual

Definition at line 91 of file GH2D.cxx.

◆ DrawCopy()

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

Definition at line 105 of file GH2D.cxx.

◆ DrawNormalized()

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

Definition at line 116 of file GH2D.cxx.

◆ end()

iterator GH2Base::end ( )
inlineinherited

Definition at line 98 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 199 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 51 of file GH2Base.h.

References GH2Base::fProjections.

Referenced by GCanvas::Process2DKeyboardPress().

◆ GetSummary()

bool GH2Base::GetSummary ( ) const
inlineinherited

Definition at line 55 of file GH2Base.h.

References GH2Base::fIsSummary.

◆ GetSummaryDirection()

EDirection GH2Base::GetSummaryDirection ( ) const
inlineinherited

Definition at line 58 of file GH2Base.h.

References GH2Base::fSummaryDirection.

◆ GetSummaryProjections()

TList* GH2Base::GetSummaryProjections ( )
inlineinherited

Definition at line 52 of file GH2Base.h.

References GH2Base::fSummaryProjections.

◆ GetTH2()

TH2* GH2D::GetTH2 ( )
inlineoverridevirtual

Implements GH2Base.

Definition at line 52 of file GH2D.h.

◆ GH2Clear()

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

Definition at line 28 of file GH2Base.cxx.

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

Referenced by GH2I::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

◆ Print()

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

Definition at line 74 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 126 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 139 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 131 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 193 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 54 of file GH2Base.h.

References GH2Base::fIsSummary.

Referenced by GCanvas::Process2DKeyboardPress().

◆ SetSummaryDirection()

void GH2Base::SetSummaryDirection ( EDirection  dir)
inlineinherited

Definition at line 57 of file GH2Base.h.

References GH2Base::fSummaryDirection.

Referenced by GCanvas::Process2DKeyboardPress().