#!/bin/bash INFILE=FFFFF OUTDIR=DDDDD TSAMPLES="test300samples2.drs.fits.gz" FITSFILE="/gpfs0/fact/monte-carlo/gamma/processing_20140716/CERES/PEDESTAL/00000001.001_P_MonteCarlo000_Events.fits" source ~/.bash_profile cd $MARSSYS root -b -q fact/analysis/mc/callisto.C\(\"$TSAMPLE\", \"FITSFILE\",\"$INFILE\", \"$OUTDIR\"\)