From d9e06ae40c65c0d2264d97efc7ea4984dfddcbd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Thu, 20 Jan 2022 16:51:42 +0100 Subject: [PATCH] Update 'Event generator' --- Event-generator.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/Event-generator.md b/Event-generator.md index f87f5c1..f3d58f8 100644 --- a/Event-generator.md +++ b/Event-generator.md @@ -1 +1,32 @@ -# TODO \ No newline at end of file + +# Building the environment + +``` +SetupProject DaVinci/v41r2 +SetupProject Gauss/v49r7 +``` +# Run without detector simulation +Output is .sim file + + +for PHSP MC: +``` +gaudirun.py Gauss-Job_StandAlone.py JobStandAloneKSpiTightCut.py +``` + +for Signal MC: +``` +gaudirun.py Gauss-Job_StandAlone.py JobStandAloneKSpiSignalMC.py $APPCONFIGOPTS/Gauss/Beam6500GeV-md100-2016-nu1.6.py $DECFILESROOT/options/12115102.py $LBPYTHIA8ROOT/options/Pythia8.py +gaudirun.py Gauss-Job_StandAlone.py JobStandAloneKSpiSignalMC.py +``` + +For more details see +[https://wiki.physik.uzh.ch/lhcb/gauss:gauss](https://wiki.physik.uzh.ch/lhcb/gauss:gauss) + + +# Convert .sim files to .root files + +The .sim input file is **hardcoded** in the tupleResultKSpi_StandAlone_TightCut.py! +``` +lb-run DaVinci/v41r2 gaudirun.py tupleResultKSpi_StandAlone_TightCut.py +``` \ No newline at end of file