Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Version.hh File Reference
#include "G4String.hh"
#include "G4Types.hh"

Go to the source code of this file.

Macros

#define G4VERSION_NUMBER   1122
 Integral value representing the current Geant4 version.
 
#define G4VERSION_REFERENCE_TAG   00
 Number indicating current development cycle.
 
#define G4VERSION_TAG   "$Name: geant4-11-02-patch-02 $"
 

Macro Definition Documentation

◆ G4VERSION_NUMBER

#define G4VERSION_NUMBER   1122

Integral value representing the current Geant4 version.

Numbering rule for "G4VERSION_NUMBER":

  • The number is consecutive (i.e. 711) as an integer.
  • The meaning of each digit is as follows;

711 |--> major version number (up to two digits) |--> minor version number (single digit) |--> patch number (single digit)

Definition at line 46 of file G4Version.hh.

◆ G4VERSION_REFERENCE_TAG

#define G4VERSION_REFERENCE_TAG   00

Number indicating current development cycle.

Can take values between -1 and 11. A value of -1 indicates a release, whose version can be read from `G4VERSION_NUMBER`. Values 0-11 indicate an in development version, the value being incremented on each reference tag and thus corresponding to the month number (taking December as 0, the start of new development of the next major/minor release).

Definition at line 58 of file G4Version.hh.

◆ G4VERSION_TAG

#define G4VERSION_TAG   "$Name: geant4-11-02-patch-02 $"

Definition at line 62 of file G4Version.hh.