\chapter{Computing Project organization and responsibilities}
%Yves Schutz the editor of this chapter.
\label{CH:Organisation}

\section{Computing Project responsibilities}
The scope of the ALICE Computing Project is to provide the Collaboration with the framework, resources and software needed to extract the physics content from the data collected by the ALICE experiment and thus realize its physics potential and ultimate goal. The ALICE Computing Project is organized as shown in the chart of Fig.~\ref{Ch8Fig:organisation}.

It has the ultimate responsibility for the coordination of the following activities, classified by responsibility:
\begin{enumerate}
	\item Subdetector Software. This is the software for the simulation, reconstruction and analysis of the data coming from a subdetector and for its calibration and alignment. The responsibility for the development and maintenance of this software lies with the subdetector project.
	\item 	Physics Analysis Software. This is the software that analyses the reconstructed data and extracts the physics results. The responsibility for this software rests with the Physics Working Groups organized by the Physics Board that is chaired by the Physics Coordinator.
	\item Core computing
	
\begin{enumerate}
	\item Core Software. This is the software that is common to all the subdetectors such as the transport Monte Carlo and the general framework for I/O, event processing, visualization, simulation, calibration, alignment and reconstruction. ALICE-specific services that interface with the \grid middleware belong to this category. Responsibility for this software rests with the Core Computing Project.
	\item Infrastructure and Services. This includes the main areas:
	
\begin{enumerate}
	\item Central Support. Coordination, distribution and first line support of the ALICE software, coordination of data processing activities and the coordination of the ALICE Virtual Organization (VO) and distributed computing environment. It also covers relations with the LCG project. 
	\item Offline Coordination. Planning of the computing resources for the processing of ALICE data, management of relations with the computing centres and institutions providing these resources and with the LCG bodies that coordinate these resources.
\end{enumerate}
\end{enumerate}
All these activities are a shared responsibility of the whole Collaboration, as they are services for all the ALICE physicists and are hosted by the Core Computing Project at CERN. 
\end{enumerate}

\section{Computing Project organization} 
\begin{itemize}
	\item The Computing Project (Fig.~\ref{CH8Fig:organigramme}) is under the leadership of the Computing Coordinator, who is also the chair of the Computing Board.. 
	\item The Offline infrastructure is coordinated by the Offline Coordinator, who is also the chair of the Offline Board.

 \begin{figure}[ph!]
	\centering
		\includegraphics[scale=0.55]{chap8fig/organisation.eps}
	\caption{Organization of the ALICE Computing Project.}
	\label{Ch8Fig:organisation}
%\end{figure}
%begin{figure}[b]
	\centering
		\includegraphics[scale=0.55]{chap8fig/organigram.eps}
	\caption{Organigramme of the Core Computing.}
	\label{CH8Fig:organigramme}
\end{figure}

	\item Four Project Activity Area coordinators coordinate the software development: Simulation, Reconstruction and algorithms, Production Infrastructure and Databases, and Framework.
	\item 	Overall coordination for all project activities is realized through the Software and Computing Board (SCB) chaired by the Computing Coordinator and composed of the Offline Coordinator, the coordinators of the Computing Project Activity Areas, one or two representatives for each detector project, and one representative for major national computing facilities. The DAQ and HLT project leaders are ex officio members of the SCB.
	\item Coordination of the provision of the computing resources in collaborating institutions is performed via the Offline Board, chaired by the Offline Coordinator.
	\item Coordination with the ALICE Physics Working Groups is ensured through the ALICE Physics Coordinator. 
	\item Representation within the ALICE Management is ensured through the Computing Coordinator being an ex officio member of the ALICE Management Board.
	\item The Computing and Offline coordinators ensure representation within the LCG project.
\end{itemize}

