Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4WrapperProcess.cc 71231 2013-06-12 13:06:28Z gcosmo $
// $Id: G4WrapperProcess.cc 80787 2014-05-12 09:06:07Z gcosmo $
//
//
// ------------------------------------------------------------
@@ -169,3 +169,10 @@ const G4VProcess* G4WrapperProcess::GetRegisteredProcess() const
{
return pRegProcess;
}
void G4WrapperProcess::SetMasterProcess(G4VProcess* masterP) {
G4WrapperProcess* master = static_cast<G4WrapperProcess*>(masterP);
//Cannot use getter because it returns "const" and we do not want
//to cast away constness explicitly (even if this is the same)
pRegProcess->SetMasterProcess(master->pRegProcess);
}