Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
// step and propose a final state.
|
||||
//
|
||||
// This method is the first operator method called, it is called at the
|
||||
// by the PostStepGetPhysicalInterationLenght(...) method of the
|
||||
// by the PostStepGetPhysicalInterationLength(...) method of the
|
||||
// G4BiasingProcessInterface.
|
||||
//
|
||||
// 2) physics-based biasing:
|
||||
@@ -95,7 +95,7 @@
|
||||
// in the operator before returning the related operation to the process.
|
||||
//
|
||||
// This method is the second operator one called in a step, it is called by
|
||||
// the PostStepGetPhysicalInterationLenght(...) method of the
|
||||
// the PostStepGetPhysicalInterationLength(...) method of the
|
||||
// G4BiasingProcessInterface.
|
||||
//
|
||||
// b) The biasing of the physics process final state is proposed by:
|
||||
@@ -209,7 +209,7 @@ protected:
|
||||
// -- If a null pointer is returned, the analog -unbiased- behavior is adopted.
|
||||
// -- non-physics-based biasing:
|
||||
// -----------------------------
|
||||
// -- [ First operator method called, at the PostStepGetPhysicalInterationLenght(...) level. ]
|
||||
// -- [ First operator method called, at the PostStepGetPhysicalInterationLength(...) level. ]
|
||||
virtual G4VBiasingOperation* ProposeNonPhysicsBiasingOperation( const G4Track* track, const G4BiasingProcessInterface* callingProcess ) = 0;
|
||||
// -- physics-based biasing:
|
||||
// -------------------------
|
||||
@@ -220,7 +220,7 @@ protected:
|
||||
// -- The informations provided by the G4BiasingProcessInterface calling process (previous occurrence operation, previous step length,
|
||||
// -- etc.) might be useful for doing this. They will be useful also to decide with continuing with a same operation proposed
|
||||
// -- in the previous step, updating the interaction law taking into account the new G4Track state and the previous step size.
|
||||
// -- [ Second operator method called, at the PostStepGetPhysicalInterationLenght(...) level. ]
|
||||
// -- [ Second operator method called, at the PostStepGetPhysicalInterationLength(...) level. ]
|
||||
virtual G4VBiasingOperation* ProposeOccurenceBiasingOperation( const G4Track* track, const G4BiasingProcessInterface* callingProcess ) = 0;
|
||||
// -- [ Third operator method called, at the PostStepDoIt(...) level. ]
|
||||
virtual G4VBiasingOperation* ProposeFinalStateBiasingOperation( const G4Track* track, const G4BiasingProcessInterface* callingProcess ) = 0;
|
||||
@@ -245,9 +245,9 @@ protected:
|
||||
|
||||
|
||||
protected:
|
||||
// -----------------------------------
|
||||
// -- Delegation to an other operator:
|
||||
// -----------------------------------
|
||||
// ----------------------------------
|
||||
// -- Delegation to another operator:
|
||||
// ----------------------------------
|
||||
// -- An operator may wish to select a sequence of operations already implemented in an
|
||||
// -- existing biasing operator. In this case, this operator can delegate its work to
|
||||
// -- the "delegated" one by calling DelegateTo( G4VBiasingOperation* delegated );
|
||||
@@ -296,7 +296,7 @@ public:
|
||||
|
||||
|
||||
|
||||
// -- used by biasing process interface, or used by an other operator (not expected to be invoked differently than with these two cases):
|
||||
// -- used by biasing process interface, or used by another operator (not expected to be invoked differently than with these two cases):
|
||||
public:
|
||||
G4VBiasingOperation* GetProposedOccurenceBiasingOperation( const G4Track* track, const G4BiasingProcessInterface* callingProcess );
|
||||
G4VBiasingOperation* GetProposedFinalStateBiasingOperation( const G4Track* track, const G4BiasingProcessInterface* callingProcess );
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# Package: Geant4.src.G4processes.G4biasing_mgt
|
||||
#
|
||||
# Sources description for a library.
|
||||
# Lists the sources and headers of the code explicitely.
|
||||
# Lists the sources and headers of the code explicitly.
|
||||
# Lists include paths needed.
|
||||
# Lists the internal granular and global dependencies of the library.
|
||||
# Source specific properties should be added at the end.
|
||||
@@ -14,33 +14,9 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# List external includes needed.
|
||||
include_directories(${CLHEP_INCLUDE_DIRS})
|
||||
|
||||
# List internal includes needed.
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/detector/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/biasing/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/magneticfield/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/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/processes/cuts/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/electromagnetic/utils/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/transportation/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/track/include)
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
include(Geant4MacroDefineModule)
|
||||
GEANT4_DEFINE_MODULE(NAME G4biasing_mgt
|
||||
HEADERS
|
||||
G4VProcessPlacer.hh
|
||||
|
||||
@@ -66,7 +66,7 @@ void G4VBiasingOperator::AttachTo(const G4LogicalVolume* logical)
|
||||
G4ExceptionDescription ed;
|
||||
ed << "Biasing operator `" << GetName()
|
||||
<< "' can not be attached to Logical volume `"
|
||||
<< logical->GetName() << "' which is already used by an other operator !" << G4endl;
|
||||
<< logical->GetName() << "' which is already used by another operator !" << G4endl;
|
||||
G4Exception("G4VBiasingOperator::AttachTo(...)",
|
||||
"BIAS.MNG.01",
|
||||
JustWarning,
|
||||
|
||||
Reference in New Issue
Block a user