Adding new type of jobs (Marian)
[u/mrichter/AliRoot.git] / TPC / macros / testTPC / action.sh
CommitLineData
8b35d234 1#!/bin/bash
2#aguments
3#1 TString jobID,
4#2 TString inputData
5#3 TString outputDir
6#4 TString action
7
8echo $1
9echo $2
10echo $3
11echo $4
12
13
14mkdir -p /tmp/$USER/$1
15cd /tmp/$USER/$1
16which xrdcp
17
18command xrdcp $2 data.root
19
20echo aliroot -b -q $ALICE_ROOT/TPC/macros/testTPC/$4.C
21
22command aliroot -b -q $ALICE_ROOT/TPC/macros/testTPC/$4.C
23
24for name in `ls *.root`; do
25 xrdcp $name $3/$4/$name
26done
27
28
29