diff --git a/.github/workflows/doxygen-deploy.yml b/.github/workflows/doxygen-deploy.yml index 74a7e8d..a257739 100644 --- a/.github/workflows/doxygen-deploy.yml +++ b/.github/workflows/doxygen-deploy.yml @@ -41,9 +41,12 @@ jobs: - name: Prepare site for deployment run: | - mkdir -p _site/reference - #cp docs/index.html _site/ - mv doxygen-html/* _site/reference/ + # Create the final deployment directory + mkdir -p _site + # Copy your new custom landing page to be the site's root index.html + cp docs/index.html _site/index.html + # Move the generated doxygen files into the 'reference' subdirectory + - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..104b62c --- /dev/null +++ b/docs/index.html @@ -0,0 +1,174 @@ + + +
+ + +Modern Particle & Nuclear Physics Data Analysis with ROOT RDataFrame
+ View Full Class Reference (Doxygen) +RAD is built around the idea of configuring a physics reaction as a ConfigReaction object, which manages the full analysis process.
+RAD provides a suite of utility classes and functions for:
+These are composed with your ConfigReaction object for flexible analysis workflows.
+root example.C)// Setup for MC generator data (HepMC3)
+#include "HepMCElectro.h"
+#include "ParticleCreator.h"
+#include "Indicing.h"
+#include "Histogrammer.h"
+#include "BasicKinematicsRDF.h"
+#include "ReactionKinematicsRDF.h"
+#include "ElectronScatterKinematicsRDF.h"
+#include
+#include
+
+void ProcessHepMCY() {
+ using namespace rad::names::data_type; // For MC(), Rec(), Truth() types
+ ROOT::EnableImplicitMT(4);
+
+ // 1. Create reaction object for HepMC3 MC data
+ rad::config::HepMCElectro hepmc{"hepmc3_tree", "data_file.root"};
+ hepmc.AliasMomentumComponents();
+
+ // 2. Define particles (using ParticleCreator)
+ rad::config::ParticleCreator particles{hepmc};
+ // Assign indices, build composite particles...
+
+ // 3. Create and draw histograms (using Histogrammer)
+ rad::histo::Histogrammer histo{hepmc};
+ // Configure histograms, draw with histo.DrawSame("Q2",gPad);
+
+ // 4. Process and analyze event data...
+}
+// Run with: root examples/ProcessHepMCY.C
+
+ This workflow is typical for both MC generator and real experimental data (just swap the reaction class for your experiment).
+git clone https://github.com/dglazier/rad
+export ROOT_INCLUDE_PATH=/path/to/rad/include:$ROOT_INCLUDE_PATH
+
+ root examples/ProcessHepMCY.C
+ No build required (header-only). Analysis is performed interactively in ROOT using C++ scripts.
+