24 TH1F *
h1 =
new TH1F(
"h1",
"my histogram",100,-3,3);
31 TH1F *hint1 =
new TH1F(
"hint1",
"h1 bins integral",100,-3,3);
33 for (i=1;i<=100;i++) {
47 gPad->GetUxmax(),
gPad->GetUymax(),0,rightmax,510,
"+L");
R__EXTERN TRandom * gRandom
R__EXTERN TStyle * gStyle
virtual void SetLineColor(Color_t lcolor)
Set the line color.
void SetLabelColor(Int_t labelcolor)
1-D histogram with a float per channel (see TH1 documentation)}
virtual Double_t GetMaximum(Double_t maxval=FLT_MAX) const
Return maximum value smaller than maxval of bins in the range, unless the value has been overridden b...
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content see convention for numbering bins in TH1::GetBin In case the bin number is greater th...
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
static uint64_t sum(uint64_t i)