Revision 24 as of 2012-02-01 09:15:54

Clear message
Locked History Actions

ANAROOT/Questions

ANAROOT/Questions

ANAROOTに関して、困ったことやわからんことを書いておく。 やり方を知っている人は答えてあげてください。 新しいものは上に書いてください。

XML by Linux PC

LinuxでXMLをエクセルのように編集できるソフト誰か知りませんか?(近藤) ないとxmlは形式は使いづらい。。。 とりあえず磯部さんにxml<-->csv変換スクリプトを作ってもらったので、 csvにしてOpenOffice.org 3.1.1で編集してみる。 こいつで保存すると文字列を""でくくる。まったく余計なことをしやがりますね。。。

ANAROOTの心配?

treeなどを含むrootファイルは結構容量がある。複数の人がANAROOTを使用して皆がそれぞれrootファイルをたくさん作りだすとかなりのディスク容量が必要になるかも?

-->初めはディスクサイズを気にしないでtreeに書き出し、気になり始めたらデータを削る事を考えてはと思っている。(磯部)

ANAROOTコンパイルエラー(1)

コンパイルすると以下のようなエラーで怒られる。

make[4]: Entering directory `/home/kondo/exp/temp/anaroot/sources/Reconstruction/BigRIPS'
rootcint -f anabrips_dict.cc -c -I. -I../../.. -Iinclude -I/usr/local/src/root/root_v5.30.00/include -I../../Core/include include/TArtBeam.h include/TArtBeamPara.h include/TArtBigRIPSParameters.h include/TArtCalibPID.h include/TArtDetMap.h include/TArtFocalPlane.h include/TArtFocalPlanePara.h include/TArtIC.h include/TArtICPara.h include/TArtOptMatrix.h include/TArtPID.h include/TArtPPAC.h include/TArtPPACPara.h include/TArtPlastic.h include/TArtPlasticPara.h include/TArtRIPS.h include/TArtRIPSPara.h include/TArtTOF.h include/TArtTOFPara.h include/segidlist.h anabrips_linkdef.h
Error: cannot open file "TDOMParser.h"  include/TArtICPara.h:6:
Error: cannot open file "TXMLNode.h"  include/TArtICPara.h:7:
Error: cannot open file "TDOMParser.h"  include/TArtPlasticPara.h:6:
Error: cannot open file "TXMLNode.h"  include/TArtPlasticPara.h:7:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing anabrips_dict.cc anabrips_dict.h !!!
Error: rootcint: error loading headers...
make[4]: *** [anabrips_dict.cc] Error 1

anaroot/sources/Reconstruction/BigRIPS/Makefile.amに

CXXFLAGS += -I$(ROOTSYS)/io/xmlparser/inc                                       

を追加した後autogen.shなどの標準のINSTALLの手順を踏めばOK。 -->コンパイルできても動かない。

-->確か何かxml関連のパッケージをインストールしないといけないが、何を入れる必要があるか忘れちゃいました。yum search xmlでそれっぽいのを入れてみて下さい。たぶんヘッダーで関数定義は可能だが、実体を含むライブラリが無くて動かないんだと思います。(磯部)

-->rootのconfigureで--enbale-xmlを付けたらうまくいきました。その前にあらかじめxml関係をインストールしておかなくてはいけないかも。(近藤)

-->defaultで--enable-xmlかも。libxml2とlibxml2-develを入れればOKかと。 <<br>>http://root.cern.ch/drupal/content/build-prerequisites