How to Rtrk Double Ratios


One way to asses systematic uncertainties of jet substructure variables is the Rtrk methodology. The following is a brief instruction for the steps necessary to produce double ratios that serve as input for the final estimate of these uncertainties.

Running over DxAODs

First Setup

Download the DeriveJMSR tool from git:

git clone ssh://

Setup the newest release:

cd rtrk
showVersions|grep AthAnalysisBase
lsetup 'rcsetup Base,2.4.19'

Compile everything:

rc find_packages
rc compile

Check that the GRL, the PRW config files and the lumicalc files are available in the data directory

Now you can run the code:

doJMSUncertainties OutputFolderName ConfigFiles/basicSettings.config inputFile.list [mode] [gridOutputName]

OutputFolderName: all histograms and root files with trees will be saved here
data/basicSettings.config : configFile containing e.g. the jet collections you want to run over and other variables you might want to set
inputFile.list: list with input files to run over e.g. /pnfs/
[mode]: default is local, optional grid
[gridOutputName]: e.g. user.jdoe.my_run_p0001.root (see naming convention)

Available Variables

Currently the code handles these variables:

Moment xAOD Jet attribute names
N-subjettiness Tau1, Tau2, Tau3, Tau21, Tau32, Tau1_wta, Tau2_wta, Tau3_wta, Tau21_wta, Tau32_wta
kT splitting scale Split12, Split23, Split34
zCut ZCut12, ZCut23, ZCut34
Dipolarity Dip12, Dip13, Dip23, DipExcl12
Angularity Angularity
kT Delta R KtDR
kT Mass drop Mu12
Planar flow PlanarFlow
Energy correlations ECF1, ECF2, ECF3, C2, D2
Thrust ThrustMin, ThrustMaj
FoxWolfram FoxWolfram0, FoxWolfram1, FoxWolfram2, FoxWolfram3, FoxWolfram4
Sphericity Sphericity, Aplanarity
Shower deconstruction ShowerDeconstructionW, ShowerDeconstructionTop




Control Plots


Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2016-10-06 - AlexanderMelzer
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback