Differences between revisions 8 and 9
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
=== bashに戻る === | === bashに入る === |
ANAROOT/ROOTの小技について、ここに記述してください。
bashに入る
root[0] .bash
値の評価
cuiで行末に";"を付けない場合は値の評価をしてくれる。
root[0] double x = 1; root[1] x (double))1.00000000000000000e+00
この機能はポインタがNullでないことを確かめるのに便利。
起動時にrootファイル読み込み
root hoge.root
で起動と同時にrootファイルが読み込まれる。
Canvas右上のEntriesとかでヒストグラムの右上が隠れるのが嫌
gStyle->SetStatStyle(0)
で透明になります。
2次元ヒストのZCOL表示をANAPAWみたいに設定する
gStyle->SetPalette(1)