部門 > ROOT > TF

「部門/ROOT/TF」の編集履歴(バックアップ)一覧はこちら

部門/ROOT/TF - (2012/01/29 (日) 19:48:09) の最新版との変更点

追加された行は緑色になります。

削除された行は赤色になります。

THクラスについて簡単にまとめとく。 *宣言方法 **TH1 -[[http://root.cern.ch/root/html/TH1.html#TH1:TH1%3]] #highlight(c++){{TH1F *h1 = new TH1F(char histname,char hitstitle, int ビンの数, double 最初, double 最後);}} **TH2 -[[http://root.cern.ch/root/html/TH2.html#TH2:TH2]] #highlight(c++){{TH2F * h2 = new TH2F(char histname,char hitstitle, int xビンの数, double x最初, double x最後, int yビンの数, double y最初, double y最後);}} *データを入れる **TH1 #highlight(c++){{h1->Fill(Double_t value);}} 重みwを入れる場合は #highlight(c++){{h1->Fill(Double_t data, Double_t w);}} **TH2 #highlight(c++){{h2->Fill(Double_t xvalue, Double_t yvalue);}}} *参考 -[[http://root.cern.ch/root/html/TH1.html]] -[[http://root.cern.ch/root/html/TH2.html]]
THクラスについて簡単にまとめとく。 *宣言方法 **TH1 -[[http://root.cern.ch/root/html/TH1.html#TH1:TH1%3]] #highlight(c++){{TH1F *h1 = new TH1F(char histname,char hitstitle, int ビンの数, double 最初, double 最後);}} **TH2 -[[http://root.cern.ch/root/html/TH2.html#TH2:TH2]] #highlight(c++){{TH2F * h2 = new TH2F(char histname,char hitstitle, int xビンの数, double x最初, double x最後, int yビンの数, double y最初, double y最後);}} *データを入れる **TH1 #highlight(c++){{h1->Fill(Double_t value);}} 重みwを入れる場合は #highlight(c++){{h1->Fill(Double_t data, Double_t w);}} **TH2 #highlight(c++){{h2->Fill(Double_t xvalue, Double_t yvalue);}} *参考 -[[http://root.cern.ch/root/html/TH1.html]] -[[http://root.cern.ch/root/html/TH2.html]]

表示オプション

横に並べて表示:
変化行の前後のみ表示: