Skip to content
Snippets Groups Projects
Geant4PhysicsConstructors.cpp 1.57 KiB
Newer Older
//==========================================================================
Markus Frank's avatar
Markus Frank committed
//  AIDA Detector description implementation 
//--------------------------------------------------------------------------
Markus Frank's avatar
Markus Frank committed
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
// Author     : M.Frank
//
//==========================================================================

// Framework include files
#include "DDG4/Factories.h"

Markus Frank's avatar
Markus Frank committed
// ==================================================================================
// Predefined physics constructors
//
//  Usage:
//
//  <physicslist name="Geant4PhysicsList/MyPhysics.0">
//    <physics>
//      <construct name="G4EmStandardPhysics"/>
//      <construct name="HadronPhysicsQGSP"/>
//    </physics>
//  </physicslist>
//
Markus Frank's avatar
Markus Frank committed
// ==================================================================================
Markus Frank's avatar
Markus Frank committed
// Geant4 physics lists
#include "G4Version.hh"
#include "G4DecayPhysics.hh"
Markus Frank's avatar
Markus Frank committed
// ==================================================================================
#if G4VERSION_NUMBER>=960 and G4VERSION_NUMBER<1000
  #include "Geant4.9.PhysicsConstructors.h"
// ==================================================================================
#elif G4VERSION_NUMBER>=1000
  #include "Geant4.10.PhysicsConstructors.h"
// ==================================================================================
#else
  #error "Unsupported Geant4 version "
Markus Frank's avatar
Markus Frank committed
#endif  /*  G4VERSION_NUMBER>=1000  */