\section{Organization of the Core Computing Project}
The scope and responsibilities in the domain of Core Computing activity is described next.
\begin{enumerate}
	\item Scope: The scope of the ALICE Core Computing Project (hereafter AC2) is defined as the development and maintenance of the experiment software framework and condition databases, the documentation and Web, the software infrastructure, visualization, and the production tools. It also includes ALICE software distribution and support, and its interfacing to the \grid and LCG software. Some areas of the project are shared with the ALICE DAQ and HLT project.
	\item Responsibilities: The AC2 has the following responsibilities:
	
\begin{enumerate}
	\item Design, prototyping, deployment, maintenance and documentation of the software framework.
	\item Support for the possible central database services not provided by LCG.
	\item First line support and distribution of all software produced. Detailed questions may need to be reported to the original authors or current maintainer of the software.
	\item Development of a computing model and its validation in series of Physics and Computing Data Challenges. These are executed in collaboration with DAQ and HLT. These challenges imply organization and operation of large-scale testing of increasingly complex prototypes for the distributed production of simulated data, and the subsequent reconstruction and analysis of these data.
	\item Implementation of the offline framework in the LCG \grid infrastructure and its interfacing with the LCG middleware.
	\item Provision of continuously operational software enabling the physicists to assess the functionality of the framework toward the final goal of extracting physics from the data.
	\item Liaison with the LCG project and with the regional centres providing the computing resources for ALICE. 
	\item Preparation of the ALICE Software and Computing TDR describing the ALICE Computing model.
	\item Review of the planned ALICE computing resource needs.
	\item Provide the Collaboration with the necessary justification of the present and planned computing needs to support negotiations with the funding agencies to obtain the computing resources.
	\item Preparation and update of the multiyear resource planning.
	\item Preparation and update of the multiyear manpower planning
	\item Review of the resources actually used by the Collaboration.
	\item Relations with the LCG management.
\end{enumerate}
\item Project structure: ALICE has opted for a very lightweight AC2 team located mostly at CERN. The CERN team is constituted of a few personnel with long-term positions and a majority of personnel with short-term assignments. CERN and a few Collaboration institutes provide, on a voluntary basis, personnel for AC2, both locally and at CERN. CERN has taken the major responsibility for this activity, while well-identified sub-projects are executed either by institutes participating in the Computing Project having adequate skills (examples are the detector construction database project, the LCG integration, the Virtual \MC or the ALICE Web) or via collaboration with institutes not belonging to the Collaboration (e.g. for the coding rule checker project).
\item Project resources: The personnel for the Core Computing are people skilled in physics data processing and simulation, but also in areas such as OO analysis and design, C++ and other languages, databases and data management systems, computing systems, software process, quality control etc. In ALICE a large majority of these people are trained physicist. 
\end{enumerate}

\section{Activities in the Core Computing Project}
The complete activities in the ALICE Core Computing are described in task-oriented Activity Areas. 
\begin{itemize}
	\item {\bf AA1}: Project (Computing \& offline) coordination 
	\item {\bf AA2}: Framework development
	\item {\bf AA3}: Simulation coordination
	\item {\bf AA4}: Reconstruction coordination
	\item {\bf AA5}: Analysis tools coordination
	\item {\bf AA6}: Databases and production infrastructure
	\item {\bf AA7}: Production and quality assurance 
	\item {\bf AA8}: Program librarian
	\item {\bf AA9}: Persistency and computing data challenge
	\item {\bf AA10}: System support
	\item {\bf AA11}: Radiation studies
	\item {\bf AA12}: Documentation and Web
	\item {\bf AA13}: Detector construction database
	\item {\bf AA14}: LCG integration 
\end{itemize}

