DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Geant4PhysicsConstructors.cpp
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 
14 // Framework include files
15 #include <DDG4/Factories.h>
16 
17 // ==================================================================================
18 // Predefined physics constructors
19 //
20 // Usage:
21 //
22 // <physicslist name="Geant4PhysicsList/MyPhysics.0">
23 // <physics>
24 // <construct name="G4EmStandardPhysics"/>
25 // <construct name="HadronPhysicsQGSP"/>
26 // </physics>
27 // </physicslist>
28 //
29 // ==================================================================================
30 
31 // Geant4 physics lists
32 #include <G4Version.hh>
33 #include <G4DecayPhysics.hh>
34 
35 // ==================================================================================
36 #if G4VERSION_NUMBER>=960 and G4VERSION_NUMBER<1000
38 // ==================================================================================
39 #elif G4VERSION_NUMBER>=1000
41 // ==================================================================================
42 #else
43  #error "Unsupported Geant4 version "
44 #endif /* G4VERSION_NUMBER>=1000 */
Geant4.10.PhysicsConstructors.h
Factories.h
Geant4.9.PhysicsConstructors.h