21 GH2D(
const char* name,
const char* title, Int_t nbinsx,
const Double_t* xbins, Int_t nbinsy,
const Double_t* ybins);
22 GH2D(
const char* name,
const char* title, Int_t nbinsx,
const Float_t* xbins, Int_t nbinsy,
const Float_t* ybins);
23 GH2D(
const char* name,
const char* title, Int_t nbinsx,
const Double_t* xbins, Int_t nbinsy, Double_t ylow, Double_t yup);
24 GH2D(
const char* name,
const char* title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t* ybins);
25 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);
26 explicit GH2D(
const TObject&);
33 void Draw(Option_t* opt = "") override;
34 virtual
void Draw(TCutG*);
35 TH1*
DrawCopy(Option_t* opt = "", const
char* name_postfix = "_copy") const override;
36 TH1*
DrawNormalized(Option_t* opt = "", Double_t norm = 1) const override;
38 void Clear(Option_t* opt = "") override;
39 void Print(Option_t* opt = "") const override;
40 void Copy(TObject&) const override;
41 TObject*
Clone(const
char* newname = "") const override;
43 GH1D*
ProjectionX(const
char* name = "_px",
int firstbin = 0,
int lastbin = -1, Option_t* option = "");
45 GH1D*
ProjectionY(const
char* name = "_py",
int firstbin = 0,
int lastbin = -1, Option_t* option = "");
47 TH2*
GetTH2()
override {
return this; }
51 ClassDefOverride(
GH2D, 1)