]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/data/compare_data.sh
Coarse geometry of St2 (Christian)
[u/mrichter/AliRoot.git] / MUON / data / compare_data.sh
CommitLineData
5e377ba0 1#!/bin/sh
2# $Id$
3#
4# by I. Hrivnacova, IPN Orsay
5
6# Script to compare existing transformation/svmap data files
7# with generated ones.
8#
9# Usage: compare_data which_data
10# which_data = transform, svmap
11
12if [ $# != 1 ] ; then
13 echo " Usage: compare_data which_data"
14 echo " which_data = transform, svmap"
15 exit 1
16fi
17
18if [ "$1" != "transform" -a "$1" != "svmap" ] ; then
19 echo " Usage: reset_data which_data"
20 echo " which_data = transform, svmap"
21 exit 1
22fi
23
24DATATYPE=$1
25
92297cf8 26for builder in st1 st1V2 st2 st2V2 slat trigger
5e377ba0 27do
28 if [ -f $DATATYPE"_"$builder".dat.out" ] ; then
29 echo "Comparing $DATATYPE"_"$builder".dat $DATATYPE"_"$builder.dat.out ...
30 diff $DATATYPE"_"$builder.dat $DATATYPE"_"$builder.dat.out
31 fi
32done