--
XiaopengZHOU - 23 May 2014
将goldenrun中的几个文件考到Documents/study/PANDAX/work/goldrun/ 下。
今天我试着将PandaXMC bamboo-shoot2 pandax-analysics-example 移到/Documents/study/PANDAX/work/mc-sw/中,发现mc cmake不通过。报错如下:
CMake Error: The current
CMakeCache.txt directory /Users/zhouxp/Documents/study/PANDAX/work/mc/PandaXMC/build/CMakeCache.txt is different than the directory /Users/zhouxp/Documents/program/geant4.9.6.p02/pandax/PandaXMC/build where
CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the
CMakeCache.txt
CMake Error: The source "/Users/zhouxp/Documents/study/PANDAX/work/mc/PandaXMC/CMakeLists.txt" does not match the source "/Users/zhouxp/Documents/program/geant4.9.6.p02/pandax/PandaXMC/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
只需要删掉build文件夹,重新建/build,cmake即可。
root打开TFile时只能打开有限个。
退出程序ctrl+C不好使,ctrl+Z;ps u;kill +num;
ttree->Show(1);用来查看ttree里的branch