]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/CalibMacros/Pass0/mergeMakeOCDB.sh
Updated macro for the saturation correection in HI. In the previous the linear fit...
[u/mrichter/AliRoot.git] / ANALYSIS / CalibMacros / Pass0 / mergeMakeOCDB.sh
CommitLineData
674af238 1#!/bin/bash
2
3# Script to merge objects coming out of the calibration train:
4# Arguments:
5# 1 - directory on which to look for the files to be merged
6# 2 - pattern
7# 3 - OCDB output path
8
9# example:
10# mergeMakeOCDB.sh /alice/cern.ch/user/j/jotwinow/Pass0/output/ 000120691 alien://folder=/alice/cern.ch/user/j/jotwinow/Pass0/output
11
12#ALIEN setting
13# $1 = directory where to perform the find
14# $2 = pattern
15# $3 = OCDB path
16
17echo ">>>>>>> Running AliRoot to merge calib objects found in $1 with pattern AliESDfriends_v1.root"
18aliroot -l -b -q merge.C\(\"$1\",\"AliESDfriends_v1.root\"\) 2>&1 | tee merge.log
19
20echo ">>>>>>> Extract OCDB entries for run = $2, to be stored in $3"
21aliroot -l -b -q makeOCDB.C\(\"$2\",\"$3\"\) 2>&1 | tee ocdb.log