Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:12:41

0001 #!/bin/bash
0002 
0003 source /sphenix/u/hj2552/setup.sh
0004 #source /sphenix/u/shuhang98/setup366.sh
0005 
0006 echo "------------------setting up environment--------------------"
0007 export Cur_dir=$(pwd)
0008 echo "running area:" ${Cur_dir}
0009 echo "-------------------------running----------------------------"
0010 cd ${Cur_dir}
0011 ls
0012 root '' > notes.log
0013 
0014 # Read the file path from prdf_file_path.txt into a variable
0015 prdf_path=$(cat prdf_file.txt)
0016 
0017 # Run the ROOT macro with the combined string as an argument
0018 root  "/sphenix/user/hanpuj/HCalCosmicCalib/macro/Fun4All_HCalCalib.C(0,\"$prdf_path\")"
0019 
0020 echo "JOB COMPLETE!"