LUXSimUsingHTCondor: Difference between revisions

Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
voms-proxy-init --voms=lz --valid=142:00
 
# Run farmoutrunWiscJobs script to submit jobs
# To get help about options
# python /cvmfs/lz.opensciencegrid.org/sw/bin/farmoutGenericrunWiscJobs.py -h
 
python /cvmfs/lz.opensciencegrid.org/sw/bin/farmoutGenericrunWiscJobs.py \
--WorkFlow="test.mac_test1" \
--Executable="/afs/hep.wisc.edu/user/cvuosalo/work/lz/RunLUXSim.sh" \
--Experiment=lz \
-e lz \
--nJobs=10 \
--TransferInputFile="/afs/hep.wisc.edu/user/cvuosalo/work/lz/test.mac" \
--HDFSProdDir=outfiles \
-f '*.bin *.root' \
--UserEnv="UserName=`whoami` " \
-o -OutputDir="test.mac" \
--Arguments="test.mac"
 
# If you want your output copied to HDFS, have your executable copy the output
# files to the directory you specify with --HDFSProdDir.
 
#The above python scipt generates job file using your input macro. \
# It uses the shell script to run LUXSim and copy your output to LZ storage area.
</nowiki>
 
# Run the LUXSim
./LUXSimExecutable $@
 
mkdir -p ../outfiles
 
for i in *.bin
echo /cvmfs/lz.opensciencegrid.org/LUXSim/$ver/tools/LUXRootReader "${i}"
/cvmfs/lz.opensciencegrid.org/LUXSim/$ver/tools/LUXRootReader "${i}"
(cd ../outfiles ; ln -s "../$tmpDir/${i}" ..)
 
else
fi
done
cd ../outfiles
ln -s ../$tmpDir/*.root ..
 
 
</nowiki>
 
<nowiki>
/run/verbose 0
/control/verbose 0
/tracking/verbose 0
/grdm/verbose 0
 
/run/initialize
 
/LUXSim/io/alwaysRecordPrimary true
# Output folder
/LUXSim/io/updateFrequency 100
/LUXSim/io/outputDir .
/LUXSim/io/updateFrequencyoutputName 1EnergyDeposition_
/LUXSim/physicsList/useOpticalProcesses true
 
 
/LUXSim/detector/select LZDetector
/LUXSim/detector/gridWires onoff
/LUXSim/detector/printEFieldstopGrid on
 
/LUXSim/detector/printEFields
 
/LUXSim/detector/update
 
/LUXSim/detector/recordLevel LiquidXenonTarget 3
/LUXSim/materials/LXeTeflonRefl 0.95
/LUXSim/detector/recordLevelOptPhot LiquidXenonTarget 3
/LUXSim/materials/GXeTeflonRefl 0.75
/LUXSim/detector/recordLevelThermElec LiquidXenonTarget 3
/LUXSim/materials/LXeAbsorption 100 m
/LUXSim/materials/GXeAbsorption 500 m
/LUXSim/materials/LXeSteelRefl 0.2
/LUXSim/materials/GXeSteelRefl 0.2
/LUXSim/materials/AlUnoxidizedQuartzRefl 0.9
/LUXSim/materials/GXeRayleigh 500 m
/LUXSim/materials/LXeRayleigh 0.3 m
 
/gps/particle e-
/gps/energy 530 keV
/gps/position 0 0 75 cm
#this is approximate center. See ElectronCollection for whole volume
/gps/ang/type iso
 
/LUXSim/physicsList/useOpticalProcesses true
# Output .bin files
 
/LUXSim/beamOn 105
/control/getEnv MyRandomNumber
exit
/control/getEnv MyOutputName
/LUXSim/io/outputName {MyOutputName}
/LUXSim/randomSeed {MyRandomNumber}
/LUXSim/physicsList/driftElecAttenuation 1.5 m
/LUXSim/beamOn 10
 
exit</nowiki>
 
==== Files in the storage area ====

Navigation menu