Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
+36 -26
View File
@@ -39,33 +39,43 @@
#include "globals.hh"
class G4PhysicsBuilderInterface {
public:
G4PhysicsBuilderInterface() = default;
virtual ~G4PhysicsBuilderInterface() {}
virtual void Build() {
G4Exception("G4PhysicsBuilderInterface::Build","PHYSBLD001",FatalException,
"Called based class method. Should be implemented in"\
" inherited class");;
}
virtual void RegisterMe(G4PhysicsBuilderInterface*) {
G4Exception("G4PhysicsBuilderInterface::RegisterMe","PHYSBLD001",FatalException,
"Called based class method. Should be implemented in"\
" inherited class, or wrong type of parameter passed.");;
class G4PhysicsBuilderInterface
{
public:
G4PhysicsBuilderInterface() = default;
virtual ~G4PhysicsBuilderInterface() {}
virtual void Build()
{
G4Exception("G4PhysicsBuilderInterface::Build", "PHYSBLD001",
FatalException,
"Called based class method. Should be implemented in"
" inherited class");
;
}
virtual void RegisterMe(G4PhysicsBuilderInterface*)
{
G4Exception("G4PhysicsBuilderInterface::RegisterMe", "PHYSBLD001",
FatalException,
"Called based class method. Should be implemented in"
" inherited class, or wrong type of parameter passed.");
;
}
virtual void SetMinEnergy(G4double)
{
G4Exception("G4PhysicsBuilderInterface::SetMinEnergy", "PHYSBLD001",
FatalException,
"Called based class method. Should be implemented in"
" inherited class");
;
}
virtual void SetMaxEnergy(G4double)
{
G4Exception("G4PhysicsBuilderInterface::SetMaxEnergy", "PHYSBLD001",
FatalException,
"Called based class method. Should be implemented in"
" inherited class");
;
}
virtual void SetMinEnergy(G4double) {
G4Exception("G4PhysicsBuilderInterface::SetMinEnergy","PHYSBLD001",
FatalException,
"Called based class method. Should be implemented in"\
" inherited class");;
}
virtual void SetMaxEnergy(G4double) {
G4Exception("G4PhysicsBuilderInterface::SetMaxEnergy","PHYSBLD001",
FatalException,
"Called based class method. Should be implemented in"\
" inherited class");;
}
};
#endif