Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile 66892 2013-01-17 10:57:59Z gunter $
|
||||
# $Id: GNUmakefile 100340 2016-10-18 07:50:12Z gcosmo $
|
||||
# --------------------------------------------------------------
|
||||
# GNUmakefile for processes/decay library. G.Folger 9/12/97
|
||||
# --------------------------------------------------------------
|
||||
@@ -22,6 +22,7 @@ CPPFLAGS += -I$(G4BASE)/global/management/include \
|
||||
-I$(G4BASE)/track/include \
|
||||
-I$(G4BASE)/processes/management/include \
|
||||
-I$(G4BASE)/particles/management/include \
|
||||
-I$(G4BASE)/particles/hadrons/ions/include \
|
||||
-I$(G4BASE)/intercoms/include \
|
||||
-I$(G4BASE)/materials/include
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History 97800 2016-06-13 12:14:40Z gcosmo $
|
||||
$Id: History 100340 2016-10-18 07:50:12Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -16,6 +16,14 @@ committal in the CVS repository !
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
- October 18, 2016 Gabriele Cosmo (decay-V10-02-03)
|
||||
- Corrected CMake and GNUMake scripts to include new dependency on
|
||||
particles/hadrons/ions submodule...
|
||||
|
||||
- October 17, 2016 Kevin Lynch (for Lynch and Genser) (decay-V10-02-02)
|
||||
- Add G4MuonicAtomDecay for decay of muonic atoms
|
||||
|
||||
- June 10, 16 Gunter Folger (decay-V10-02-01)
|
||||
- G4Decay::DecayIt(): better format and info on IsOK... in exception DECAY003
|
||||
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonicAtomDecay.hh 78547 2014-01-07 09:40:38Z gcosmo $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// History: first implementation, 30 August 2016 K.Lynch
|
||||
|
||||
|
||||
#ifndef G4MuonicAtomDecay_h
|
||||
#define G4MuonicAtomDecay_h 1
|
||||
|
||||
#include "G4Decay.hh"
|
||||
|
||||
class G4MuonicAtomDecay : public G4Decay
|
||||
{
|
||||
// Class Description
|
||||
// This class is a decay process
|
||||
|
||||
public:
|
||||
// Constructors
|
||||
G4MuonicAtomDecay(const G4String& processName ="MuonicAtomDecay");
|
||||
|
||||
virtual G4bool IsApplicable(const G4ParticleDefinition&) override;
|
||||
// returns "true" if the decay process can be applied to
|
||||
// the particle type.
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
# $Id: sources.cmake 66892 2013-01-17 10:57:59Z gunter $
|
||||
# $Id: sources.cmake 100340 2016-10-18 07:50:12Z gcosmo $
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@@ -30,7 +30,8 @@ include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/materials/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/hadrons/ions/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/track/include)
|
||||
|
||||
#
|
||||
@@ -42,13 +43,15 @@ GEANT4_DEFINE_MODULE(NAME G4decay
|
||||
G4Decay.hh
|
||||
G4DecayProcessType.hh
|
||||
G4DecayWithSpin.hh
|
||||
G4MuonicAtomDecay.hh
|
||||
G4PionDecayMakeSpin.hh
|
||||
G4UnknownDecay.hh
|
||||
G4VExtDecayer.hh
|
||||
SOURCES
|
||||
G4Decay.cc
|
||||
G4DecayWithSpin.cc
|
||||
G4PionDecayMakeSpin.cc
|
||||
G4MuonicAtomDecay.cc
|
||||
G4PionDecayMakeSpin.cc
|
||||
G4UnknownDecay.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4csg
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonicAtomDecay.cc 97800 2016-06-13 12:14:40Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
//
|
||||
// History: first implementation, 30 August 2016
|
||||
|
||||
#include "G4MuonicAtomDecay.hh"
|
||||
#include "G4GenericIon.hh"
|
||||
|
||||
// constructor
|
||||
G4MuonicAtomDecay::G4MuonicAtomDecay(const G4String& processName)
|
||||
: G4Decay(processName)
|
||||
{}
|
||||
|
||||
G4bool
|
||||
G4MuonicAtomDecay::IsApplicable(const G4ParticleDefinition& aParticleType)
|
||||
{
|
||||
if (aParticleType.GetParticleName() == "GenericIon")
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user