Import Geant4 9.4.0 source tree
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# CMakeLists.txt
|
||||
# Module : G4procman
|
||||
# Package: Geant4.src.G4processes.G4procman
|
||||
#
|
||||
# CMakeLists.txt for building a single granular library.
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
# $Id: CMakeLists.txt,v 1.1 2010/09/29 19:08:47 bmorgan Exp $
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if(GEANT4_BUILD_GRANULAR_LIBS)
|
||||
include(Geant4MacroLibraryTargets)
|
||||
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
|
||||
endif()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.58 2008/06/23 08:58:40 gcosmo Exp $
|
||||
$Id: History,v 1.60 2010/10/30 07:51:23 kurasige Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,12 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
- Oct. 30, 2010 H.Kurashige (procman-V09-03-01)
|
||||
- Fix bugs of uninitialized variables (reported by Coverity)
|
||||
|
||||
- Oct. 07, 2010 H.Kurashige (procman-V09-03-00)
|
||||
- Fix bugs (G4VProces, G4ProcessTable, G4ProcessAttribute)
|
||||
|
||||
- Jun. 23, 2008 G.Cosmo (procman-V09-01-03)
|
||||
- Fixed un-necessary double deletion/creation of vector in
|
||||
G4ProcessVector::operator=()
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ProcessAttribute.hh,v 1.5 2006/06/29 21:07:24 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ProcessAttribute.hh,v 1.6 2010/10/07 13:59:21 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -92,9 +92,13 @@ class G4ProcessAttribute
|
||||
inline
|
||||
G4ProcessAttribute::G4ProcessAttribute(const G4VProcess* aProcess):
|
||||
pProcess((G4VProcess*)aProcess),
|
||||
isActive(true)
|
||||
isActive(true),
|
||||
idxProcessList(-1)
|
||||
{
|
||||
idxProcessList = -1;
|
||||
for(size_t ii=0; ii<G4ProcessManager::SizeOfProcVectorArray; ii++){
|
||||
idxProcVector[ii]=-1;
|
||||
ordProcVector[ii]=0;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# sources.cmake
|
||||
# Module : G4procman
|
||||
# Package: Geant4.src.G4processes.G4procman
|
||||
#
|
||||
# Sources description for a library.
|
||||
# Lists the sources and headers of the code explicitely.
|
||||
# Lists include paths needed.
|
||||
# Lists the internal granular and global dependencies of the library.
|
||||
# Source specific properties should be added at the end.
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
# $Id: sources.cmake,v 1.1 2010/09/29 19:08:55 bmorgan Exp $
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# List external includes needed.
|
||||
include_directories(${CLHEP_INCLUDE_DIRS})
|
||||
|
||||
# List internal includes needed.
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include)
|
||||
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/track/include)
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
include(Geant4MacroDefineModule)
|
||||
GEANT4_DEFINE_MODULE(NAME G4procman
|
||||
HEADERS
|
||||
G4IVContinuousDiscreteProcess.hh
|
||||
G4IVRestDiscreteProcess.hh
|
||||
G4ParticleTypes.hh
|
||||
G4ProcTblElement.hh
|
||||
G4ProcTblElement.icc
|
||||
G4ProcessAttribute.hh
|
||||
G4ProcessManager.hh
|
||||
G4ProcessManager.icc
|
||||
G4ProcessManagerMessenger.hh
|
||||
G4ProcessTable.hh
|
||||
G4ProcessTable.icc
|
||||
G4ProcessTableMessenger.hh
|
||||
G4ProcessType.hh
|
||||
G4ProcessVector.hh
|
||||
G4ProcessVector.icc
|
||||
G4VContinuousDiscreteProcess.hh
|
||||
G4VContinuousProcess.hh
|
||||
G4VDiscreteProcess.hh
|
||||
G4VProcess.hh
|
||||
G4VRestContinuousDiscreteProcess.hh
|
||||
G4VRestContinuousProcess.hh
|
||||
G4VRestDiscreteProcess.hh
|
||||
G4VRestProcess.hh
|
||||
G4WrapperProcess.hh
|
||||
SOURCES
|
||||
G4IVContinuousDiscreteProcess.cc
|
||||
G4IVRestDiscreteProcess.cc
|
||||
G4ProcTblElement.cc
|
||||
G4ProcessAttribute.cc
|
||||
G4ProcessManager.cc
|
||||
G4ProcessManagerMessenger.cc
|
||||
G4ProcessTable.cc
|
||||
G4ProcessTableMessenger.cc
|
||||
G4ProcessVector.cc
|
||||
G4VContinuousDiscreteProcess.cc
|
||||
G4VContinuousProcess.cc
|
||||
G4VDiscreteProcess.cc
|
||||
G4VProcess.cc
|
||||
G4VRestContinuousDiscreteProcess.cc
|
||||
G4VRestContinuousProcess.cc
|
||||
G4VRestDiscreteProcess.cc
|
||||
G4VRestProcess.cc
|
||||
G4WrapperProcess.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4geometrymng
|
||||
G4globman
|
||||
G4intercoms
|
||||
G4materials
|
||||
G4partman
|
||||
G4track
|
||||
G4volumes
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4geometry
|
||||
G4global
|
||||
G4intercoms
|
||||
G4materials
|
||||
G4particles
|
||||
G4track
|
||||
LINK_LIBRARIES
|
||||
)
|
||||
|
||||
# List any source specific properties here
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4IVContinuousDiscreteProcess.cc,v 1.10 2007/11/15 04:10:18 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4IVContinuousDiscreteProcess.cc,v 1.11 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
// $Id:
|
||||
// --------------------------------------------------------------
|
||||
@@ -39,14 +39,20 @@
|
||||
|
||||
#include "G4IVContinuousDiscreteProcess.hh"
|
||||
G4IVContinuousDiscreteProcess::G4IVContinuousDiscreteProcess()
|
||||
:G4VProcess("No Name Discrete Process"), BIGSTEP(1.e10)
|
||||
:G4VProcess("No Name Discrete Process"),
|
||||
valueGPILSelection(CandidateForSelection),
|
||||
theNlambdaTable(0),theInverseNlambdaTable(0),
|
||||
BIGSTEP(1.e10)
|
||||
{
|
||||
G4Exception("G4IVContinuousDiscreteProcess::G4IVContinuousDiscreteProcess","Illegal operation",
|
||||
JustWarning,"default constructor is called");
|
||||
}
|
||||
|
||||
G4IVContinuousDiscreteProcess::G4IVContinuousDiscreteProcess(const G4String& aName , G4ProcessType aType)
|
||||
: G4VProcess(aName, aType),BIGSTEP(1.e10)
|
||||
: G4VProcess(aName, aType),
|
||||
valueGPILSelection(CandidateForSelection),
|
||||
theNlambdaTable(0),theInverseNlambdaTable(0),
|
||||
BIGSTEP(1.e10)
|
||||
{
|
||||
enableAtRestDoIt = false;
|
||||
}
|
||||
@@ -55,7 +61,10 @@ G4IVContinuousDiscreteProcess::~G4IVContinuousDiscreteProcess()
|
||||
}
|
||||
|
||||
G4IVContinuousDiscreteProcess::G4IVContinuousDiscreteProcess(G4IVContinuousDiscreteProcess& right)
|
||||
: G4VProcess(right),BIGSTEP(1.e10)
|
||||
: G4VProcess(right),
|
||||
valueGPILSelection(right.valueGPILSelection),
|
||||
theNlambdaTable(0),theInverseNlambdaTable(0),
|
||||
BIGSTEP(right.BIGSTEP)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4IVRestDiscreteProcess.cc,v 1.10 2007/11/15 04:10:18 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4IVRestDiscreteProcess.cc,v 1.11 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
// $Id:
|
||||
// --------------------------------------------------------------
|
||||
@@ -39,15 +39,18 @@
|
||||
|
||||
#include "G4IVRestDiscreteProcess.hh"
|
||||
G4IVRestDiscreteProcess::G4IVRestDiscreteProcess()
|
||||
:G4VProcess("No Name Discrete Process"),BIGSTEP(1.e10)
|
||||
|
||||
:G4VProcess("No Name Discrete Process"),
|
||||
theNlambdaTable(0),theInverseNlambdaTable(0),
|
||||
BIGSTEP(1.e10)
|
||||
{
|
||||
G4Exception("G4IVRestDiscreteProcess::G4IVRestDiscreteProcess", "Illegal operation",
|
||||
JustWarning,"default constructor is called");
|
||||
}
|
||||
|
||||
G4IVRestDiscreteProcess::G4IVRestDiscreteProcess(const G4String& aName , G4ProcessType aType)
|
||||
: G4VProcess(aName, aType),BIGSTEP(1.e10)
|
||||
: G4VProcess(aName, aType),
|
||||
theNlambdaTable(0),theInverseNlambdaTable(0),
|
||||
BIGSTEP(1.e10)
|
||||
{
|
||||
enableAlongStepDoIt = false;
|
||||
}
|
||||
@@ -57,7 +60,9 @@ G4IVRestDiscreteProcess::~G4IVRestDiscreteProcess()
|
||||
}
|
||||
|
||||
G4IVRestDiscreteProcess::G4IVRestDiscreteProcess(G4IVRestDiscreteProcess& right)
|
||||
: G4VProcess(right),BIGSTEP(1.e10)
|
||||
: G4VProcess(right),
|
||||
theNlambdaTable(0),theInverseNlambdaTable(0),
|
||||
BIGSTEP(1.e10)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ProcessAttribute.cc,v 1.5 2006/06/29 21:08:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ProcessAttribute.cc,v 1.6 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -45,8 +45,12 @@ G4ProcessAttribute::G4ProcessAttribute():
|
||||
{
|
||||
pProcess = 0;
|
||||
idxProcessList = -1;
|
||||
// clear
|
||||
for (G4int idx=0; idx<G4ProcessManager::SizeOfProcVectorArray; idx++){
|
||||
idxProcVector[idx] = -1;
|
||||
ordProcVector[idx] = -1;
|
||||
}
|
||||
}
|
||||
|
||||
// copy constructor //////////////////////////
|
||||
G4ProcessAttribute::G4ProcessAttribute(const G4ProcessAttribute &right)
|
||||
:isActive(true)
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ProcessManager.cc,v 1.36 2008/03/20 02:57:09 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ProcessManager.cc,v 1.37 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -153,6 +153,10 @@ G4ProcessManager::G4ProcessManager():
|
||||
theParticleType(0),
|
||||
numberOfProcesses(0)
|
||||
{
|
||||
// clear the process List and ProcessAttr Vector
|
||||
theProcessList = 0;
|
||||
theAttrVector = 0;
|
||||
|
||||
G4Exception("G4ProcessManager::G4ProcessManager()","Illegal operation",
|
||||
JustWarning,"Default constructor is called !!");
|
||||
}
|
||||
@@ -160,6 +164,10 @@ G4ProcessManager::G4ProcessManager():
|
||||
// ///////////////////////////////////////
|
||||
G4ProcessManager & G4ProcessManager::operator=(G4ProcessManager &)
|
||||
{
|
||||
// clear the process List and ProcessAttr Vector
|
||||
theProcessList = 0;
|
||||
theAttrVector = 0;
|
||||
|
||||
G4Exception("G4ProcessManager::operator=","Illegal operation",
|
||||
JustWarning,"Assignemnet operator is called");
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ProcessTable.cc,v 1.13 2007/10/06 05:33:58 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ProcessTable.cc,v 1.15 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -120,6 +120,7 @@ void G4ProcessTable::DeleteMessenger()
|
||||
//////////////////////////
|
||||
G4ProcessTable & G4ProcessTable::operator=(const G4ProcessTable &right)
|
||||
{
|
||||
verboseLevel = right.verboseLevel;
|
||||
#ifdef G4VERBOSE
|
||||
if (verboseLevel>0){
|
||||
G4cout << "-- G4ProcessTable assignment operator --" << G4endl;
|
||||
@@ -348,7 +349,7 @@ G4ProcessTable::G4ProcTableVector* G4ProcessTable::Find(
|
||||
|
||||
G4ProcTableVector::iterator itr;
|
||||
G4bool isFound = false;
|
||||
G4ProcTblElement* anElement;
|
||||
G4ProcTblElement* anElement=0;
|
||||
for (itr=fProcTblVector->begin(); itr!=fProcTblVector->end(); ++itr) {
|
||||
anElement = (*itr);
|
||||
// check name
|
||||
@@ -377,7 +378,7 @@ G4ProcessTable::G4ProcTableVector* G4ProcessTable::Find(
|
||||
|
||||
G4ProcTableVector::iterator itr;
|
||||
G4bool isFound = false;
|
||||
G4ProcTblElement* anElement;
|
||||
G4ProcTblElement* anElement=0;
|
||||
for (itr=fProcTblVector->begin(); itr!=fProcTblVector->end(); ++itr) {
|
||||
anElement = (*itr);
|
||||
// check name
|
||||
@@ -390,7 +391,7 @@ G4ProcessTable::G4ProcTableVector* G4ProcessTable::Find(
|
||||
#ifdef G4VERBOSE
|
||||
if (!isFound && verboseLevel>0){
|
||||
G4cout << " G4ProcessTable::Find :" ;
|
||||
G4cout << " The Process[" << anElement->GetProcessName() << "] is not found " << G4endl;
|
||||
G4cout << " The ProcessType[" << processType << "] is not found " << G4endl;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VContinuousDiscreteProcess.cc,v 1.6 2007/10/02 08:23:20 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VContinuousDiscreteProcess.cc,v 1.7 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -39,14 +39,16 @@
|
||||
|
||||
#include "G4VContinuousDiscreteProcess.hh"
|
||||
G4VContinuousDiscreteProcess::G4VContinuousDiscreteProcess()
|
||||
:G4VProcess("No Name Discrete Process")
|
||||
:G4VProcess("No Name Discrete Process"),
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
G4Exception("G4VContinuousDiscreteProcess::G4VContinuousDiscreteProcess()","Illegal operation",
|
||||
JustWarning,"Default constructor is called");
|
||||
}
|
||||
|
||||
G4VContinuousDiscreteProcess::G4VContinuousDiscreteProcess(const G4String& aName , G4ProcessType aType)
|
||||
: G4VProcess(aName, aType)
|
||||
: G4VProcess(aName, aType),
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
enableAtRestDoIt = false;
|
||||
}
|
||||
@@ -56,7 +58,8 @@ G4VContinuousDiscreteProcess::~G4VContinuousDiscreteProcess()
|
||||
}
|
||||
|
||||
G4VContinuousDiscreteProcess::G4VContinuousDiscreteProcess(G4VContinuousDiscreteProcess& right)
|
||||
: G4VProcess(right)
|
||||
: G4VProcess(right),
|
||||
valueGPILSelection(right.valueGPILSelection)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -69,4 +72,3 @@ G4VContinuousDiscreteProcess::G4VContinuousDiscreteProcess(G4VContinuousDiscrete
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VContinuousProcess.cc,v 1.5 2007/10/02 08:23:20 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VContinuousProcess.cc,v 1.6 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -39,13 +39,15 @@
|
||||
|
||||
#include "G4VContinuousProcess.hh"
|
||||
G4VContinuousProcess::G4VContinuousProcess()
|
||||
:G4VProcess("No Name Continuous Process")
|
||||
:G4VProcess("No Name Continuous Process"),
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
G4Exception("G4VContinuousProcess:: default constructor is called");
|
||||
}
|
||||
|
||||
G4VContinuousProcess::G4VContinuousProcess(const G4String& aName , G4ProcessType aType)
|
||||
: G4VProcess(aName, aType)
|
||||
: G4VProcess(aName, aType),
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
enableAtRestDoIt = false;
|
||||
enablePostStepDoIt = false;
|
||||
@@ -56,7 +58,8 @@ G4VContinuousProcess::~G4VContinuousProcess()
|
||||
}
|
||||
|
||||
G4VContinuousProcess::G4VContinuousProcess(G4VContinuousProcess& right)
|
||||
: G4VProcess(right)
|
||||
: G4VProcess(right),
|
||||
valueGPILSelection(right.valueGPILSelection)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VProcess.cc,v 1.16 2007/11/15 04:10:18 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VProcess.cc,v 1.17 2010/10/07 14:17:35 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -46,7 +46,8 @@
|
||||
#include "G4VProcess.hh"
|
||||
|
||||
G4VProcess::G4VProcess(const G4String& aName, G4ProcessType aType )
|
||||
: pParticleChange(0),
|
||||
: aProcessManager(0),
|
||||
pParticleChange(0),
|
||||
theNumberOfInteractionLengthLeft(-1.0),
|
||||
currentInteractionLength(-1.0),
|
||||
theProcessName(aName),
|
||||
@@ -67,7 +68,8 @@ G4VProcess::~G4VProcess()
|
||||
}
|
||||
|
||||
G4VProcess::G4VProcess(const G4VProcess& right)
|
||||
: pParticleChange(0),
|
||||
: aProcessManager(0),
|
||||
pParticleChange(0),
|
||||
theNumberOfInteractionLengthLeft(-1.0),
|
||||
currentInteractionLength(-1.0),
|
||||
theProcessName(right.theProcessName),
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VRestContinuousDiscreteProcess.cc,v 1.6 2007/10/02 08:23:20 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VRestContinuousDiscreteProcess.cc,v 1.7 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -39,14 +39,16 @@
|
||||
|
||||
#include "G4VRestContinuousDiscreteProcess.hh"
|
||||
G4VRestContinuousDiscreteProcess::G4VRestContinuousDiscreteProcess()
|
||||
:G4VProcess("No Name Discrete Process")
|
||||
:G4VProcess("No Name Discrete Process"),
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
G4Exception("G4VRestContinuousDiscreteProcess::G4VRestContinuousDiscreteProcess()",
|
||||
"Illegal operation",JustWarning,"default constructor is called");
|
||||
}
|
||||
|
||||
G4VRestContinuousDiscreteProcess::G4VRestContinuousDiscreteProcess(const G4String& aName , G4ProcessType aType)
|
||||
: G4VProcess(aName, aType)
|
||||
: G4VProcess(aName, aType),
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -55,7 +57,8 @@ G4VRestContinuousDiscreteProcess::~G4VRestContinuousDiscreteProcess()
|
||||
}
|
||||
|
||||
G4VRestContinuousDiscreteProcess::G4VRestContinuousDiscreteProcess(G4VRestContinuousDiscreteProcess& right)
|
||||
: G4VProcess(right)
|
||||
: G4VProcess(right),
|
||||
valueGPILSelection(right.valueGPILSelection)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VRestContinuousProcess.cc,v 1.6 2007/10/02 08:23:20 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VRestContinuousProcess.cc,v 1.7 2010/10/30 07:51:23 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -39,14 +39,16 @@
|
||||
|
||||
#include "G4VRestContinuousProcess.hh"
|
||||
G4VRestContinuousProcess::G4VRestContinuousProcess()
|
||||
:G4VProcess("No Name Discrete Process")
|
||||
:G4VProcess("No Name Discrete Process") ,
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
G4Exception("G4VRestContinuousProcess::G4VRestContinuousProcess()","Illegal operation",
|
||||
JustWarning,"default constructor is called");
|
||||
}
|
||||
|
||||
G4VRestContinuousProcess::G4VRestContinuousProcess(const G4String& aName , G4ProcessType aType)
|
||||
: G4VProcess(aName, aType)
|
||||
: G4VProcess(aName, aType),
|
||||
valueGPILSelection(CandidateForSelection)
|
||||
{
|
||||
enablePostStepDoIt = false;
|
||||
}
|
||||
@@ -56,7 +58,8 @@ G4VRestContinuousProcess::~G4VRestContinuousProcess()
|
||||
}
|
||||
|
||||
G4VRestContinuousProcess::G4VRestContinuousProcess(G4VRestContinuousProcess& right)
|
||||
: G4VProcess(right)
|
||||
: G4VProcess(right),
|
||||
valueGPILSelection(right.valueGPILSelection)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user