This page is used to document the setup and running of the code that will be used for the 13 TeV top mass analysis.

Get setup to run at rzg cluster Munich

Check if you have an rzg account

  • If you don't have an account, talk to Stefan Kluth
  • once you have an account you can login from an mpp machine like this:
ssh -Y

If you want to log in from your notebook, just do:

ssh -Y

and then when you are logged in do:

ssh -Y

Setup AnalysisTop Rel 20.7

  • once AnalysisTop is installed, please checkout the code from here:
rc checkout_pkg atlas-aknue/MunichCode/PlotFactory_13TeV/trunk

and then do the following:

rc find_packages
rc compile

Once that works, please do the following:

cd PlotFactory_13TeV/scripts

and open the python script:

In this script please change the "MainFolder" path to a path in your own directory!!!

Now as a first test, just run the script with these modification as follows:


Run jobs on the batch cluster

If you want to run the jobs on the cluster instead of the local machine, you have to first do the following (only neccessary if you are new to rzg):

Just type into the shell:


and enter your password when you are asked for it. Then you can submit your jobs to the batch by setting the Flag "DoRunOnBatch" in the file to True.

Make Quark/Gluon Input file for JES

Description from JIRA ticket here:

Full description of options in twiki here:

Setup AnalysisTop Rel. 21

First setup

What I am doing currently (06.01.2018) to setup a new version of AT:

mkdir AnalysisTop_21.2.16
cd AnalysisTop_21.2.16
lsetup git         
kinit $CERNUSERNAME@CERN.CH                 # example: kinit aknue@CERN.CH (yes, upper case)                                                                  
mkdir build run
git clone
cd build
asetup AnalysisTop,21.2.16,here
cmake ../TopMass_13TeV_FrMu
cmake --build ./
source */

Now to test the code do:

cd ../run
cp ../TopMass_13TeV_FrMu/TopMass_13TeV_Online/share/TopMassOnline_13TeV.txt .
cp $AnalysisTop_DIR/data/TopAnalysis/* ./
top-xaod TopMassOnline_13TeV.txt input-mc-rel21.txt

If you already installed AnalysisTop, each time you want to setup the code you have to do the following:

cd AnalysisTop_21.2.16/build
asetup AnalysisTop,21.2.16,here
source */

Our own custom MassEventSaver based on the default EventSaverFlatNtuple code from AnalysisTop can be found here:

To get the scripts for grid submission, just go to the main folder (where athena, build and run are located) and run:


which will copy the submission scripts into a new folder called "grid".

Open points/missing things

  • do not have the single top samples at different mass points yet. Will wait for switch to Pow+Py8.
  • need also to figure out what to do about CR uncertainties: do not have dedicated tune as before
  • need 13 TeV transfer functions
  • template parametrisierung: radial basis function? Tchebycheff polynom? thinplate function?

-- AndreaKnue - 2016-09-20

Edit | Attach | Watch | Print version | History: r24 < r23 < r22 < r21 < r20 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r24 - 2018-02-05 - AndreaKnue
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback