Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-03-30 07:48:31

0001 from spack.package import *
0002 
0003 try:
0004     from spack_repo.builtin.packages.geant4.package import Geant4 as BuiltinGeant4
0005 except ImportError:
0006     from spack.pkg.builtin.geant4 import Geant4 as BuiltinGeant4
0007 
0008 class Geant4(BuiltinGeant4):
0009     ## Versions with the eAST physics list
0010     version("11.4.1.east", git="https://github.com/eic/geant4", branch="east-v11.4.1")
0011     version("11.4.0.east", git="https://github.com/eic/geant4", branch="east-v11.4.0")
0012     version("11.3.2.east", git="https://github.com/eic/geant4", branch="east-v11.3.2")
0013     version("11.3.1.east", git="https://github.com/eic/geant4", branch="east-v11.3.1")
0014     version("11.3.0.east", git="https://github.com/eic/geant4", branch="east-v11.3.0")
0015     version("11.2.2.east", git="https://github.com/eic/geant4", branch="east-v11.2.2")
0016     version("11.2.1.east", git="https://github.com/eic/geant4", branch="east-v11.2.1")
0017     version("11.2.0.east", git="https://github.com/eic/geant4", branch="east-v11.2.0")
0018     version("11.1.3.east", git="https://github.com/eic/geant4", branch="east-v11.1.3")
0019     version("11.1.2.east", git="https://github.com/eic/geant4", branch="east-v11.1.2")
0020     version("11.1.1.east", git="https://github.com/eic/geant4", branch="east-v11.1.1")
0021 
0022     patch("G4LogicalSkinSurface.patch", when="@11.2:11.2.1")
0023 
0024     ## Fix commands in /particle/property/decay/
0025     patch(
0026         "https://github.com/Geant4/geant4/commit/e32bc92498d87fb42829b08348d7fad89bc89404.diff?full_index=1",
0027         sha256="a63b098f3214eaf4b5f34b3e434603b1cdbd13c919456782e933cd7422a45d99",
0028         when="@:11.2",
0029     )