Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Code

New instructions (AnalysisTop-based release, for 23 Feb 2016 and later)

Checking out and installing rentupler code

  1. Make a work directory (e.g. 3l_analysis) and cd to it.
  2. Set up an AnalysisTop release (rcSetup Top,2.3.41)
  3. Get a Kerberos ticket (kinit username@CERN.CH) - this avoids having to keep typing in your password again and again
  4. Check out the main package:
    svn co svn+ssh://svn.cern.ch/reps/atlasinst/Institutes/UTAustin/MultiLepAnalysisNtupler/trunk MultiLepAnalysisNtupler
  5. Run the setup script MultiLepAnalysisNtupler/scripts/checkout.sh from the top level directory; this checks out and builds a few extra packages. In particular this will install a "virtualenv" to allow us to install local versions of relevant Python packages, including pyyaml.

Running the rentupler locally

  1. At the start of any session (including the first - ignore the warning you get), run source sourceenv
  2. Change directory to MultiLepAnalysisNtupler/scripts
  3. The rentupler is run from higgs_analysis.py.  A typical run (that should work on the tau* machines) would be:
    ./higgs_analysis.py --dtype=/data/harish/mc25nsv4/36142.root --files --output=output_361442.root --mc --dotaus=1 --minlep=2
    This reads the file /data/harish/mc25nsv4/361442.root and outputs the file output_361442.root.  There are other options to the rentupler, run it with the --help option to see them.  You're encouraged to add options as you add features.

Old instructions (Athena-based release, for before 23 Feb 2016)

Checking out and installing rentupler code

  1. Set up a version of Athena (lsetup "asetup 19.0.1,64,slc6")
  2. Make a work directory (e.g. 3l_analysis) and cd to it
  3. Get a Kerberos ticket (kinit username@CERN.CH) - this avoids having to keep typing in your password again and again
  4. Check out the main package:
    svn co svn+ssh://svn.cern.ch/reps/atlasinst/Institutes/UTAustin/MultiLepAnalysisNtupler/trunk MultiLepAnalysisNtupler
  5. Run the setup script MultiLepAnalysisNtupler/scripts/checkout.sh from the top level directory; this checks out and builds a few extra packages

Running the rentupler locally

  1. At the start of any session, run source RootCore/scripts/setup.sh
  2. Change directory to MultiLepAnalysisNtupler/scripts
  3. The rentupler is run from higgs_analysis.py.  A typical run (that should work on the tau* machines) would be:
    ./higgs_analysis.py --dtype=/data/harish/newmc/361078.root --files --output=output_361078.root --mc --dotaus --minlep=2
    This reads the file /data/harish/newmc/361078.root and outputs the file output_361078.root.  There are other options to the rentupler, run it with the --help option to see them.  You're encouraged to add options as you add features.

...