Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user