RootTalk


ROOT Discussion Forums

TH1::Fit ... TF1::kNotDraw

Discuss the ROOT documentation here.

Moderator: rootdev

TH1::Fit ... TF1::kNotDraw

Unread postby Wile E. Coyote » Fri Feb 08, 2013 19:53

In the TH1::Fit method description, in the ... Warning when using the option "0" ... you "REDEFINE" the TF1::kNotDraw enum:
const Int_t kNotDraw = 1<<9;
Maybe you could remove that line and simply replace "->ResetBit(kNotDraw);" with the proper "->ResetBit(TF1::kNotDraw);" in the example code given therein.
Wile E. Coyote
 
Posts: 469
Joined: Sun Sep 30, 2012 10:50

Return to ROOT Documentation

Who is online

Users browsing this forum: No registered users and 1 guest