Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
ja:root:wantto11 [GiriWiki]

ユーザ用ツール

サイト用ツール


ja:root:wantto11

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

次のリビジョン
前のリビジョン
ja:root:wantto11 [2017/05/06 14:57]
kota 作成
ja:root:wantto11 [2018/08/22 17:27] (現在)
kota
ライン 6: ライン 6:
 <code cpp> <code cpp>
   TChain *Chain = new TChain("​..."​);​   TChain *Chain = new TChain("​..."​);​
-  Long64_t nentry = Chain->​GetEntries();​ +  ​const Long64_t nentry = Chain->​GetEntries();​ 
-for( Long64_t ientry = 0 ; ientry < nentry ; ++ientry ){ +    for( Long64_t ientry = 0 ; ientry < nentry ; ++ientry ){ 
-  Chain->​GetEntry(ientry);​ +      Chain->​GetEntry(ientry);​ 
-   +      ..... 
-  ​..... +      TFile *CurrentFile = Chain->​GetFile();​ 
-   +      Char_t *filename = CurrentFile->​GetName();​ 
-  ​TFile *CurrentFile = Chain->​GetFile();​ +      .....
-  Char_t *filename = CurrentFile->​GetName();​ +
- +
-  ​.....+
 </​code>​ </​code>​
  
ja/root/wantto11.1494082677.txt.gz · 最終更新: 2017/05/06 14:57 by kota