Modernize L0DU / L0Muon
- avoid having to create temporary std::string from const char* on
every call to
encode
by using static const std::string - prefer assignemnt over clear(), push_back()
- prefer by-value member data over owned pointers
- prefer switch over if-elseif-elseif-elseif-else
- prefer direct member initialization