From 813b9a1ea59f094607855cf8e2405605a1a56d4b Mon Sep 17 00:00:00 2001 From: Dave Gaskell <gaskelld@jlab.org> Date: Sat, 9 Jul 2022 09:51:23 -0400 Subject: [PATCH] Add information about how to generate ntuples/root trees --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 0ea3e78..038eb10 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,26 @@ simc_gfortran - Hall C/A Physics Monte Carlo SIMC (simc_gfortran) is the standard Hall C Monte Carlo for coincidence reactions, written in FORTRAN. +SIMC has recently been modified to remove all explcit dependence on +CERNLIB. There are now 3 ways to generate output for SIMC. + +1. Run simc as normal (use "run_simc" script or interactively). This will +generate a fortran ".bin" file in the worksim directory. Probably not too +useful unless your analysis code is in fortran. + +2. Run simc and then use the helper application to convert the default output +to a PAW ntuple (NOTE: this WILL require use of cernlib - on the JLab +machines type "setup cernlib/2005"). The helper application is in util/ntuple +and must be compiled separately from simc. Running SIMC + the ntuple +application can be done in one command using "run_simc_ntup". + +2. Run simc and then use the helper application to convert the default output +to a root tree (this program is also in fortran, but cernlib is not needed). +The helper application is in util/root_tree and must also be compiled +separately from simc. Running SIMC + the root-tree application can be done +in one command using "run_simc_tree". + + Features -------- -- GitLab