def METHOD_NAME(g4_physics_constructor_class_name):
    """
    Dynamically create a class with the given PhysicList
    Only possible if the class exist in g4
    """
    # Retrieve the G4VPhysicsConstructor class
    try:
        a = getattr(sys.modules["opengate_core"], g4_physics_constructor_class_name)
    except:
        s = f"Cannot find the class {g4_physics_constructor_class_name} in opengate_core"
        fatal(s)
    # sanity check:
    assert g4_physics_constructor_class_name == a.__name__
    return a