Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Version.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26// Geant4 Version information
27
28// Author: K.Murakami, 26.09.2005 - Created
29// --------------------------------------------------------------------
30#ifndef G4VERSION_HH
31#define G4VERSION_HH 1
32
33/// @def G4VERSION_NUMBER
34/// @brief Integral value representing the current Geant4 version
35///
36/// Numbering rule for "G4VERSION_NUMBER":
37/// - The number is consecutive (i.e. 711) as an integer.
38/// - The meaning of each digit is as follows;
39//
40/// 711
41/// |--> major version number (up to two digits)
42/// |--> minor version number (single digit)
43/// |--> patch number (single digit)
44///
45#ifndef G4VERSION_NUMBER
46 #define G4VERSION_NUMBER 1122
47#endif
48
49/// @def G4VERSION_REFERENCE_TAG
50/// @brief Number indicating current development cycle
51///
52/// Can take values between -1 and 11. A value of -1 indicates a release, whose version
53/// can be read from @ref `G4VERSION_NUMBER`. Values 0-11 indicate an in development version,
54/// the value being incremented on each reference tag and thus corresponding to the month number
55/// (taking December as 0, the start of new development of the next major/minor release).
56///
57#ifndef G4VERSION_REFERENCE_TAG
58 #define G4VERSION_REFERENCE_TAG 00
59#endif
60
61#ifndef G4VERSION_TAG
62 #define G4VERSION_TAG "$Name: geant4-11-02-patch-02 $"
63#endif
64
65// as variables
66
67#include "G4String.hh"
68#include "G4Types.hh"
69
70#ifdef G4MULTITHREADED
71static const G4String G4Version = "$Name: geant4-11-02-patch-02 [MT]$";
72#else
73static const G4String G4Version = "$Name: geant4-11-02-patch-02 $";
74#endif
75static const G4String G4Date = "(21-June-2024)";
76
77#endif