Build ACTS:Build the dependencies using the amazing Paul's script:https://github.com/paulgessinger/ci-dependencies/tree/build_cmake
We configure cmake and we also need Geomodel Plugin!
cmake -S acts/ -B acts-build -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_PREFIX_PATH=${ACTS_PREFIX_PATH} -DCMAKE_CXX_STANDARD=17 -DACTS_BUILD_EXAMPLES_PYTHON_BINDINGS=ON -DACTS_BUILD_EXAMPLES=ON -DACTS_BUILD_PLUGIN_GEOMODEL=ON -DACTS_BUILD_PLUGIN_GEANT4=ON
Set up Python
In order to run python script with the python bindings we need to set up python:
source <install-dir>/python/setup.sh
It is recommended to use virtual environment for python:
Run a python script with the sql database that converts geomodel shapes to ACTS sensitive surfaces
python3 geomodel.py -i ATLAS-R3-MUONTEST_v2.db -q Muon --convertsubvols --output-obj -o muons
Github Get a github account: https://github.com/ Fork and clone ACTS: https://github.com/acts-project/acts
git clone git@github.com:<user_name>/acts.git <source_area>
Build ACTS: Build the dependencies using the amazing Paul's script:
https://github.com/paulgessinger/ci-dependencies/tree/build_cmake
We configure cmake and we also need Geomodel Plugin!cmake -S acts/ -B acts-build -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_PREFIX_PATH=${ACTS_PREFIX_PATH} -DCMAKE_CXX_STANDARD=17 -DACTS_BUILD_EXAMPLES_PYTHON_BINDINGS=ON -DACTS_BUILD_EXAMPLES=ON -DACTS_BUILD_PLUGIN_GEOMODEL=ON -DACTS_BUILD_PLUGIN_GEANT4=ON
Set up Python In order to run python script with the python bindings we need to set up python:
source <install-dir>/python/setup.sh
It is recommended to use virtual environment for python:Run a python script with the sql database that converts geomodel shapes to ACTS sensitive surfaces python3 geomodel.py -i ATLAS-R3-MUONTEST_v2.db -q Muon --convertsubvols --output-obj -o muons