AUTh 4l analysis code

Responsible: Vasiliki Kouskoura , Ioannis Nomidis

Introduction

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

https://svnweb.cern.ch/trac/atlasinst/browser/Institutes/AUTh/AnalysisInclusiveFourLeptons/AnalysisFourLeptons

Setup SFrame code

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

In your test area:

mkdir sframe
cd sframe
svn co svn+ssh://svn.cern.ch/reps/atlasinst/Institutes/CERN/ElectroweakBosons/trunk@349591 ElectroweakBosons
cd ElectroweakBosons
svn co svn+ssh://svn.cern.ch/reps/atlasinst/Institutes/AUTh/AnalysisInclusiveFourLeptons/AnalysisFourLeptons/trunk AnalysisFourLeptons
cp AnalysisFourLeptons/patches/*.cxx AnalysisBase/src/
cp AnalysisFourLeptons/patches/*.h AnalysisBase/include/
cp AnalysisFourLeptons/patches/DefaultPackages.xml AnalysisBase/config/
cp AnalysisFourLeptons/patches/get_packages_2012.sh scripts/
cp AnalysisFourLeptons/patches/setup_lxplus.sh 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/setup_lxplus.sh

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

./scripts/get_allcode_2012.sh
source SFrame/setup.sh

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

source ./scripts/setup_lxplus.sh
make
cd AnalysisFourLeptons
make

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

Warnings

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/prun.sh 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 (prun.sh), setup panda and submit job:
source grid/setup_prun.sh
./grid/prun.sh
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