Installation
Prerequisites
Requirement |
Notes |
|---|---|
C++ compiler |
C++20-capable (GCC ≥ 11, Clang ≥ 14). |
CMake |
Version 3.15 or higher. |
Python |
Version 3.8 or higher. |
Cython |
|
HDF5 |
System package |
ROOT |
A working installation from https://root.cern/. |
PyTorch / LibTorch |
Installed automatically as part of the build process. |
RapidJSON |
Fetched automatically by CMake. |
Graphviz (optional) |
Required only for building the Doxygen class-diagram graphs. |
Building from Source
git clone https://github.com/woywoy123/AnalysisG.git
cd AnalysisG
pip install .
Building Documentation Locally
Install the documentation dependencies:
pip install -r docs/requirements.txt
Generate the Doxygen XML (from the repository root):
doxygen Doxyfile
Build the Sphinx HTML output:
cd docs
make html
The resulting HTML pages are written to docs/build/html/.
Open docs/build/html/index.html in a browser to review the output.
Read the Docs
The documentation is hosted at Read the Docs.
It is rebuilt automatically on every push to the default branch.
The build pipeline is defined in .readthedocs.yaml at the repository root:
Doxygen is executed to produce XML in
doxygen-docs/xml/.Sphinx (with the Breathe extension) reads that XML and renders HTML using the
sphinx-rtd-theme.