Test of the TMath::Vavilov distribution
void pdf013_Vavilov()
{
xvalues[i] =
r.Uniform(-2, 10);
}
c1->SetHighLightColor(19);
gr1->
SetTitle(
"TMath::Vavilov density");
TF1 *
f1 =
new TF1(
"f1",
"TMath::Vavilov(x, 0.3, 0.5)", -2, 10);
TH1F *hist =
new TH1F(
"vavilov",
"vavilov", 100, -2, 10);
for (int i=0; i<10000; i++) {
}
}
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
void Draw(Option_t *chopt="") override
Default Draw method for all objects.
void SetTitle(const char *title="") override
Set the title of the TNamed.
1-D histogram with a float per channel (see TH1 documentation)
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
void Draw(Option_t *option="") override
Draw this histogram with options.
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
This is the base class for the ROOT Random number generators.
Double_t Vavilov(Double_t x, Double_t kappa, Double_t beta2)
- Author
- Anna Kreshuk
Definition in file pdf013_Vavilov.C.