migration from EDProducer to stream::EDProducer (BeamSpotOnlineProducer)

as reported by @fwyzard
https://docs.google.com/spreadsheets/d/1D9khDvOl05WEbznsUPCusEbrHeep9hh8cXedMXX09Gc/edit#gid=0
there are modules used @HLT which still need to be migrated and be multithread safe

this is the migration of the module BeamSpotOnlineProducer
it was boost in the original code,
and sorry but I do not know the answer to your question :(

but I can follow your suggestion ....
I'm a little bit confused, though,
because looking at https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideAboutPythonConfigFile#Parameters
I do not find any boost::uint16_t

I'll set in line 23 like 
, theBeamShoutMode ( iconf.getUntrackedParameter<uint16> ("beamMode",11) )

is it fine ?
thanks