5 #include <RooRealVar.h>
7 #include <RooDataSet.h>
8 #include <RooNDKeysPdf.h>
13 TH1Keys(
const char *
name,
const char *
title,Int_t nbinsx,Double_t xlow,Double_t xup, TString
options =
"a", Double_t
rho = 1.5);
14 TH1Keys(
const char *name,
const char *title,Int_t nbinsx,
const Float_t *
xbins, TString
options =
"a", Double_t
rho = 1.5) ;
15 TH1Keys(
const char *name,
const char *title,Int_t nbinsx,
const Double_t *xbins, TString
options =
"a", Double_t
rho = 1.5) ;
22 virtual Int_t
Fill(Double_t
x) {
return Fill(x,1.0); }
23 virtual Int_t
Fill(Double_t
x, Double_t
w);
24 virtual void FillN(Int_t ntimes,
const Double_t *
x,
const Double_t *
w, Int_t stride=1);
26 virtual void Add(
const TH1 *h1, Double_t
c1=1);
27 virtual void Add(
const TH1 *
h,
const TH1 *h2, Double_t
c1=1, Double_t c2=1) {
dont(
"Add with two arguments"); }
31 virtual void Copy(TObject &hnew)
const {
dont(
"Copy"); }
33 virtual TH1 *
DrawCopy(Option_t *option=
"")
const {
dont(
"DrawCopy");
return 0; }
41 virtual void Reset(Option_t *option=
"") ;
46 virtual void Scale(Double_t
c1=1, Option_t *option=
"");
66 void dont(const
char *) const ;
virtual void SetBinsLength(Int_t n=-1)
virtual Double_t GetEntries() const
ClassDef(TH1Keys, 1) private RooRealVar * w_
virtual Int_t Fill(Double_t x)
virtual void SetBinContent(Int_t bin, Int_t, Int_t, Double_t content)
virtual void Copy(TObject &hnew) const
virtual void AddBinContent(Int_t bin)
virtual void FillN(Int_t ntimes, const Double_t *x, const Double_t *w, Int_t stride=1)
virtual void Reset(Option_t *option="")
virtual Double_t GetBinContent(Int_t bin, Int_t) const
virtual Double_t GetBinContent(Int_t bin) const
virtual void Add(const TH1 *h, const TH1 *h2, Double_t c1=1, Double_t c2=1)
virtual void SetBinContent(Int_t bin, Double_t content)
void dont(const char *) const
virtual void AddBinContent(Int_t bin, Double_t w)
virtual void Add(const TH1 *h1, Double_t c1=1)
virtual Double_t GetBinContent(Int_t bin, Int_t, Int_t) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
virtual TH1 * DrawCopy(Option_t *option="") const
virtual void SetBinContent(Int_t bin, Int_t, Double_t content)
virtual void Scale(Double_t c1=1, Option_t *option="")
const TH1 * GetHisto() const
ClassDef(TH1Keys, 1) private RooRealVar * x_