Series of commands to run on cori for doing track reconstruction for MCC. The instructions should be run sequentially. The result will be the following directory structure:
ACTSFun/
: Copy of the ACTSFun git repository with all the necessary code.${CFS}/atlas/${kkrizka}/ACTSFun/build/
: Binaries from compiling ACTSFun. This can be deleted and rebuild at any time. It is located in the CFS storage space as it can get quite large.ACTSFun/run
: Directory where all program should be run from and where results will be saved. Be careful about deleting anything from here!The first step is to setup the container with all the necessary dependencies. This should be done at the beginning of every session. All following commands should be run within the container environment.
shifter --image gitlab-registry.cern.ch/berkeleylab/muoncollider/muoncollider-docker/mucoll-ilc-framework:1.4.0-centos8 /bin/bash
The second step is to clone the ACTSFun
repository and build the code. This needs to be done only once.
git clone --recursive https://gitlab.cern.ch/berkeleylab/MuonCollider/ACTSFun.git
source /opt/ilcsoft/muonc/init_ilcsoft.sh
cd ACTSFun
cmake -S . -B ${CFS}/atlas/${USER}/ACTSFun/build/ -DBOOST_INCLUDEDIR=/usr/include/boost169 -DBOOST_LIBRARYDIR=/usr/lib64/boost169
cmake -j32 --build ${CFS}/atlas/${USER}/ACTSFun/build/
The last step is to run ACTS Fatras to generate / fast simulate single muon events and then reconstruct them. More details are available on the FATRAS page.
The following code also includes setting up some helpful path using the setup.sh
script. That should be run at the beginning of every session.
source setup.sh ${CFS}/atlas/${USER}/ACTSFun/build/ # Setup the environment!
mkdir run && cd run
${MYBUILD}/exts/acts/bin/ActsExampleFatrasTGeo --response-file ${MYBUILD}/response/tgeo-mat-lctracker.response --bf-values 0 0 3.57 --output-dir OUT_mu --output-csv 1 -n 1000
${MYBUILD}/exts/acts/bin/ActsExampleTruthTracksTGeo --response-file ${MYBUILD}/response/tgeo-mat-lctracker.response --bf-values 0 0 3.57 --input-dir OUT_mu --input-csv 1 -n 1000
Copy ACTSFun/run/performance_track_fitter.root
to your local computer and look at the output with ROOT.