--
XiaopengZHOU - 22 May 2014
锦屏的服务器的ip:182.141.184.31 端口为8021 ssh -p8021 -X zhouxp@182.141.184.31 scp
-P8021 zhouxp@182.141.184.31
key
在自己的电脑上生成key(ssh-keygen)将在.ssh/中生成的id_rsa.pub中的内容添加到服务器上的.ssh/authorized_keys中 并且将。chomd 700 .ssh/ chmod 600 authorized_keys
git
将panadx用到的蒙卡程序PandaXMC,数据包bamboo-shoot2及rawdata分析程序pandax-analysis-example拷贝到本地。我的放在了/home/zhouxp/Documents/program/geant4.9.6.p02/pandax/
git clone gitolite@pandax.physics.sjtu.edu.cn:
在上述命令后添加相应的名字即可。
git branch 查看所在的branch。git branch -r ; git checkout -b 新的branch origin/已有的名字
cmake安装 :
- 安装PandaXMC之前要source geant4.9.6-install/bin/geant4.sh 建立build文件夹,cd build ,cmake .. ;make ;
- 安装bamboo-shoot2时要指定目录 mkdir build;cd bulid; cmake -DCMAKE_INSTALL_PREFIX=../../../../../study/PANDAX/bamboo-shoot2/ ../ make ; make install
- 安装pandax-analysis-example时要指定bamboo-shoot2的路径。mkdir build; cd build; cmake -DBAMBOOSHOOT_DIR=~/Documents/study/PANDAX/bamboo-shoot2/ .. note:-DBAMBOOSHOOT!!!没有2 ;make
- 参考 AnalysisProcedure
mc
mc的版本是Geant4.9.6.p02。将来可能会更新到4.10.但是现在已有的程序许多物理过程还是依赖于4.9.6.p02. 我的安装文件在/Users/zhouxp/Documents/program/geant4.9.6.p02.
执行命令./CXOSim -f cf252source_mixed.mac -n 100 -o cf252.root (-n 100指定运行次数,-o *.root指定输出文件)
cf252source_mixed.mac内容如下:
1 #-----------------------------------------
2 # verbose
3 #-----------------------------------------
4 /control/verbose 0
5 /run/verbose 0
6 /event/verbose 0
7 /tracking/verbose 0
8 /Xe/detector/calibrationSourcePos P0
9 /xe/gun/type Volume
10 /xe/gun/shape Sphere
11 /xe/gun/radius 10 mm
12 #/xe/gun/center 2.0 -613.0 1000.91 mm
13 /xe/gun/calibrationSourcePos P0
14 /xe/gun/confine CalibrationSource
15 /xe/gun/particle mixed
16 /xe/gun/mixedType Cf252source
17 /xe/gun/energytype Cf252Mixed
真正的放射源为 sphere和volume交叠的地方
data
data的路径为/nas/rawdata/run5/ana_data/这是已经做完Ttree
查看文件在
http://182.141.184.31:8000/pandadm/run-query/
gold run
https://pandax.physics.sjtu.edu.cn/foswiki/PandaX/Software/GoldenRuns