From 4d4a87f71d1ebf1609abb8731d73fafa8f65e709 Mon Sep 17 00:00:00 2001 From: Dave Casper <dcasper@localhost.localdomain> Date: Sun, 26 Jan 2020 03:08:20 -0800 Subject: [PATCH] Revert "Merge branch 'revert-4c9e84aa' into 'master'" This reverts commit 09506d347fd3493b05f1529e888a4805943e61ad, reversing changes made to 4c9e84aa6660762727103731dfdac6e1161b962c. --- Control/CalypsoExample/GeoModelTest/README.md | 28 +++++++++++++ .../FaserSCT_Digitization/README.md | 39 +++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/Control/CalypsoExample/GeoModelTest/README.md b/Control/CalypsoExample/GeoModelTest/README.md index b05f0c34..832c17a7 100644 --- a/Control/CalypsoExample/GeoModelTest/README.md +++ b/Control/CalypsoExample/GeoModelTest/README.md @@ -1,3 +1,4 @@ +<<<<<<< HEAD This example package actually serves several purposes: *) It illustrates how to initialize and access the detector description and magnetic field. @@ -15,5 +16,32 @@ The file GeoModelTestConfig.py can be edited to change some run options. After running the algorithm, to add the alignment data into your local conditions DB, do: run > CopyAlignFolder.sh +======= +This example package serves several purposes: + + +* It illustrates how to initialize and access the detector description and magnetic field. + +* It checks that the expected number of detector elements are created. + +* It generates a set of neutral alignment constants for the Tracker, which can be folded into the conditions database. + +* It dumps a standalone GeoModel sqlite geometry database which could be used by external programs to display FASER without requiring any FASER software (only GeoModel) + +To run the algorithm, in a run directory where Calypso has been installed (displayed below as the command-line prompt `run >`), do + +``` +run > ./setup.sh +run > python python/GeoModelTest/GeoModelTestConfig.py +``` + +The file `GeoModelTestConfig.py` can be edited to change some run options. + +After running the algorithm, to add the alignment data into your local conditions DB, do: + +``` +run > CopyAlignFolder.sh +``` +>>>>>>> 101c2c7308dc4189ca54fa71c97222e7670a54a7 diff --git a/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md b/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md index 4b8569c2..4e2a3c06 100644 --- a/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md +++ b/Tracker/TrackerDigitization/FaserSCT_Digitization/README.md @@ -1,5 +1,6 @@ This package will translate Geant4 hits (HITS) into RawDataObject (RDO) data files. +<<<<<<< HEAD Because input data and alignment is needed, there are a few steps to prepare. From a run directory where calypso is installed, do: *) run > ./setup.sh @@ -25,3 +26,41 @@ 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 generate an RDO data file with digitized raw data objects. +======= +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 +``` + +This sets up the runtime environment after building. The "." is mandatory. + +``` +run > runG4.py >& runG4.log +``` + +This will create a HITS file. + +``` +run > python python/GeoModelTest/GeoModelTestConfig.py +``` + +This will generate a set of neutral alignment data + +``` +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 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. + +>>>>>>> 101c2c7308dc4189ca54fa71c97222e7670a54a7 -- GitLab