AUTh 4l analysis code

Responsible: Vasiliki Kouskoura , Ioannis Nomidis


This twiki page is meant to be used as documentation for using the private code used by the Thessaloniki ATLAS group for H/ZZ/ZZ* -> 4l analysis.

SVN link

Setup SFrame code

UPDATE: This recipe now works on SLC6, just replace scripts/ as described below and use this to configure gcc and ROOT.

In your test area:

mkdir sframe
cd sframe
svn co svn+ssh:// ElectroweakBosons
cd ElectroweakBosons
svn co svn+ssh:// AnalysisFourLeptons
cp AnalysisFourLeptons/patches/*.cxx AnalysisBase/src/
cp AnalysisFourLeptons/patches/*.h AnalysisBase/include/
cp AnalysisFourLeptons/patches/DefaultPackages.xml AnalysisBase/config/
cp AnalysisFourLeptons/patches/ scripts/
cp AnalysisFourLeptons/patches/ scripts/
mv AnalysisBase/src/Skimmer.cxx D3PDSkimmer/src/Skimmer.cxx

You may remove some unnecessary packages:

rm -rf AnalysisW* AnalysisZmumu AnalysisGto4b AnalysisZZ AnalysisExample
You also need to edit ElectroweakBosons/Makefile and remove AnalysisExample from the list of packages to compile.

Setup gcc, ROOT and other stuff (every time you want to setup your test area):

source ./scripts/

Download RootCore and all correction packages defined in scripts/ (only once):

source SFrame/

To compile everything, open a fresh shell and under ElectroweakBosons do:

source ./scripts/
cd AnalysisFourLeptons

Some external ROOT files are also needed. Get this folder which will include the most up-to-date files and store under ElectroweakBosons:

cp -r ~inomidis/public/sframe/H4l/ExtRootFiles .

Run a test on MC (execute from AnalysisFourLeptons):

sframe_main config/AnalysisFourLeptons_config.xml


There is excessive output from various correction packages. This is not a problem, it comes from MET utility which uses all muons and electrons stored in the D3PD which are of poor quality and the correction packages complain, but it is perfectly fine. You should comment out the printout messages in the corresponding packages.

Run on the grid

Under ElectroweakBosons, do:

cp AnalysisFourLeptons/patches/grid_* grid/
cp AnalysisFourLeptons/patches/ grid/
The file grid_AnalysisFourLeptons.xml should be the addition of CycleConfig.xml and AnalysisFourLeptons_config.xml, so update accordingly. Then configure the submission script (, setup panda and submit job:
source grid/
The list with the datasets you want to use should be placed in ElectroweakBosons/data/. Don't forget to set MuonStream and UseScaleFactor properties to true/false when running on data/mc.

-- IoannisNomidis - 03 Jul 2014

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2014-07-24 - unknown
    • 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