#!/bin/bash

##
##
##  This is the Unix script to run the PET list-mode benchmark of the CASToR project.
##
##

convert="castor-GATERootToCastor"

#inputROOT="-i myiec_water.root"
inputROOT="-i myiec_air.root"

#inputMAC="-m ./myIEC_water.mac"
inputMAC="-m ./myIEC_air.mac"
#output="-o  ./myIEC_water"
output="-o  ./myIEC_air"
scanner_alias="-s PET_Minfound_PET2L"
verbose="-vb 2"
trueflag="-t "
sourceimage="-isrc ./myIEC_Allevents_water_GATEsrc.img:264,264,96,2.1,2.1,2.1"
trueflag="-t "

${convert} ${inputROOT}  ${inputMAC} ${output} ${scanner_alias} ${verbose} ${trueflag}  ${sourceimage} ${trueflag}

# Finished
echo ""
exit 0

