#!/bin/bash

source ~/.bash_profile

cd $MARSSYS

NAME=NNNNN

INFILE=$NAME.list
OUTDIR=$MARSSYS"/OUTPUT/ganymed/"
mkdir -p $OUTDIR
OUTFILE=$OUTDIR"/"$NAME"_gan.root"

root -b -q fact/analysis/ganymed.C\(\"$INFILE\",\"$OUTFILE\",5.5755,22.0144\)

