CERN-LHC/MTA Group
 

Data Analysis Project

[ Intro | Settings | Dev | Doc | Download | Install | Mail | CVS | Links ]

[] Introduction

The Data Analysis Project [DAP] aim is to provide fast tools (written in ISO C) to analyse the magnetic measurements done on series magnets for the LHC (20'000'000 measurements foreseen). It includes three different parts:

[] Settings

To use the DAT and the DAL, you just have to do
# DAP csh setup
if ( -r $prefix/scripts/mtadb_env.csh ) then
    source $prefix/scripts/mtadb_env.csh
endif
or
# DAP sh setup
if [ -r $prefix/scripts/mtadb_env.sh ] ; then
    . $prefix/scripts/mtadb_env.sh
fi
according to the shell you are using and where $prefix is the variable set in the .config file during installation. You can add these lines to the configuration file of your favorite shell.

If you are on an AFS client at CERN, replace the $prefix by

/afs/cern.ch/user/m/mtauser/mtadb.

[] Development

You can use the DAT directly if the settings are set up correctly.

To use the DAL, just put the line

#include <mta.h>
into your C code and compile your program with the
-I$MTADB_PATH/include -lmta
linking option. The $MTADB_PATH is set by the mta environment script described in section Settings


[] Documentation

PDF documentations on the DAT and the DAL modules are available in the doc directory of the DAP tree.


[] Download

Since the DAP is permanently under development, the only available download method is through the CVS access. If CVS is not available on your computer, you can ask a backup of the development tree to Laurent Deniau.


[] Installation

Edit the .config file in the root directory of the DAP development tree to set the installation parameters
prefix := install_directory_path
and do:
make install
More instructions on installation and configuration can be found in the README file.


[] Feedback

Any suggestions, comments and bugs reports must be send to Laurent Deniau.


[] CVS access

Read-only access to the DAP development tree is provided via remote-CVS to anyone on the net. Assuming you have CVS installed on your machine you can check out the sources with the following sequence of commands:
#setenv CVSROOT ":pserver:anoncvs@pclhc590.cern.ch:/cvs"
#cvs login
>CVS password: anoncvs
#cvs -z 6 co mta
Once you have got the repository checked out, the commands:
cd mta
cvs update -d
will synchronize your local copy with those in the repository.

Last stable release of the mta library can be checked out with the command:

#cvs -z 6 co -r release-1-3 mta
Read-write access is not provided.

See the CVS manual for additional information on how to use CVS.


[] Related Links

Here is a short list of links related to the DAP:
Report bugs and comments to Laurent Deniau.