<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Artemis:old :: Fumi Web</title>
    <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/index.html</link>
    <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;Artemis doesn’t have as extensive documentation as ROOT…&#xA;For beginners like me, this can be challenging.&#xA;I’ll put aside the accuracy of the information and leave notes on the areas I struggled with.&#xA;Installation I’ll leave notes on the various steps to get Artemis up and running.</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Mon, 19 Feb 2024 21:54:34 +0900</lastBuildDate>
    <atom:link href="https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>解析環境を作ってみる</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/setup-analysis-environment/index.html</link>
      <pubDate>Mon, 19 Feb 2024 21:54:34 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/setup-analysis-environment/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;Artemisを使って色々試してみるため、簡易的な解析環境を構築する。&#xA;ここでは筆者が用意したリポジトリを使用する。&#xA;と入れ簡易的なのでGitHubクローン用のディレクトリに移動してクローンするだけでOKです。&#xA;cd $HOME/work/github git clone https://github.com/FumiHubCNS/artemis_training.git 解析環境はクローンした際に生成されるartemis_training内でに構築されています。&#xA;正しくArtemisがインストールされていれば、上記のディレクトリ内でartemisを起動後に以下のコマンドが実行でき、真っ白なTCanvasが表示されるはずです。&#xA;zone メモ Artemisの公式GitHubにはRIKENのOEDOビームラインで使用している解析環境のテンプレートが公開されている。しかしOEDOビームラインようの解析環境では汎用TPC用読み出しシステム(GET)解析用のライブラリを使用しているため、ミニマムバージョンのArtemisではエラーが起こる。そのためこの記事では公式の解析環境サンプルを使用しない。</description>
    </item>
    <item>
      <title>UbuntuにArtemisをインストール</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/install-ubuntu/index.html</link>
      <pubDate>Mon, 19 Feb 2024 21:26:49 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/install-ubuntu/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;UbuntuにArtemisを導入したので手順を書き残しておきます。&#xA;まずインストールしたUbuntuのバージョンは以下の通りです。&#xA;PRETTY_NAME=&#34;Ubuntu 22.04.3 LTS&#34; NAME=&#34;Ubuntu&#34; VERSION_ID=&#34;22.04&#34; VERSION=&#34;22.04.3 LTS (Jammy Jellyfish)&#34; VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL=&#34;https://www.ubuntu.com/&#34; SUPPORT_URL=&#34;https://help.ubuntu.com/&#34; BUG_REPORT_URL=&#34;https://bugs.launchpad.net/ubuntu/&#34; PRIVACY_POLICY_URL=&#34;https://www.ubuntu.com/legal/terms-and-policies/privacy-policy&#34; UBUNTU_CODENAME=jammy インストールの流れは以下の通りです。&#xA;GitHubからROOTをインストール apt installでyaml-cpp 0.7.0をインストール GitHubからArtemisをインストール 今回の記事ではホームディレクトリ以下に作業用ディレクトリworkおよびGitHubのリポジトリをクローンするためのディレクトリgithubをそれぞれ作成してビルドしていきます。&#xA;下準備 まずはそれぞれののディレクトリを以下のコマンドで作成します。&#xA;mkdir work cd work mkdir github mkdir install cd github そしてgitを使えるようにしたり、makeできたりするようにする。</description>
    </item>
    <item>
      <title>運動学曲線を描く</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/kinematics-curves/index.html</link>
      <pubDate>Sat, 09 Sep 2023 16:02:38 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/kinematics-curves/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;実験に行う上で、測定したい反応や副次的に得られる反応の反跳粒子の運動エネルギー(TKE)や反跳角度、運動量移行といった量を計算することは多いと思います。&#xA;しかし、特殊相対論での運動学の計算コードを毎回書いていくのは非常に面倒くさいですよね。（こういうところで時間を取られるのは辛いですね…）&#xA;また、実験計画を立てる上でも上記のような量およびその相関を素早く確認できると嬉しいです。&#xA;そこでここでは、反跳粒子の運動エネルギー(TKE)と反跳角度相関と運動量移行を計算するマクロを作成します。&#xA;Artemisの解析環境が正しく設定されていれば、後述するコードをコピペするだけで使えるはずです。&#xA;得られる図は以下のような感じになります。&#xA;反跳粒子相関 運動量移行 この図では核子あたり100 MeVまで加速した$^{86}\mathrm{Kr}$と標的の重陽子の非弾性散乱の運動学を描画しています。&#xA;縦線は86Krの励起エネルギー、横線は重心系の角度を表しています。&#xA;青線の場合は励起エネルギー(Ex)が10の倍数MeVの時の相関に、赤線の場合は重心系の角度が5の倍数度の時の相関に対応しています。&#xA;左図の場合は一番右側の青線(TKEが25 MeVの時に80度付近の点を通る線)が弾性散乱(Ex=0)における相関です。&#xA;そして、左隣の青線がExが10 MeVの線、その隣の青線が20 MeVの線…となっています。&#xA;また赤線は一番下の線が重心系の角度が0度になっており、上に行くごとに5度ずつ上がっていきます。&#xA;なので、例えば5 MeVの反跳粒子が実験室系で75度に散乱される場合、Ex=10 MeVの86Krができたことになります。&#xA;一方で右図について一番左の青線が弾性散乱に対応しています。（原点を通っているのでそれはそうでしょうと思うかもしれませんが一応書いておきます）&#xA;マクロの使い方 何はともあれ、後述するソースコードをコピーしてマクロを作成します。</description>
    </item>
    <item>
      <title>Use the same colors as matplotlib</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/matplotlib-colors/index.html</link>
      <pubDate>Sat, 09 Sep 2023 14:50:34 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/matplotlib-colors/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;I’ll try replicating Matplotlib’s color scheme in ROOT. You can set the colors using the code below.&#xA;std::vector&lt;Int_t&gt; GetMatplotlibColors() { std::vector&lt;Int_t&gt; colors; colors.push_back( TColor::GetColor(&#34;#1F77B4&#34;) ); colors.push_back( TColor::GetColor(&#34;#FF7F0E&#34;) ); colors.push_back( TColor::GetColor(&#34;#2CA02C&#34;) ); colors.push_back( TColor::GetColor(&#34;#D62728&#34;) ); colors.push_back( TColor::GetColor(&#34;#9467BD&#34;) ); colors.push_back( TColor::GetColor(&#34;#8C564B&#34;) ); colors.push_back( TColor::GetColor(&#34;#E377C2&#34;) ); colors.push_back( TColor::GetColor(&#34;#7F7F7F&#34;) ); colors.push_back( TColor::GetColor(&#34;#BCBD22&#34;) ); colors.push_back( TColor::GetColor(&#34;#17BECF&#34;) ); return colors; } All that’s left to do is to read this function and pack it into vector&lt;Int_t&gt;. When using it, you can register it as needed with SetLineColor or SetMarkerColor.</description>
    </item>
    <item>
      <title>AlmaLinuxにArtemisをインストール</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/install-almalinux/index.html</link>
      <pubDate>Sun, 20 Aug 2023 04:24:57 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/install-almalinux/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;AlmaLinuxにArtemisを導入したので手順を書き残しておきます。（備忘録なのでかなり適当）&#xA;まずインストールしたAlmaLinuxのバージョンは以下の通りです。&#xA;LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: AlmaLinux Description: AlmaLinux release 8.8 (Sapphire Caracal) Release: 8.8 Codename: SapphireCaracal` 大まかな手順は以下の通りです。&#xA;yumでインストール可能なパッケージをインストール yaml-cpp 0.7.0をインストール artemisをインストール yumでパッケージをインストール sudo yum install root sudo yum install cmake sudo dnf install zlib-devel yaml-cpp 0.7.0のインストール yum installでもyaml-cppをインストールは可能なのですが、バージョン0.7.0に対応していないので直接入れる必要があります。ここではGitHubを使用します。リンクはここ。</description>
    </item>
    <item>
      <title>NixOSにArtemisをインストール</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/install-nixos/index.html</link>
      <pubDate>Sat, 19 Aug 2023 15:02:09 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/install-nixos/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;NixOSにArtemisを導入したので手順を書き残しておきます。（備忘録なのでかなり適当）&#xA;インストールするArtemisはdevelopブランチです。&#xA;NixOS自身の環境整備方法については割愛します。&#xA;大まかな手順は以下の通りです。&#xA;home.nixの設定 flake.nixの設定 設定を反映 artemisをインストール root/artemisの環境設定 home.nixの設定 ユーザー環境向けの環境構築ツールhome-managerにてartemisに必要なあれこれをインストールします。&#xA;~/.config/home-maneger/home.nix内のhome.packages以下に必要なパッケージを入れます。&#xA;# The home.packages option allows you to install Nix packages into your # environment. home.packages = [ # # Adds the &#39;hello&#39; command to your environment. It prints a friendly # # &#34;Hello, world!&#34; when run. # pkgs.hello # # It is sometimes useful to fine-tune packages, for example, by applying # # overrides. You can do that directly here, just don&#39;t forget the # # parentheses. Maybe you want to install Nerd Fonts with a limited number of # # fonts? # (pkgs.nerdfonts.override { fonts = [ &#34;FantasqueSansMono&#34; ]; }) # # You can also create simple shell scripts directly inside your # # configuration. For example, this adds a command &#39;my-hello&#39; to your # # environment: # (pkgs.writeShellScriptBin &#34;my-hello&#34; &#39;&#39; # echo &#34;Hello, ${config.home.username}!&#34; # &#39;&#39;) pkgs.git pkgs.tmux pkgs.root pkgs.yaml-cpp pkgs.cmake pkgs.zlib ]; flake.nixの設定 rootやC++などを導入したシェルを立ち上げるための設定をflake.nixに書きます。</description>
    </item>
    <item>
      <title>ヒストグラムファイルを作成する</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/tree-projection-histograms/index.html</link>
      <pubDate>Sun, 06 Aug 2023 18:47:27 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/tree-projection-histograms/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;tree-&gt;Draw()はいろいろな相関を見れる良い方法ですが、決まった相関を複数確認したい時（シフト業務など）には向いていません。&#xA;そこでここではTTreeProjectionProcessorを使ってあらかじめヒストグラムを定義しておく方法を紹介します。&#xA;この手法の良いとして以下のようなものが挙げられます。&#xA;複数の相関を短時間で確認できること 解析中に逐次相関を確認できること 操作が簡単のでシフト業務などに有用 さて、TTreeProjectionProcessorの使い方ですが、別のyamlファイルにてヒストグラムのい定義をする必要があります。&#xA;ここでは、二体反応のシミュレーションを使います。&#xA;まず、以下のようにヒストグラムを定義していきます。ここではhist.yamlという名前にしておきます。&#xA;alias: ScatThetaCM: mctruth[2].Theta()*TMath::RadToDeg() scatEx: mctruth[2].fE-mctruth[2].TKE()-mctruth[0].M() recoilTKE: recoil.TKE() recoilThetaLab: recoil.Theta()*TMath::RadToDeg() pmag: TMath::Sqrt( recoil.Px()*recoil.Px() + recoil.Py()*recoil.Py() + recoil.Pz()*recoil.Pz() ) qprojxy: TMath::Sqrt(pmag*pmag-recoil.Pz()*recoil.Pz())/197 qz: recoil.Pz()/197 group: - name: monte_carlo_simulation title: Monte-Carlo Simulation ( Two Body Reaction) contents: - name: sact_theta title: Angular Distribution (CM System) x: [&#34;ScatThetaCM&#34;, 200, 0.0, 15.0] - name: ex title: Excitation Energy Distribution x: [&#34;scatEx&#34;, 200, 0., 30.] - name: momentum_transfer title: q_{xy} vs q_{z} (Momentum Transfer) x: [&#34;qz&#34;, 200, -0.05, 1.95] y: [&#34;qprojxy&#34;, 200,-0.05, 1.95] - name: kinematics title: TKE vs Theta_{Lab} (Kinematics) x: [&#34;recoilThetaLab&#34;, 200, 0, 90] y: [&#34;recoilTKE&#34;, 200, 0, 15] ヒント group:でヒストグラムのグループを定義し、contents:以降の- name:にてヒストグラムを定義します。 一次元ならx:のみ、二次元ならx:、y:をマッピングします。リストの中身は[描画したいデータ、Bin数、最小値、最大値]です。 そのほかにもゲートをかける(cut:)や次元の違う配列の比較を行う(async:)などのオプションがあります。</description>
    </item>
    <item>
      <title>2体反応シミュレーション</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/two-body-simulation/index.html</link>
      <pubDate>Sun, 06 Aug 2023 15:29:00 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/two-body-simulation/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;Steering fileを自分で書いてみて実際にArtemisを動かしてみようPart2。&#xA;今回は2体反応のシミュレーションを行います。&#xA;以下のような条件を想定しています。&#xA;実験室系で考えると、ビーム粒子Particle1と静止している反応標的Particle2が、散乱粒子Particle3と反跳粒子Paricle4となる反応です。&#xA;以下のようなyamlファイルを作成します。&#xA;Anchor: - &amp;maxevt 100000 - &amp;output output/sim/reaction_tree.root Processor: - name: timer type: art::TTimerProcessor ################################################################################################## - name: MyTProcessor type: art::TBinaryReactionGenerator parameter: AngDistFile: &#34;&#34; # [TString] file name of the angular distribution. The format of content is &#39;%f %f&#39;. AngMom: 0 # [Int_t] angular momentum for bessel function. If -1 (default), the isotopic distribution is assumed. AngRange: [0, 15] # [FloatVec_t] the range of angular distribution DoRandomizePhi: 1 # [Int_t] Flag to randomize phi direction (uniform) ExMean: 15 # [Float_t] mean of excitation energy ExRange: [0, 30] # [FloatVec_t] the range of excitation energy ExWidth: 7 # [Float_t] width of excitation energy : default is delta function KinMean: 100 # [Float_t] mean kinetic energy per nucleon MCTruthCollection: mctruth # [TString] output name of MC truth MaxLoop: *maxevt # [Int_t] the maximum number of loop OutputCollection: recoil # [TString] output name of particle array OutputTransparency: 0 # [Bool_t] Output is persistent if false (default) Particle1: [86, 36] # [IntVec_t] mass and atomic number for particle1 Particle2: [2, 1] # [IntVec_t] mass and atomic number for particle2 Particle3: [86, 36] # [IntVec_t] mass and atomic number for particle3 RunName: sim # [TString] run name RunNumber: 0 # [Int_t] run number Verbose: 1 # [Int_t] verbose level (default 1 : non quiet) ################################################################################################## - name: MyTOutputTreeProcessor type: art::TOutputTreeProcessor parameter: FileName: *output # [TString] The name of output file OutputTransparency: 0 # [Bool_t] Output is persistent if false (default) SplitLevel: 0 # [Int_t] Split level of tree defined in TTree (default is changed to be 0) TreeName: tree # [TString] The name of output tree Verbose: 1 # [Int_t] verbose level (default 1 : non quiet) ################################################################################################## ヒント art::TBinaryReactionGeneratorのパラメータのいくつか変更するだけで好きな反応計算を行うことができます。</description>
    </item>
    <item>
      <title>モンテカルロ積分(N次元球体積)</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/monte-carlo-hypersphere/index.html</link>
      <pubDate>Fri, 04 Aug 2023 01:44:35 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/monte-carlo-hypersphere/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;Steering fileを自分で書いてみて実際にArtemisを動かしてみよう。&#xA;ここを参考に、4次元球までの体積をモンテカルロ積分で計算してみます。&#xA;Artemisで疑似乱数を生成する場合はTRandomNumberEventStoreを使えば良いです。&#xA;まずは以下のようなyamlファイルを作成します。&#xA;ここてはファイル名をhoge.yamlとしてきます。&#xA;Anchor: - &amp;maxevt 1000000 - &amp;output output/sim/random_tree.root Processor: - name: timer type: art::TTimerProcessor ################################################################################################## - name: MyTRandomNumberEventStore type: art::TRandomNumberEventStore parameter: Max: 1 # [Float_t] the maximum value MaxLoop: *maxevt # [Int_t] the maximum number of loop Min: 0 # [Float_t] the minimum value OutputCollection: dim1 # [TString] output name of random values OutputTransparency: 0 # [Bool_t] Output is persistent if false (default) Verbose: 1 # [Int_t] verbose level (default 1 : non quiet) ################################################################################################## - name: MyTRandomNumberEventStore type: art::TRandomNumberEventStore parameter: Max: 1 # [Float_t] the maximum value MaxLoop: *maxevt # [Int_t] the maximum number of loop Min: 0 # [Float_t] the minimum value OutputCollection: dim2 # [TString] output name of random values OutputTransparency: 0 # [Bool_t] Output is persistent if false (default) Verbose: 1 # [Int_t] verbose level (default 1 : non quiet) ################################################################################################## - name: MyTRandomNumberEventStore type: art::TRandomNumberEventStore parameter: Max: 1 # [Float_t] the maximum value MaxLoop: *maxevt # [Int_t] the maximum number of loop Min: 0 # [Float_t] the minimum value OutputCollection: dim3 # [TString] output name of random values OutputTransparency: 0 # [Bool_t] Output is persistent if false (default) Verbose: 1 # [Int_t] verbose level (default 1 : non quiet) ################################################################################################## - name: MyTRandomNumberEventStore type: art::TRandomNumberEventStore parameter: Max: 1 # [Float_t] the maximum value MaxLoop: *maxevt # [Int_t] the maximum number of loop Min: 0 # [Float_t] the minimum value OutputCollection: dim4 # [TString] output name of random values OutputTransparency: 0 # [Bool_t] Output is persistent if false (default) Verbose: 1 # [Int_t] verbose level (default 1 : non quiet) ################################################################################################## - name: MyTOutputTreeProcessor type: art::TOutputTreeProcessor parameter: FileName: *output # [TString] The name of output file OutputTransparency: 0 # [Bool_t] Output is persistent if false (default) SplitLevel: 0 # [Int_t] Split level of tree defined in TTree (default is changed to be 0) TreeName: tree # [TString] The name of output tree Verbose: 1 # [Int_t] verbose level (default 1 : non quiet) ################################################################################################## 次にartemisを起動します。</description>
    </item>
    <item>
      <title>saveで保存したrootファイルからヒストグラムのオブジェクトを取得する</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/extract-saved-histograms/index.html</link>
      <pubDate>Sun, 30 Jul 2023 00:35:35 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/extract-saved-histograms/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;artemisにてsaveコマンドを実行すると&#34;unixtime&#34;.png、“unixtime”.pdf、“unixtime”.rootファイルが保存されます。&#xA;学会発表などで、数年前にsaveした図を使いたいが、判例や罫線が邪魔、ラベルなどの名前を変えたいということがあると思います。&#xA;どのrootファイルから作成したのかわかっていればDrawしなおせば済むのですが、探すのが面倒だったり、覚えていないなどということがよくあります。&#xA;そこでこの記事ではsaveで保存したrootファイルからヒストグラムのオブジェクトを抜き出す方法を書いておきます。&#xA;とはいえ、TCanvasをrootファイルで保存しているだけなので結構簡単です。&#xA;まずがrootファイルを開きます。&#xA;→ a figs/&#34;date&#34;/&#34;unixtime&#34;.root Attaching file figs/&#34;date&#34;/&#34;unixtime&#34;.root as _file0... (TFile *) 0x5bb5ea0 artemis [1] .ls TFile** figs/&#34;date&#34;/&#34;unixtime&#34;.root TFile* figs/&#34;date&#34;/&#34;unixtime&#34;.root KEY: TCanvas artcanvas;1 canvas 次にTSeqCollectionからTFileのリスト、TFile、TCanvas`を順に取得します。&#xA;TSeqCollection* filelist = gROOT-&gt;GetListOfFiles(); TFile* tfi = (TFile*)filelist-&gt;At(0); TCanvas* acan = (TCanvas *) tfi-&gt;Get(&#34;artcanvas;1&#34;); このようにして取得したTCanvasの中身は以下の通りです。</description>
    </item>
    <item>
      <title>オンライン解析用チュートリアル</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/online-analysis-tutorial/index.html</link>
      <pubDate>Sun, 09 Jul 2023 23:43:09 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/online-analysis-tutorial/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;artemisを使ってオンライン解析などをする際に必要な設定などをまとめておきます。&#xA;この記事ではartemisを使ったことのないユーザーに向けて、ひとまず解析できるようになり、各検出器で取得したデータの相関を確認できるようになるまでを目標にします。&#xA;解析用ディレクトリの整備・拡張方法や解析用のyamlファイルの作り方はおいておきます。&#xA;SSHクライアント用の設定ファイルの設定 artemisではVNCを使って解析サーバーのデスクトップ画面を表示させています。&#xA;毎回sshのコマンドを打ち込んでも良いのですが、一番手っ取り早いのは.ssh/configに以下を追加することです。&#xA;host analysis_server hostname analysis_server_name user username LocalForward 15901 analysis_server_name:5901 analysis_server_nameに解析サーバーの名前またはIPアドレスを書き、使用する解析環境が入っているユーザー名をusernameに書きます。（実験課題番号がユーザー名になっていることは多い気がします。）&#xA;また5091と15901も意味がある数字です。&#xA;前者は解析サーバーに立てるVNCサーバーのポート番号です。&#xA;後述しますがVNCサーバーの番号+5900の値を記入する必要があります。&#xA;後者は自分のPC側のポート番号です。&#xA;VNC viewerなどで画面を映す時に使います。&#xA;メモ 自分のPCから直接解析サーバーにアクセスできる場合は上記の記述だけで問題ないのですが、そうでない場合もよくあるような気がします。その場合はログインサーバーなどを経由した多段sshをする必要があります。その場合は以下のように書きます。</description>
    </item>
    <item>
      <title>Useful commands</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/common-commands/index.html</link>
      <pubDate>Sun, 09 Jul 2023 22:55:38 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/common-commands/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;Artemis has several available commands.&#xA;You need to register the commands in artemislogon.C.&#xA;Below is a list of commands that the author frequently uses.&#xA;help : Type this when you forget a command. add : A command to read a yaml file. res : A command to start an analysis using the loaded yaml file. fls : Outputs a list of the loaded TFiles. fcd : Specifies the number for a TFile. proc : Outputs the parameter list required for the processor. zone : Creates the standard TCanvas (artcanvas) in Artemis. gcom : Sets global comment on artcanvas (doesn’t disappear even if you execute ‘zone’). comment : Sets comment on artcanvas (disappears when you execute ‘zone’). save : A command to save the artcanvas in .root, .pdf, and .png formats. lgz : Sets the z-axis to a logarithmic scale. lgx and lgy are also available. lnz : Sets the z-axis to linear. lgx and lgy are also available. ht : Draws the histogram by specifying its number. hn : Draws the histogram of the next number. hp : Draws the histogram of the previous number. slo : Uses GUI to draw a straight line on artcanvas. avx : Slices TH2 for each X bin and fits it with a Gaussian.</description>
    </item>
    <item>
      <title>Re-analyze root file created by artemis</title>
      <link>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/reanalyze-root-files/index.html</link>
      <pubDate>Sun, 09 Jul 2023 17:16:29 +0900</pubDate>
      <guid>https://www.rcnp.osaka-u.ac.jp/~fendo/unown/wiki/artemis-old/reanalyze-root-files/index.html</guid>
      <description>警告 This is an archived article. It preserves the previous documentation and may not match current environments.&#xA;New documentation&#xA;A note on the method of running another processor with a root file (for example, hoge.root) created using artemis as input.&#xA;Even so, the method is simple, you just use art::TTreeEventStore.&#xA;For example, to re-analyze a root file with a TTree named tree, you should create a yaml file as following code.</description>
    </item>
  </channel>
</rss>