Notes on how to set up EUTelescope software
nano .profile
#add
/bin/zsh
#create your directory
mkdir TB_pp1
cd TB_pp1
#because you need this steps every time put it in a script..
nano setupTS.sh
#set the root version
source /afs/cern.ch/sw/lcg/external/gcc/4.7.2/x86_64-slc6-gcc47-opt/setup.sh
cd /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.18/x86_64-slc5-gcc46-opt/root
source bin/thisroot.sh
cd -
#set the compiler
export PATH=/cvmfs/cms.cern.ch/slc6_amd64_gcc480/external/gcc/4.8.0/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/cvmfs/cms.cern.ch/slc6_amd64_gcc480/external/gcc/4.8.0/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/cvmfs/cms.cern.ch/slc6_amd64_gcc480/external/gcc/4.8.0/lib
source setupTS.sh
git clone https://github.com/psi46/pxar.git
cd pxar
mkdir build
cd build
cmake -DBUILD_dtbemulator=ON -DBUILD_pxarui=OFF ..
make install
export PXARPATH=/your_path/TB_pp1/pxar
cd /your_path/TB_pp1/
git clone https://github.com/eudaq/eudaq.git
cd eudaq
git checkout tags/v1.5.1
cd build
cmake -DBUILD_cmspixel=ON ..
make install
//checkout the telescope package
git clone https://github.com/pitzl/tele-scope.git
cd tele-scope
// adjust the makefile according to your setup
change /home/pitzl/eudaq everywhere to your location of eudaq
Step 0 :
prepare a
geo.dat
file with the telescope and DUT/REF planes
(see one of the examples)
set a symbolic link to the directory with the eudaq raw data
ln -s /data/eudaq/data data (raw data files are called run020833.raw)
Step 1 : telescope triplet alignment
make tele
./tele -g geo.dat 20833
(reads data/run020833.raw
(writes align_20833.dat and hot_20833.dat)
iterate at least once (re-run)
creates tele_20833.root
#check your root version make sure its the right one