Last change
on this file since 18 was 18, checked in by Pavel Demin, 16 years ago |
first commit of working code
|
-
Property svn:executable
set to
*
|
File size:
366 bytes
|
Rev | Line | |
---|
[18] | 1 | #! /bin/sh
|
---|
| 2 |
|
---|
| 3 | if [ $# -ne 2 ]
|
---|
| 4 | then
|
---|
| 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
|
---|
| 9 | fi
|
---|
| 10 |
|
---|
| 11 | root -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
|
---|
| 18 | EOF
|
---|
| 19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.