NotesOnEUTelescopeInstallation

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 whether you need more runs of tele.. the driplet and triplet need to be aligned..you cannot do too many runs #check your root version make sure its the right one

for quad.cc for modules, you need to also export the

NotesOnEUTelescopeInstallation

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 whether you need more runs of tele.. the driplet and triplet need to be aligned..you cannot do too many runs
#check your root version make sure its the right one

for quad.cc for modules, you need GBL and also export the library path

=svn co https://svnsrv.desy.de/desy/GeneralBrokenLines/=

cd GeneralBrokenLines

cd trunk

cd cpp

mkdir build

cd build

cmake .. emacs CMakeCache.txt

CMAKE_CXX_FLAGS:STRING=-std=c++11

make

make install

export GBL=/home/YOURID/GeneralBrokenLines/trunk/cpp

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2016-06-01 - CarolineNiemeyer
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback