diff --git a/GeoModelExamples/HelloGeo/README.md b/GeoModelExamples/HelloGeo/README.md index c9625cf1f81865be664fa9c2ded97d5080bb4784..ad7e50e5193bb9188398a2cc75f0bab95f4042ad 100644 --- a/GeoModelExamples/HelloGeo/README.md +++ b/GeoModelExamples/HelloGeo/README.md @@ -13,38 +13,9 @@ The example program: * loops over all the RootVolume's children volumes (GeoPhysVol and GeoFullPhysVol instances), printing the name of the GeoLogVol associated to them -## Dependencies - -### Install Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. -If you are not sure how to install it, please take a look at the Appendix, below. - -### GeoModelCore - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelCore.git -mkdir build_gmcore -cd build_gmcore -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelCore -make -j 4 -make install -cd .. -``` - - - ## Build -From your work folder: - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelExamples.git -mkdir build_hellogeo -cd build_hellogeo -cmake -DCMAKE_INSTALL_PREFIX=../install ../GeoModelExamples/HelloGeo/ -make -j4 -``` +To build the GeoModelExamples please refer to the documentation at [GeoModel website](https://geomodel.web.cern.ch/home/) ## Run @@ -53,13 +24,3 @@ Now, you can **run the example** by typing: ```bash ./hellogeo ``` - ----- - -## Appendix - -### Notes on Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. Qt5 classes are used for I/O operations with the underlying SQLite daemon, to store/handle data, and to handle logging. - -If you are not sure how to install it, please take a look at [the notes on Qt5, in the GeoModelIO repository](https://gitlab.cern.ch/GeoModelDev/GeoModelIO/blob/master/README_QT5_NOTES.md). diff --git a/GeoModelExamples/HelloGeoRead/README.md b/GeoModelExamples/HelloGeoRead/README.md index a659996a27fb01ae90392a6e8dfcf027da04a755..e1573cdf0a984244deb2d1e0dcdb4ecd7acac60e 100644 --- a/GeoModelExamples/HelloGeoRead/README.md +++ b/GeoModelExamples/HelloGeoRead/README.md @@ -13,47 +13,9 @@ The example program: The example program uses many of the GeoModel packages. -## Dependencies - -### Install Qt5 - -To build and run GeoModel libraries, you must have a working Qt5 installation on your computer. -If you are not sure how to install it, please take a look at the Appendix on Qt5, below. - -### Build GeoModelCore - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelCore.git -mkdir build_gmcore -cd build_gmcore -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelCore -make -j 4 -make install -``` - -### Build GeoModelIO - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelIO.git -mkdir build_gmio -cd build_gmio -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelIO -make -j 4 -make install -``` - ## Build -From your work folder: - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelExamples.git -mkdir build_hellogeoRead -cd build_hellogeoRead -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelExamples/HelloGeoRead -make -j4 -make install -``` +To build the GeoModelExamples please refer to the documentation at [GeoModel website](https://geomodel.web.cern.ch/home/) ## Run @@ -69,14 +31,3 @@ Now, you can run the example by typing: ```bash ./hellogeoRead geometry.db ``` - - - ---- - -## Appendix - -### Notes on Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. Qt5 classes are used for I/O operations with the underlying SQLite daemon, to store/handle data, and to handle logging. - -If you are not sure how to install it, please take a look at [the notes on Qt5, in the GeoModelIO repository](https://gitlab.cern.ch/GeoModelDev/GeoModelIO/blob/master/README_QT5_NOTES.md). diff --git a/GeoModelExamples/HelloGeoRead2G4/README.md b/GeoModelExamples/HelloGeoRead2G4/README.md index 31e4d942a0f4e0eb4d64bce15c18ad98c698751c..a3b9b9e9385225d2f50501420aefc5fe2f4dd19e 100644 --- a/GeoModelExamples/HelloGeoRead2G4/README.md +++ b/GeoModelExamples/HelloGeoRead2G4/README.md @@ -19,8 +19,6 @@ The example program: To build the GeoModelExamples please refer to the documentation at [GeoModel website](https://geomodel.web.cern.ch/home/) - - ## Run `hellogeoRead2G4` Get sample geometry data to play with: diff --git a/GeoModelExamples/HelloGeoReadNodeAction/README.md b/GeoModelExamples/HelloGeoReadNodeAction/README.md index 11a3972fb0c3aa06696c7bed98c4901b59938fbf..17df2f1ad0c3dd4352104071e9fe0ea57a0d12ec 100644 --- a/GeoModelExamples/HelloGeoReadNodeAction/README.md +++ b/GeoModelExamples/HelloGeoReadNodeAction/README.md @@ -13,47 +13,9 @@ The example program: The example program uses many of the GeoModel packages. -## Dependencies - -### Install Qt5 - -To build and run GeoModel libraries, you must have a working Qt5 installation on your computer. -If you are not sure how to install it, please take a look at the Appendix on Qt5, below. - -### Build GeoModelCore - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelCore.git -mkdir build_gmcore -cd build_gmcore -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelCore -make -j 4 -make install -``` - -### Build GeoModelIO - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelIO.git -mkdir build_gmio -cd build_gmio -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelIO -make -j 4 -make install -``` - ## Build -From your work folder: - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelExamples.git -mkdir build_hellogeoReadNodeAction -cd build_hellogeoReadNodeAction -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelExamples/HelloGeoReadNodeAction -make -j4 -make install -``` +To build the GeoModelExamples please refer to the documentation at [GeoModel website](https://geomodel.web.cern.ch/home/) ## Run @@ -69,14 +31,3 @@ Now, you can run the example by typing: ```bash ./hellogeoReadNodeAction geometry.db ``` - - - ---- - -## Appendix - -### Notes on Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. Qt5 classes are used for I/O operations with the underlying SQLite daemon, to store/handle data, and to handle logging. - -If you are not sure how to install it, please take a look at [the notes on Qt5, in the GeoModelIO repository](https://gitlab.cern.ch/GeoModelDev/GeoModelIO/blob/master/README_QT5_NOTES.md). diff --git a/GeoModelExamples/HelloGeoWrite/README.md b/GeoModelExamples/HelloGeoWrite/README.md index f9d98f364d3ae07f54458cb6e3312559e0467d33..5ca9af3d58b23b38f41ccd3601321f9a2e6476e4 100644 --- a/GeoModelExamples/HelloGeoWrite/README.md +++ b/GeoModelExamples/HelloGeoWrite/README.md @@ -8,51 +8,10 @@ The example program: 2. Writes the geometry to an SQLite file 3. It accesses the persistent copy of the geometry, as a test - -## Dependencies - -### Install Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. -If you are not sure how to install it, please take a look at the Appendix, below. - - -#### GeoModelCore - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelCore.git -mkdir build_gmcore -cd build_gmcore -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelCore -make -j 4 -make install -cd .. -``` - -#### GeoModelIO - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelIO.git -mkdir build_gmio -cd build_gmio -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelIO -make -j 4 -make install -``` - - - ## Build -From your work folder: +To build the GeoModelExamples please refer to the documentation at [GeoModel website](https://geomodel.web.cern.ch/home/) -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelExamples.git -mkdir build_hellogeo -cd build_hellogeo -cmake -DCMAKE_INSTALL_PREFIX=../install ../GeoModelExamples/HelloGeoWrite/ -make -j4 -``` ## Run @@ -61,14 +20,3 @@ Now, you can **run the example** by typing: ```bash ./hellogeoWrite ``` - - ----- - -## Appendix - -### Notes on Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. Qt5 classes are used for I/O operations with the underlying SQLite daemon, to store/handle data, and to handle logging. - -If you are not sure how to install it, please take a look at [the notes on Qt5, in the GeoModelIO repository](https://gitlab.cern.ch/GeoModelDev/GeoModelIO/blob/master/README_QT5_NOTES.md). diff --git a/GeoModelExamples/HelloGeoWriteReadWrite/README.md b/GeoModelExamples/HelloGeoWriteReadWrite/README.md index f9d98f364d3ae07f54458cb6e3312559e0467d33..b1498811d54cf056e9e5fc0b51251c5c7eb72d6c 100644 --- a/GeoModelExamples/HelloGeoWriteReadWrite/README.md +++ b/GeoModelExamples/HelloGeoWriteReadWrite/README.md @@ -1,74 +1,23 @@ -# The 'helloGeoWrite' GeoModel example +# The 'helloGeoWriteReadWrite' GeoModel example -The `helloGeoWrite` example shows you how to create a simple geometry, by using GeoModel nodes. +The `helloGeoWriteReadWrite` example shows you how to create a simple geometry, by using GeoModel nodes. The example program: 1. Builds an example geometry: 2. Writes the geometry to an SQLite file 3. It accesses the persistent copy of the geometry, as a test - - -## Dependencies - -### Install Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. -If you are not sure how to install it, please take a look at the Appendix, below. - - -#### GeoModelCore - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelCore.git -mkdir build_gmcore -cd build_gmcore -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelCore -make -j 4 -make install -cd .. -``` - -#### GeoModelIO - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelIO.git -mkdir build_gmio -cd build_gmio -cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=RelWithDebInfo ../GeoModelIO -make -j 4 -make install -``` - - + 4. Reads it back + 5. Stores it in a new sqlite file ## Build -From your work folder: - -```bash -git clone ssh://git@gitlab.cern.ch:7999/GeoModelDev/GeoModelExamples.git -mkdir build_hellogeo -cd build_hellogeo -cmake -DCMAKE_INSTALL_PREFIX=../install ../GeoModelExamples/HelloGeoWrite/ -make -j4 -``` +To build the GeoModelExamples please refer to the documentation at [GeoModel website](https://geomodel.web.cern.ch/home/) ## Run Now, you can **run the example** by typing: ```bash -./hellogeoWrite +./hellogeoWriteReadWrite ``` - - ----- - -## Appendix - -### Notes on Qt5 - -To build and run GeoModel I/O libraries, you must have a working Qt5 installation on your computer. Qt5 classes are used for I/O operations with the underlying SQLite daemon, to store/handle data, and to handle logging. - -If you are not sure how to install it, please take a look at [the notes on Qt5, in the GeoModelIO repository](https://gitlab.cern.ch/GeoModelDev/GeoModelIO/blob/master/README_QT5_NOTES.md).