22 float x[
n] = {0.092,0.83,0.94,0.81,0.12,0.1};
23 float y[
n] = {0.71,9.4,9,8,0.3,0.71};
25 TH2F *h2 =
new TH2F(
"h2",
"h2",40,0,1,40,0,10);
27 for (
int i=0;i<100000;i++) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TRandom * gRandom
virtual Int_t IsInside(Double_t x, Double_t y) const
Return 1 if the point (x,y) is inside the polygon defined by the graph vertices 0 otherwise.
void Draw(Option_t *option="") override
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)
TProfile * ProfileX(const char *name="_pfx", Int_t firstybin=1, Int_t lastybin=-1, Option_t *option="") const
Project a 2-D histogram into a profile histogram along X.
Int_t Fill(Double_t) override
Invalid Fill method.
Double_t Rndm() override
Machine independent random number generator.