source: trunk/MadWeight/Analysis.sh@ 20

Last change on this file since 20 was 18, checked in by Pavel Demin, 16 years ago

first commit of working code

  • Property svn:executable set to *
File size: 366 bytes
Line 
1#! /bin/sh
2
3if [ $# -ne 2 ]
4then
5 echo " Usage: Analysis.sh input_file output_file."
6 echo " input_file - file in ROOT format,"
7 echo " output_file - file in ROOT format."
8 exit 1
9fi
10
11root -l -b <<- EOF
12 gSystem->Load("libPhysics");
13 gSystem->Load("libEG");
14 gSystem->Load("../lib/libExRootAnalysis.so");
15 .include ..
16 .X Analysis.C+("$1", "$2");
17 .q
18EOF
19
Note: See TracBrowser for help on using the repository browser.