From 01aed4d7c1027de48ff8332d0a9679e221b91455 Mon Sep 17 00:00:00 2001 From: Dave Casper <dcasper@uci.edu> Date: Sun, 26 Jan 2020 06:32:36 +0000 Subject: [PATCH] Update README.md --- .../FaserSCT_Digitization/README.md | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md b/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md index 4b8569c2..00fe54b9 100644 --- a/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md +++ b/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md @@ -1,27 +1,38 @@ This package will translate Geant4 hits (HITS) into RawDataObject (RDO) data files. -Because input data and alignment is needed, there are a few steps to prepare. From a run directory where calypso is installed, do: +Because input data and alignment is needed, there are a few steps to prepare. From a run directory where calypso is installed (displayed in the command-line prompt as `run >` below), do: -*) run > ./setup.sh +``` +run > ./setup.sh +``` This sets up the runtime environment after building. The "." is mandatory. -*) run > runG4.py >& runG4.log +``` +run > runG4.py >& runG4.log +``` This will create a HITS file. -*) run > python python/GeoModelTest/GeoModelTestConfig.py +``` +run > python python/GeoModelTest/GeoModelTestConfig.py +``` This will generate a set of neutral alignment data -*) run > CopyAlignFolder.sh +``` +run > CopyAlignFolder.sh +``` This will merge the alignment data into the conditions DB. -All the above steps need only be done once after building calypso (but the second and third steps must be repeated each time you do "make install"). +All the above steps need only be done once after building calypso (but the last two steps must be repeated each time you do `make install`). Now you can run digitization on the HITS file you generated with the command: +``` run > FaserSCT_DigitizationDbg.py >& digi.log +``` + +This will read your `g4.HITS.root` and generate an RDO data file with digitized raw data objects. -This will read your g4.HITS.root generate an RDO data file with digitized raw data objects. -- GitLab