\section{Institutes participating in the activities}
The current institutes' participation in the Core Offline activities are listed in Table~\ref{CH8Tab:Contrib} together with their major contribution. 
\begin{table} [h!]
	\centering
	\caption{List of institutes participating in the Core Offline activities and their major contribution.}
	\label{CH8Tab:Contrib}
	\vspace{0.5cm}
		\begin{tabular}{|cll|}
			\hline
			Institute& Activity area& Main responsibility \tabularnewline\hline\hline
	    CERN& AA1,2,3,4,5,6,7,8,9,10,12& Overall project coordination \tabularnewline
	        &                          & Core software as defined above \tabularnewline
	    CEADEN Cuba& AA2,12& Interface with detector simulation transport programs; \tabularnewline
	               &       & Maintenance of the Web site \tabularnewline
	    INFN Torino& AA14& Integration of ALICE software with LCG \grid \tabularnewline
	    IN2P3& AA1,3& Overall project coordination, \tabularnewline
	        &                          & \gfour integration \tabularnewline
	    Kosice, Slovakia& AA11& Radiation studies \tabularnewline
      Warsaw TU& AA6,13& Detector construction DB \tabularnewline
      Sejong, Korea& AA7& \grid middleware and production support \tabularnewline\hline
		\end{tabular}
\end{table}
 
\section{Milestones}
The major milestones (MS) of the Computing Project are those linked with the execution of the two remaining Physics Data Challenges (PDCs) until the start of data taking in the first semester of 2007. 
\begin{itemize}

	\item \textbf{MS1--May 2005}: PDC05 -- Start of event production (phase 1)
	
	PDC05 will use all resources available on the \grid and access them through the LCG     middleware and the AliEn services. 
	
	\item \textbf{MS2--June 2005}: \aliroot framework release. 
	
	The framework will include the following items: 
		\begin{itemize}
			\item a prototype for the Condition infrastructure; 
			\item the FLUKA interface to the Virtual \MC and FLUKA fully validated               to be used as the main tracking package; 
			\item the \ROOT Geometrical Modeller as unique package for the detector geometry              description.
		\end{itemize}
		
	\item \textbf{MS3--June 2005}: Computing TDR (the present
	document) submitted to the LHCC.
	
 	\item \textbf{MS4--July 2005}: PDC05 -- Start of combined test
 	with SC3 (phase 2).
 	
 	Phase 2 of PDC05 (see Chapter 3) is started together with the
 	throughput test of the LCG Service Challenge 3 (SC3). In case SC3
 	is delayed, the PDC05 phase 2 schedule will not be modified.
 	
 	\item \textbf{MS5--September 2005}: PDC05 -- Start of distributed
 	analysis (phase 3).
 	
 	Phase 3 of PDC05 (see Chapter 3) is combined with the services
 	test of LCG SC3. It includes the AliEn services and gShell, the
 	ALICE user interface to the \alien services.
 	
 	\item \textbf{MS6--September 2005}: Metadata prototype ready.
 	
 	\item \textbf{MS7--December 2005}: Condition infrastructure deployed.
 	
 	\item \textbf{MS8--December 2005}: Preliminary implementation of
 	algorithms for alignment and calibration ready for all detectors.
 	\item \textbf{MS9--January 2006}: Release of \aliroot framework in
 	preparation of the PDC06. Final prototype of alignment and
 	calibration ready to be tested. Alignment and calibration
 	algorithms prepared for all detectors. Global alignment and
 	inter-calibration of the detectors at the prototype stage.
 	\item \textbf{MS10--January 2006}: Start of PDC06. Test of the
 	full production chain, including calibration and
 	alignment. Size approximately equal to 20\% of the real data of a
 	standard data-taking year. Distributed batch analysis of the
 	data. Evalation of the distributed interactive analysis framework.
 	\item \textbf{MS11--June 2006}: End of PDC06. Evaluation of the
 	data challenge results. Planning of most urgent activities for
 	next year. 
 	\item \textbf{MS12--June 2006}: Final implementation of algorithms
 	for alignment and calibration ready for all detectors. This
 	includes inter-calibration and alignment algorithms.
 	\item \textbf{MS13--December 2006}: ALICE computing environment ready for data taking.
\end{itemize}
 

