parameters: (jobDir)
return_statement: return script
docstring: prepare a IC version of the batch script
docstring_summary: prepare a IC version of the batch script
docstring_tokens: prepare a IC version of the batch script
function: def batchScriptIC(jobDir):
      '''prepare a IC version of the batch script'''
  
  
      cmssw_release = os.environ['CMSSW_BASE']
      script = """#!/bin/bash
  export X509_USER_PROXY=/home/hep/$USER/myproxy
  source /vols/cms/grid/setup.sh
  cd {jobdir}
  cd {cmssw}/src
  eval `scramv1 ru -sh`
  cd -
  echo 'running'
  python {cmssw}/src/PhysicsTools/HeppyCore/python/framework/looper.py pycfg.py config.pck --options=options.json
  echo
  echo 'sending the job directory back'
  mv Loop/* ./ && rm -r Loop
  """.format(jobdir = jobDir,cmssw = cmssw_release)
      return script
function_tokens: def batchScriptIC ( jobDir ) : cmssw_release = os . environ [ 'CMSSW_BASE' ] script = """#!/bin/bash
  export X509_USER_PROXY=/home/hep/$USER/myproxy
  source /vols/cms/grid/setup.sh
  cd {jobdir}
  cd {cmssw}/src
  eval `scramv1 ru -sh`
  cd -
  echo 'running'
  python {cmssw}/src/PhysicsTools/HeppyCore/python/framework/looper.py pycfg.py config.pck --options=options.json
  echo
  echo 'sending the job directory back'
  mv Loop/* ./ && rm -r Loop
  """ . format ( jobdir = jobDir , cmssw = cmssw_release ) return script