Skip to content

Commit

Permalink
Updated for new geant4_vmc 6.7 and vmc 2.1
Browse files Browse the repository at this point in the history
- Also reordered Geant4 VMC and Geant3 in the Download and Installation sections
- Updated Geant4 VMC Magnetic Field section
  • Loading branch information
ihrivnac committed Feb 7, 2025
1 parent ad1b2c0 commit de2c448
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 15 deletions.
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ ECONF C0303241:THJT006,2003; [e-Print: cs.SE/0306005](https://arxiv.org/abs/cs/0

<i class="far fa-envelope"></i> Contact: <a href="mailto: root-vmc@cern.ch"> root-vmc@cern.ch</a>

*Last update: 13/01/2025*
*Last update: 07/02/2025*
2 changes: 1 addition & 1 deletion content/download/git-geant3.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title = "Geant3"
menuTitle = ""
chapter = false
weight = 3
weight = 4
#pre = "<b>1. </b>"
+++

Expand Down
10 changes: 5 additions & 5 deletions content/download/git-geant4_vmc.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title = "Geant4 VMC"
menuTitle = ""
chapter = false
weight = 4
weight = 3
#pre = "<b>1. </b>"
+++

Expand All @@ -11,16 +11,16 @@ Development version (the whole repository):
git clone http://github.com/vmc-project/geant4_vmc.git
```

To switch to the **'pro'** tagged version **6.6.p3** (compatible with *vmc 2.x, Geant4 11.2*):
To switch to the **'pro'** tagged version **6.7** (compatible with *vmc 2.1, Geant4 11.3*):
```bash
cd geant4_vmc
git checkout v6-6-p3
git checkout v6-7
```

To switch to the **'old'** tagged version **6.4.p1** (compatible with *vmc 2.x, Geant4 11.1.x*):
To switch to the **'old'** tagged version **6.6.p3** (compatible with *vmc 2.x, Geant4 11.2.x*):
```bash
cd geant4_vmc
git checkout v6-4-p1
git checkout v6-6-p3
```

The list of new developments, bug fixes and the required versions of ROOT and Geant4 for each version can be found in the [history](https://github.com/vmc-project/geant4_vmc/blob/master/history) file.
Expand Down
4 changes: 2 additions & 2 deletions content/download/git-vmc.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Development version (the whole repository):
git clone http://github.com/vmc-project/vmc.git
```

To switch to 'pro' tagged version 2.0:
To switch to 'pro' tagged version 2.1:
```bash
cd vmc
git checkout v2-0
git checkout v2-1
```

To switch to the 'old' tagged version 1.1.p1:
Expand Down
6 changes: 3 additions & 3 deletions content/download/tar-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ weight = 5

| Package | Version | Tar file | Tested with |
|---------|---------|----------| ------------|
| vmc | 2.0 | [vmc-2-0.tar.gz](https://github.com/vmc-project/vmc/archive/v2-0.tar.gz) | *ROOT 6.24/06 and 6.26/10* |
| vmc | 2.1 | [vmc-2-1.tar.gz](https://github.com/vmc-project/vmc/archive/v2-1.tar.gz) | *ROOT 6.32/08* |
| geant4_vmc | 6.7 | [geant4_vmc-6-7.tar.gz](https://github.com/vmc-project/geant4_vmc/archive/v6-7.tar.gz) | *vmc 2.1, ROOT 6.32/08*,<br> *Geant4 11.3 (with embedded CLHEP 2.4.7.1),* <br> *VGM 5.3.1,* <br> *Garfield 5.0*|
| geant3 | 4.4 | [geant3-4-4.tar.gz](https://github.com/vmc-project/geant3/archive/v4-4.tar.gz) | *vmc 2.0, ROOT 6.32/01 (alice)* |
| geant4_vmc | 6.6.p3 | [geant4_vmc-6-6-p3.tar.gz](https://github.com/vmc-project/geant4_vmc/archive/v6-6-p3.tar.gz) | *vmc 2.0, ROOT 6.32/08*,<br> *Geant4 11.2.p2 (with embedded CLHEP 2.4.7.1),* <br> *VGM 5.3.1,* <br> *Garfield 4.0*|

In general, the VMC packages can be built with the Root version which they were tested with and higher, and Geant4 VMC with the Geant4 version which it was tested with including the patches. Note that the Geant4 patches released after the Geant4 VMC tag do not appear in the table above, it is however recommended to update Geant4 with each patch release.

### Old versions

| Package | Version | Tar file | Tested with |
|---------|---------|----------| ------------|
| geant4_vmc | 6.6.p3 | [geant4_vmc-6-6-p3.tar.gz](https://github.com/vmc-project/geant4_vmc/archive/v6-6-p3.tar.gz) | *vmc 2.0, ROOT 6.32/08*,<br> *Geant4 11.2.p2 (with embedded CLHEP 2.4.7.1),* <br> *VGM 5.3.1,* <br> *Garfield 4.0*|
| geant3 | 3.9.p1 | [v3-9-p1.tar.gz](https://github.com/vmc-project/geant3/archive/v3-9-p1.tar.gz) | *vmc 1.1.p1, ROOT 6.24/06* |
| geant4_vmc | 6.4.p1 | [v6-4-p1.tar.gz](https://github.com/vmc-project/geant4_vmc/archive/v6-4-p1.tar.gz) | *vmc 2.0, ROOT 6.32/02*,<br> *Geant4 11.1.p3 (with embedded CLHEP 2.4.6.2),* <br> *VGM 5.3,* <br> *Garfield 4.0*|
| geant3 | 2.7.p2 | [v2-7-p2.tar.gz](https://github.com/vmc-project/geant3/archive/v2-7-p2.tar.gz) | *ROOT 5.34/36* |

2 changes: 1 addition & 1 deletion content/installation/geant3/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ menuTitle = "Geant3"
chapter = false
hidden = false
showhidden = true
weight = 2
weight = 3
+++

Geant3 with VMC requires the [VMC core package](/user-guide/vmc/vmc-library) and [ROOT](https://root.cern.ch/).
Expand Down
2 changes: 1 addition & 1 deletion content/installation/geant4_vmc/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title = "Installing Geant4 VMC"
menuTitle = "Geant4 VMC"
chapter = false
weight = 3
weight = 2
+++

Geant4 VMC requires the [VMC core package](/user-guide/vmc/vmc-library), [ROOT](https://root.cern.ch/) and [Geant4](http://geant4.web.cern.ch/) installed, and optionally, it can be built with [VGM](https://github.com/vmc-project/vgm). See below tips for configuration and installation of these packages.
Expand Down
10 changes: 9 additions & 1 deletion content/user-guide/geant4_vmc/magnetic-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ Since Geant4 VMC version 3.5, it is possible to propagate the zero magnetic fiel

### Customization of Field Parameters

In Geant4 VMC, user can customize the default integration method and the default accuracy parameters with a set of dedicated commands. It is a user responsibility to choose the type of equation of motion and the integration method compatible with the user field. (The defined commands are not limited to magnetic field only in order to make easier an eventual future extension of VMC to electric and electromagnetic fields.)
Since Geant4 11.3, the UI commands to customize the default integration method and the default accuracy parameters with a set of dedicated commands were integrated in Geant4 and removed from Geant4 VMC.

Please, refer to the [Creating a Field for a Detector](https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/electroMagneticField.html#creating-a-field-for-a-detector) section in Geant4 Applicator Developer Guide.

The commands described below are available in the `/field/` command directory.

### Customization of Field Parameters (OLD)

In Geant4 VMC **versions before 6.7**, user can customize the default integration method and the default accuracy parameters with a set of dedicated commands. It is a user responsibility to choose the type of equation of motion and the integration method compatible with the user field. (The defined commands are not limited to magnetic field only in order to make easier an eventual future extension of VMC to electric and electromagnetic fields.)

The available commands:

Expand Down

0 comments on commit de2c448

Please sign in to comment.