26 for (
Int_t i=0; i<
n; i++) {
41 gr1->
SetTitle(
"TMath::Vavilov density");
50 TF1 *
f1 =
new TF1(
"f1",
"TMath::Vavilov(x, 0.3, 0.5)", -2, 10);
52 TH1F *hist =
new TH1F(
"vavilov",
"vavilov", 100, -2, 10);
53 for (
int i=0; i<10000; i++) {
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual Double_t GetRandom()
Return a random number following this function shape.
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
1-D histogram with a float per channel (see TH1 documentation)}
virtual void SetTitle(const char *title="")
Set graph title.
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
This is the base class for the ROOT Random number generators.
virtual void SetGrid(Int_t valuex=1, Int_t valuey=1)
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
A Graph is a graphics object made of two arrays X and Y with npoints each.
void SetHighLightColor(Color_t col)
Double_t Vavilov(Double_t x, Double_t kappa, Double_t beta2)