register_protocol

hep_rfm.register_protocol(name)[source]

Decorator to register a protocol with the given name. The new protocol is stored in a dictionary in the ProtocolPath class.

Returns:wrapper for the class.
Return type:function