Import Geant4 9.3.0 source tree
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
$Id: History,v 1.5 2008/10/02 20:40:16 dennis Exp $
|
||||
$Id: History,v 1.6 2009/03/31 19:16:38 vnivanch Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
==========================================================
|
||||
@@ -16,6 +16,13 @@ code and to keep track of all tags.
|
||||
* Please list in reverse chronological order (last date on top)
|
||||
---------------------------------------------------------------
|
||||
|
||||
31 Mar 2009 Vladimir Ivanchenko (hadr-proc-V09-02-00)
|
||||
----------------------------------------------------
|
||||
- To fix bug #1056 cross section data set now are created by new in
|
||||
G4PhotoNuclearProcess, G4ElectronNuclearProcess, and
|
||||
G4PositronNuclearProcess. For the last class inline constructor
|
||||
and destructors moved to source
|
||||
|
||||
2 Oct 2008 Dennis Wright (hadr-proc-V09-01-02)
|
||||
----------------------------------------------
|
||||
- G4HadronCaptureProcess.cc - change subtype from 13 to fCapture
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ElectronNuclearProcess.hh,v 1.5 2006/06/29 21:02:17 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ElectronNuclearProcess.hh,v 1.6 2009/03/31 19:16:38 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Class Description:
|
||||
//
|
||||
@@ -41,20 +41,15 @@
|
||||
#define G4ElectronNuclearProcess_h 1
|
||||
|
||||
#include "G4HadronInelasticProcess.hh"
|
||||
#include "G4ElectroNuclearCrossSection.hh"
|
||||
|
||||
|
||||
class G4ElectronNuclearProcess : public G4HadronInelasticProcess
|
||||
{
|
||||
public:
|
||||
class G4ElectronNuclearProcess : public G4HadronInelasticProcess
|
||||
{
|
||||
public:
|
||||
|
||||
G4ElectronNuclearProcess( const G4String& processName = "ElectroNuclear" );
|
||||
~G4ElectronNuclearProcess();
|
||||
G4ElectronNuclearProcess( const G4String& processName = "ElectroNuclear" );
|
||||
virtual ~G4ElectronNuclearProcess();
|
||||
|
||||
private:
|
||||
|
||||
G4ElectroNuclearCrossSection theData;
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PhotoNuclearProcess.hh,v 1.8 2007/01/07 04:56:01 dennis Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4PhotoNuclearProcess.hh,v 1.9 2009/03/31 19:16:38 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Class Description
|
||||
// Process for photon nuclear inelastic scattering;
|
||||
@@ -39,20 +39,15 @@
|
||||
#define G4PhotoNuclearProcess_h 1
|
||||
|
||||
#include "G4HadronInelasticProcess.hh"
|
||||
#include "G4PhotoNuclearCrossSection.hh"
|
||||
|
||||
|
||||
class G4PhotoNuclearProcess : public G4HadronInelasticProcess
|
||||
{
|
||||
public:
|
||||
class G4PhotoNuclearProcess : public G4HadronInelasticProcess
|
||||
{
|
||||
public:
|
||||
|
||||
G4PhotoNuclearProcess( const G4String& processName = "PhotonInelastic" );
|
||||
~G4PhotoNuclearProcess();
|
||||
G4PhotoNuclearProcess( const G4String& processName = "PhotonInelastic" );
|
||||
virtual ~G4PhotoNuclearProcess();
|
||||
|
||||
private:
|
||||
|
||||
G4PhotoNuclearCrossSection theData;
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,31 +35,17 @@
|
||||
// to be used in your physics list in case you need this physics.
|
||||
// Class Description - End
|
||||
|
||||
#include "G4HadronInelasticProcess.hh"
|
||||
#include "G4Positron.hh"
|
||||
#include "G4ElectroNuclearCrossSection.hh"
|
||||
|
||||
#include "G4HadronInelasticProcess.hh"
|
||||
|
||||
class G4PositronNuclearProcess : public G4HadronInelasticProcess
|
||||
{
|
||||
public:
|
||||
class G4PositronNuclearProcess : public G4HadronInelasticProcess
|
||||
{
|
||||
public:
|
||||
|
||||
G4PositronNuclearProcess(
|
||||
const G4String& processName = "PositronNuclear" ) :
|
||||
G4PositronNuclearProcess(const G4String& processName = "PositronNuclear" );
|
||||
|
||||
virtual ~G4PositronNuclearProcess();
|
||||
|
||||
G4HadronInelasticProcess( processName, G4Positron::Positron() )
|
||||
{
|
||||
G4CrossSectionDataStore * theStore = GetCrossSectionDataStore();
|
||||
theStore->AddDataSet(&theData);
|
||||
}
|
||||
|
||||
~G4PositronNuclearProcess()
|
||||
{ }
|
||||
|
||||
private:
|
||||
|
||||
G4ElectroNuclearCrossSection theData;
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -24,19 +24,20 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ElectronNuclearProcess.cc,v 1.2 2006/06/29 21:03:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ElectronNuclearProcess.cc,v 1.3 2009/03/31 19:16:38 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
|
||||
#include "G4ElectronNuclearProcess.hh"
|
||||
#include "G4Electron.hh"
|
||||
#include "G4ElectroNuclearCrossSection.hh"
|
||||
|
||||
G4ElectronNuclearProcess::
|
||||
G4ElectronNuclearProcess(const G4String& processName)
|
||||
: G4HadronInelasticProcess( processName, G4Electron::Electron() )
|
||||
{
|
||||
G4CrossSectionDataStore * theStore = GetCrossSectionDataStore();
|
||||
theStore->AddDataSet(&theData);
|
||||
theStore->AddDataSet(new G4ElectroNuclearCrossSection);
|
||||
}
|
||||
|
||||
G4ElectronNuclearProcess::~G4ElectronNuclearProcess()
|
||||
|
||||
@@ -25,19 +25,20 @@
|
||||
//
|
||||
//
|
||||
//
|
||||
// $Id: G4PhotoNuclearProcess.cc,v 1.2 2006/06/29 21:03:54 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4PhotoNuclearProcess.cc,v 1.3 2009/03/31 19:16:38 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
|
||||
#include "G4PhotoNuclearProcess.hh"
|
||||
#include "G4Gamma.hh"
|
||||
#include "G4PhotoNuclearCrossSection.hh"
|
||||
|
||||
G4PhotoNuclearProcess::
|
||||
G4PhotoNuclearProcess(const G4String& processName)
|
||||
: G4HadronInelasticProcess( processName, G4Gamma::Gamma() )
|
||||
{
|
||||
G4CrossSectionDataStore * theStore = GetCrossSectionDataStore();
|
||||
theStore->AddDataSet(&theData);
|
||||
theStore->AddDataSet(new G4PhotoNuclearCrossSection);
|
||||
}
|
||||
|
||||
G4PhotoNuclearProcess::~G4PhotoNuclearProcess()
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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: G4PositronNuclearProcess.cc,v 1.1 2009/03/31 19:16:38 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
|
||||
#include "G4PositronNuclearProcess.hh"
|
||||
#include "G4Positron.hh"
|
||||
#include "G4ElectroNuclearCrossSection.hh"
|
||||
|
||||
G4PositronNuclearProcess::
|
||||
G4PositronNuclearProcess(const G4String& processName)
|
||||
: G4HadronInelasticProcess( processName, G4Positron::Positron() )
|
||||
{
|
||||
G4CrossSectionDataStore * theStore = GetCrossSectionDataStore();
|
||||
theStore->AddDataSet(new G4ElectroNuclearCrossSection);
|
||||
}
|
||||
|
||||
G4PositronNuclearProcess::~G4PositronNuclearProcess()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user