From ad97f6e30ae40bfe76dc42cbfc3c9d34ee0b1edb Mon Sep 17 00:00:00 2001 From: Alex Schuy Date: Mon, 23 Oct 2017 16:26:35 -0700 Subject: [PATCH] Adds basic reconstruction files. --- digitizer_setup.sh | 13 +++++++++++++ generator_setup.sh | 8 ++------ reconstructor_setup.sh | 11 +++++++++++ simulator_setup.sh | 11 +++++++++++ 4 files changed, 37 insertions(+), 6 deletions(-) create mode 100755 digitizer_setup.sh create mode 100644 reconstructor_setup.sh create mode 100755 simulator_setup.sh diff --git a/digitizer_setup.sh b/digitizer_setup.sh new file mode 100755 index 0000000..4aceb8a --- /dev/null +++ b/digitizer_setup.sh @@ -0,0 +1,13 @@ +#!/bin/bash +chmod a+x digitizer_setup.sh + +RunNumber=304795 +HITSFile="${RunNumber}.1.1.HITS" +RDOFile="${RunNumber}.1.1.RDO" + +( + Digi_tf.py --inputHitsFile $HITSFile --outputRDOFile $RDOFile --maxEvents -1 --skipEvents 0 --geometryVersion ATLAS-R2-2015-03-01-00_VALIDATION --conditionsTag OFLCOND-RUN12-SDR-20 +) + + + diff --git a/generator_setup.sh b/generator_setup.sh index f2e2f2a..a0563b0 100755 --- a/generator_setup.sh +++ b/generator_setup.sh @@ -7,20 +7,16 @@ StartingBatch=1 EndingBatch=20 MaxSeed=$((30081*30081)) -echo "Starting the Generation Step" - -( source $AtlasSetup/scripts/asetup.sh here,19.2.4.14 +( for ((i=StartingBatch ; i <= EndingBatch ; i++)) do # The generator has trouble cleaning up its temporary files, so do so for it. rm -r PROC_HAHM_variableMW_v3_UFO_* EVNTFile="${RunNum}.${EventsPerBatch}.${i}.EVNT" - echo "$EVNTFile" FirstEvent=$(($EventsPerBatch*($i-1)+1)) - echo "$FirstEvent" Seed=$(($(date +"%s") % MaxSeed)) - echo "$Seed" + echo "MC Seed = $Seed" Generate_tf.py --jobConfig hss-runner.py --maxEvents $EventsPerBatch --runNumber $RunNum --firstEvent $FirstEvent --outputEVNTFile $EVNTFile --ecmEnergy 13000 --randomSeed $Seed --printEvts 3 done ) diff --git a/reconstructor_setup.sh b/reconstructor_setup.sh new file mode 100644 index 0000000..5f3c4b9 --- /dev/null +++ b/reconstructor_setup.sh @@ -0,0 +1,11 @@ +#!/bin/bash +chmod a+x simulator_setup.sh + +RunNumber=304795 +RDOFile="${RunNumber}.1.1.RDO" +ESDFile="${RunNumber}.1.1.ESD" + +( + Reco_tf.py --inputRDOFile $RDOFile --outputESDFile $ESDFile --maxEvents=-1 --skipEvents 0 --DBRelease current --autoConfiguration='everything' +) + diff --git a/simulator_setup.sh b/simulator_setup.sh new file mode 100755 index 0000000..f9ebbba --- /dev/null +++ b/simulator_setup.sh @@ -0,0 +1,11 @@ +#!/bin/bash +chmod a+x simulator_setup.sh + +RunNumber=304795 +EVNTFile="${RunNumber}.1.1.EVNT" +HITSFile="${RunNumber}.1.1.HITS" + +( + Sim_tf.py --inputEVNTFile $EVNTFile --DataRunNumber $RunNumber --geometryVersion ATLAS-R2-2015-03-01-00_VALIDATION --conditionsTag OFLCOND-RUN12-SDR-20 --outputHITSFile $HITSFile --physicsList "FTFP_BERT" --postInclude "PyJobTransforms/UseFrontier.py" --preInclude "EVNTtoHITS:SimulationJobOptions/preInclude.BeamPipeKill.py" --maxEvents -1 --randomSeed "8" --simulator "MC12G4" --truthStrategy "MC12" + +)