Skip to content

Commit

Permalink
Fixed the second subprocess's asetup command
Browse files Browse the repository at this point in the history
  • Loading branch information
zhilothebest committed Feb 1, 2017
1 parent 484d159 commit 8cdfe5a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions generator_setup.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
#!/bin/bash

chmod a+x generator_setup.sh

#################################################################
echo """ PLEASE EDIT THESE VARIABLES FOR YOUR NEEDS."""
#################################################################
Num_Events=10
EVNTFile="10_events_v2.EVNT"
DAODFile="10_events_v2.pool.root"
Num_Events=5000
EVNTFile="5000_events_v2.EVNT"
DAODFile="5000_events_v2.pool.root"
Run_Num=304795


##########################
#---Modular ROOT Setup---#
##########################


echo "Starting the Generation Step"

(
#asetup here,19.2.4.14

source $AtlasSetup/scripts/asetup.sh here,19.2.4.14

#Below, edit the output file, and max events for what you need
Expand All @@ -29,14 +25,14 @@ Generate_tf.py --jobConfig hss-runner.py --maxEvents $Num_Events --runNumber $Ru
echo "Starting the RECO step"

(
source $ATLAS_LOCAL_ROOT_BASE/user/atlasLocalSetup.sh
asetup 20.1.8.3,AtlasDerivation,gcc48,here
source $AtlasSetup/scripts/asetup.sh 20.1.8.3,AtlasDerivation,gcc48,here


#Change the input event file and output daod file
Reco_tf.py --inputEVNTFile $EVNTFile --outputDAODFile $DAODFile --reductionConf TRUTH0
)

#python /phys/users/arbo94/Desktop/alert.py /phys/users/arbo94/Desktop/done.py




0 comments on commit 8cdfe5a

Please sign in to comment.