23void Arc(
int n,
double a,
double r,
double *px,
double *py);
30 C->SetFrameLineWidth(0);
33 h2pf->SetTitle(
Form(
"The first %d Fibonacci numbers",
N));
43 for (
int i=0; i<=
N; i++) {
50 h2pf->Draw(
"A COL L TEXT");
53void Arc(
int n,
double a,
double r,
double *px,
double *py) {
58 for (
int i = 2; i<=
n-2; i++) {
99 Arc(
NP,3*pi2,(
double)
N,px,py);
114 Arc(
NP,0.,(
double)
N,px,py);
129 Arc(
NP,pi2,(
double)
N,px,py);
144 Arc(
NP,2*pi2,(
double)
N,px,py);
149 else h2pf->AddBin(
NP, px ,py);
#define R(a, b, c, d, e, f, g, h, i)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
2D Histogram with Polygonal Bins
RooArgList L(Args_t &&... args)
constexpr Double_t C()
Velocity of light in .
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.