parameters: (self, beam_centre_position_udpater_type)
docstring: Factory method to create the appropriate Beam Centre Position Updater
          @param beam_centre_position_udpater_type: the type of updater
docstring_summary: Factory method to create the appropriate Beam Centre Position Updater
docstring_tokens: Factory method to create the appropriate Beam Centre Position Updater
function: def create_beam_centre_position_updater(self, beam_centre_position_udpater_type):
          '''
          Factory method to create the appropriate Beam Centre Position Updater
          @param beam_centre_position_udpater_type: the type of updater
          '''
          if beam_centre_position_udpater_type == FindDirectionEnum.LEFT_RIGHT:
              return BeamCentrePositionUpdaterLeftRight()
          elif beam_centre_position_udpater_type == FindDirectionEnum.UP_DOWN:
              return BeamCentrePositionUpdaterUpDown()
          elif beam_centre_position_udpater_type == FindDirectionEnum.ALL:
              return BeamCentrePositionUpdaterAll()
          else:
              RuntimeError("Error in BeamCentrePositionUpdaterFactory: You need to provide a position update"
                           "policy, ie up/down, left/right or all")
function_tokens: def create_beam_centre_position_updater ( self , beam_centre_position_udpater_type ) : if beam_centre_position_udpater_type == FindDirectionEnum . LEFT_RIGHT : return BeamCentrePositionUpdaterLeftRight ( ) elif beam_centre_position_udpater_type == FindDirectionEnum . UP_DOWN : return BeamCentrePositionUpdaterUpDown ( ) elif beam_centre_position_udpater_type == FindDirectionEnum . ALL : return BeamCentrePositionUpdaterAll ( ) else : RuntimeError ( "Error in BeamCentrePositionUpdaterFactory: You need to provide a position update" "policy, ie up/down, left/right or all" )