%RESPONSIBLE%
KunLiu

ATLAS B-tagging calibration using tag and probe method

This Wiki provides information about FTAG calibration studies using ttbar Tag&Probe method.

Information

Packages have been developed by Changqiao and Cheng, working with CxAODs produced from FTAG framework.

Instructions

There are two steps work: produce histograms in Ntuples, as input for efficiency and SFs measurement.

Setup for step-1 Ntuple processer:

mkdir NtupleProcesser
cd NtupleProcesser/
git clone ssh://git@gitlab.cern.ch:7999/changqia/NtupleProcesser.git
setupATLAS
source NtupleProcesser/bootstrap/setup.sh
rc build
To run the code (configuration file is in NtupleProcesser/data/run.cfg)
NP 1 0 0
Run batch jobs on CC-IN2P3 for data+MC:
source NtupleProcesser/scripts/submit.py

Marge all output histograms to one root file (after ~ 4 hours running on batch)

cd /to/the/path/store/all/of/the/output/../
python ../../NtupleProcesser/scripts/parallel_hadd_lyon.py
hadd input.root *.root

Setup for step-2 measuring BTagging efficiency and SFs:

git clone ssh://git@gitlab.cern.ch:7999/changqia/BtaggingInputsProcessor.git
cd BtaggingInputsProcessor/
git clone ssh://git@gitlab.cern.ch:7999/changqia/Sharp.git AnalysisToolKit
source setup.sh
link the prepared one input file to given directory, like:
ln -s /sps/atlas/c/cli/BTagCalibration/FTAG_NtupleProcesser_14Nov.2017/Output/CalJetNov.16.2017.50WP/input.root ./input/CalJetNov.16.2017.50WP.root
run the code in one line
python run.py

Useful links


Major updates:
-- KunLiu - 2017-11-21

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2017-12-18 - KunLiu
 
    • 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