.. _Analysis Data Service: Analysis Data Service ===================== What is it? ----------- The Analysis Data Service is a :ref:`Data Service ` that is specialized to hold all of the :ref:`workspaces ` that are created by user run :ref:`algorithms `. Whenever an algorithm is executed it automatically extracts its input workspaces from the Analysis Data Service, and inserts its output workspaces upon completion. Extracting a workspace from the Analysis Data Service ----------------------------------------------------- The most usual way in user code would be to use the :ref:`Framework Manager `. ``Workspace* result = FrameworkManager::Instance().getWorkspace("workspaceName")`` Or you could get it directly from the AnalysisDataService (as a :ref:`Shared Pointer `) ``Workspace_sptr result = AnalysisDataService::Instance().retrieve("test_out1");`` If you were writing an algorithm however you would most likely use a Workspace :ref:`Property ` to access or store your workspaces. .. categories:: Concepts