Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:11:09

0001 #!/bin/bash
0002 
0003 source /sphenix/u/bseidlitz/setup.sh
0004 
0005 echo "------------------setting up environment--------------------"
0006 export Cur_dir=$(pwd)
0007 echo "running area:" ${Cur_dir}
0008 echo "-------------------------running----------------------------"
0009 cd ${Cur_dir}
0010 ls
0011 root '' > notes.log
0012 
0013 
0014 #if [[ -f input.txt]]; then
0015 #  file_path=$(cat input.txt)
0016 #else
0017 #  echo "input.txt does not exist in the current directory. Exiting."
0018 #  exit 1
0019 #fi
0020 
0021 # Run the ROOT macro with the file path as the second argument
0022 root "/sphenix/u/bseidlitz/work/cvpDev/analysis/Calo_Validation_Package/macros//Fun4All_Calo.C(0,\"inputdata.txt\")"
0023 
0024 echo "JOB COMPLETE!"