6 #ifndef CUSTOMPHYSICSFACTORY_hh
7 #define CUSTOMPHYSICSFACTORY_hh
9 #include "Geant4/G4VPhysicsConstructor.hh"
13 class CustomPhysicsTable;
20 std::cerr <<
"CustomPhysicsFactory Error : Physics registered with no name!" << std::endl;
30 virtual G4VPhysicsConstructor*
Build()
const = 0;
41 G4VPhysicsConstructor*
BEGIN_PROLOG could also be cerr
virtual G4VPhysicsConstructor * Build() const =0
CustomPhysicsFactory(std::string const &name)
CustomPhysicsFactoryBase(std::string const &name)
std::string const & GetName() const noexcept
virtual ~CustomPhysicsFactoryBase()=default
G4VPhysicsConstructor * Build() const
bool empty(FixedBins< T, C > const &) noexcept