Random generating

I use the following micro to generate randoms (2, 1000) obeying the function. However, I cannot understand why there is a slot around 10. Could any body explain it for me?

[code]{
TH1F *h = new TH1F(“h”, “h”, 100,0, 100);

float minET = 2; float maxET = 1000;
TF1 *fCrossSec_4 = new TF1( “fCrossSec_4”, “[0]*1./pow(x, 4)”, 0, 100);
fCrossSec_4->FixParameter(0, 1.);
fCrossSec_4->SetRange( minET, maxET);
for ( int i=0; i< 1000000; i++ )
{
ETparton = fCrossSec_4->GetRandom();
h->Fill(ETparton);
}
h->Draw();
}
[/code]
[/img]

Hi,

see your posting and our discussion at root.cern.ch/phpBB2/viewtopic.php?p=11257

Axel.