From 335939b230b71be66b74de39014f8159a3c9a2e1 Mon Sep 17 00:00:00 2001 From: Kamil Skwarczynski Date: Mon, 9 Mar 2026 19:08:50 +0000 Subject: [PATCH] expand docuemantion about discrete variables --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d35fc1..a1be67c 100644 --- a/README.md +++ b/README.md @@ -297,7 +297,7 @@ With the modifications, let's run MCMC again: ```bash ./bin/MCMCTutorial TutorialConfigs/FitterConfig.yaml ``` -Congratulations, you have sucessfully modified the MCMC! 🎉 +Congratulations, you have successfully modified the MCMC! 🎉 ### How to Compare Chains Now that you have two chains you can try comparing them using the following: @@ -316,6 +316,33 @@ General: ``` If you were to run a new MCMC with this configuration, you should see that `Norm_Param_0` does not move from its nominal position during the chain. + +
+(Detailed) Discrete Normalisation Parameters +For the most part you will be defining continuous norm parameters. +However some variables like SampleID or number of hadrons are discrete. + +**MaCh3** supports setting normalisation parameters on discrete variables, as shown in the example below: + +```yaml +- Systematic: + Names: + FancyName: Norm_Param_Discrete + KinematicCuts: + - SampleId: [[1]] +``` + +For more complex selections, you can specify multiple discrete values: + +```yaml +- Systematic: + Names: + FancyName: Norm_Param_Discrete + KinematicCuts: + - SampleId: [[1], [10]] +``` +
+
(Detailed) Eigen Decomposition ‐ PCA