Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:19:42

0001 #!/bin/csh
0002 echo ' '
0003 echo 'START: '`date`
0004 #setenv HOME /phenix/u/$LOGNAME
0005 #source /etc/csh.login
0006 #source $HOME/.login
0007 #source /opt/phenix/bin/phenix_setup.c 
0008 
0009 
0010 #@ z = $1 + 500
0011 @ z = $1 + 0
0012 
0013 echo hi justin doing job num $z
0014 
0015 source /opt/sphenix/core/bin/sphenix_setup.csh -n new
0016 
0017 setenv JFINSTALL /phenix/scratch/jfrantz/install/sphenix_bt_mdc2
0018 ls $JFINSTALL/include
0019 
0020 source /opt/sphenix/core/bin/setup_local.csh $JFINSTALL
0021 
0022 #//setenv JFINSTALL /sphenix/user/jfrantz/newgeom/install
0023 #//setenv LD_LIBRARY_PATH $MYINSTALL/lib:$LD_LIBRARY_PATH
0024 #//set PATH = ($MYINSTALL/bin $path)
0025 #source ~/setldpath.csh . 
0026 #//echo $LD_LIBRARY_PATH
0027 #//echo $MYINSTALL 
0028 echo $PATH
0029 
0030 #setenv CALIBRATIONROOT $JFINSTALL/share/calibrations/
0031 #setenv CALIBRATIONROOT /phenix/scratch/jfrantz/install/sphenix_ynewy/share/calibrations/
0032 
0033 #cd /direct/phenix+u/apun/sphenixabi/macros/macros/g4simulations_embed
0034 #cd /gpfs/mnt/gpfs04/sphenix/user/apun/gitfork/macros/macros/g4simulations
0035 #cd /direct/phenix+u/apun/sphenixabi/macros/macros/g4simulations
0036 #cd /direct/phenix+u/apun/Island/macros/g4simulations
0037 cd /sphenix/user/jfrantz/caloCalib/framew/calotest/
0038 
0039  root.exe -b <<EOF
0040    .L run_calo_fromMDC2Hits_towslope_Fun4All_G4_Calo.C
0041    run_calo_fromMDC2Hits_towslope_Fun4All_G4_Calo(80, $z,"/sphenix/user/jfrantz/caloCalib/framew/condor/v12/out$z.root");
0042                 
0043 .q
0044 EOF
0045 echo ' '
0046 echo ' '
0047 echo 'END: '`date`
0048 echo ' '
0049 
0050 #//     "DST_CALO_G4HIT_sHijing_0_20fm_50kHz_bkg_0_20fm-0000000004-$1.root",
0051 #//     "DST_VERTEX_sHijing_0_20fm_50kHz_bkg_0_20fm-0000000004-$1.root",
0052 
0053 #  Fun4All_G4_sPHENIX(50,"/sphenix/sim/sim01/production/2016-07-21/single_particle/spacal2d/fieldmap/G4Hits_sPHENIX_pi0_eta0_8GeV-0000.root","/gpfs/mnt/gpfs04/sphenix/user/apun/condor/reduced/reduced_RCBv1_gamma_eta0_16GeV_1evt_$1","","/gpfs/mnt/gpfs04/sphenix/user/apun/condor/withv1/test7/$1.root")
0054 
0055 #.L Fun4All_G4_sPHENIX.C
0056 #Fun4All_G4_sPHENIX(50,"/sphenix/sim/sim01/production/2016-07-21/single_particle/spacal2d/fieldmap/G4Hits_sPHENIX_pi0_eta0_8GeV-0000.root","reduced_RCBv1_gamma_eta0_16GeV_1evt_$1","/gpfs/mnt/gpfs02/sphenix/user/apun/condor/withv1/test1/$1.root")
0057 
0058 #.L Fun4All_G4_sPHENIX_embed.C
0059 #Fun4All_G4_sPHENIX_embed(30,"/sphenix/sim/sim01/production/2016-07-21/single_particle/spacal2d/fieldmap/G4Hits_sPHENIX_pi0_eta0_8GeV-0000.root","/gpfs/mnt/gpfs02/sphenix/user/apun/condor/reduced/reduced_RCBv1_gamma_eta0_16GeV_1evt_$1","/gpfs/mnt/gpfs02/sphenix/sim/sim01/production/sHijing/2016-12-21/fm_0-4/G4Hits_sHijing_0-4fm_02500_02600.root","/gpfs/mnt/gpfs02/sphenix/user/apun/condor/embedd/withv1/test1/$1.root")
0060 
0061 
0062 
0063 
0064 
0065 #.L Fun4All_G4_sPHENIX_IA.C
0066 #Fun4All_G4_sPHENIX_IA(50,8.,0.1,"Gamma",1,"/sphenix/sim/sim01/production/2016-07-21/single_particle/spacal2d/fieldmap/G4Hits_sPHENIX_pi0_eta0_8GeV-0000.root","/gpfs/mnt/gpfs04/sphenix/user/apun/condor/reduced/reduced_RCBv1_gamma_eta0_16GeV_1evt_$1","/gpfs/mnt/gpfs04/sphenix/user/apun/condor/island/test4/$1.root")