Import Geant4 11.4.0.beta source tree
This commit is contained in:
@@ -34,15 +34,22 @@
|
||||
#include "G4RotationMatrix.hh"
|
||||
#include "G4ModelingParameters.hh"
|
||||
|
||||
const G4ModelingParameters* G4VModel::fpCurrentMP = nullptr;
|
||||
|
||||
G4VModel::G4VModel (const G4ModelingParameters* pMP):
|
||||
fType ("Other"),
|
||||
fGlobalTag ("Empty"),
|
||||
fGlobalDescription ("Empty"),
|
||||
fpMP (pMP)
|
||||
{}
|
||||
fGlobalDescription ("Empty")
|
||||
{
|
||||
fpMP = pMP;
|
||||
}
|
||||
|
||||
G4VModel::~G4VModel () {}
|
||||
|
||||
const G4ModelingParameters* G4VModel::GetCurrentModelingParameters () {
|
||||
return fpCurrentMP;
|
||||
}
|
||||
|
||||
G4String G4VModel::GetCurrentTag () const {
|
||||
// Override in concrete class if concept of "current" is meaningful.
|
||||
return fGlobalTag;
|
||||
@@ -53,6 +60,10 @@ G4String G4VModel::GetCurrentDescription () const {
|
||||
return fGlobalDescription;
|
||||
}
|
||||
|
||||
void G4VModel::SetCurrentModelingParameters (const G4ModelingParameters* pMP) {
|
||||
fpCurrentMP = pMP;
|
||||
}
|
||||
|
||||
G4bool G4VModel::Validate (G4bool) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user