Title: Btag Certification Macros
1Btag Certification Macros
2Certification is a lot of work
- Many
- Plots, Scripts, Cross checks
- Calculation of Eff and fake
- Calculation of systematic errors
- Calculation of TRFs
- Major pieces are common across taggers
- Write a common set of scripts
32 Packages
btags_cert
btags_cert_macros
- Abstract Interface To All taggers (BTag)
- Implementation of all Certified Taggers
- At certified operating points
- Also designed to be used by analyzer
- Will return info for combination taggers
- Scripts and programs to generate plots and
perform calculations. - Generate TRFs, eff plots, etc.
Based on d0root
(TMB, TMBTree, top_tree)
4btags_cert Status
- JLIP, CSIP, SVT Tagging Algorithms
- LOOSE, MEDIUM, and TIGHT operating points
implemented. - JLIPs track parameter error present until last
release - TRFs for above
- SVT completely implemented
- Flavor dependent
- Automatic determination of jet flavor
- Muon correctly handled
- Define your own TRF
- JLIP, CSIP
- Infrastructure there, but not completely
implemented yet. - About 2 hours of work left.
- Documentation
- Uhm, no, not really.
Has been used in several analyses
5btags_cert_macros Status
Under Active Development
Start with some definitions
- All groups should be using the same definitions!
- Can cause biases if not defined properly when TRF
is generated and used!
A Jet has a Muon in it if
1
DR (m, jet axis) lt 0.5
m is pTgt1.0, medium
Jet Energy is JES corrected, but with out the
muon correction!
2
This must also be used when the TRF lookup is
done.
6Definitions Cont
Jet Flavor Based on meson, not quark
3
b-jet DR(b-meson, jet axis) lt 0.5
c-jet DR(c-meson, jet axis) lt 0.5 not b-jet
light-jet not b-jet not c-jet
Single python script manages all steps
Output is HTML
7Runs MC Samples
Tag Efficiency
B-quark, All Jets, positive tags (JLIP TIGHT)
ETA
- Plots
- Raw MC Sample Pass Rates
8MC Comparisons
B-quark, All Jets, positive tags (JLIP TIGHT)
9Building MC TRFs
Draw from Zbb, Zbbmu, Zcc, etc. samples
MC TRF is a Matrix of 2x3 2d-funtions
Matrix is by jet flavor (light, charm,
bottom) and by muon content (with muon, without)
2D function is pT and h.
Makes eff vs fake for any TRF
Start of code to break down systematic error
10Calculating The Fake Rate
Uses EMQCD negative tag rate.
7
eN
1
el
SPN
RlRbSbl
el
1
Light Quark Tagging Efficency
eN
Measured Negative Tag Rate
pT
SPN
Ratio of light neg tags over positive
Rl
Fraction of light quark jets (1-Rb)
Rb
Fraction of b quark jets (3 w/20 error)
Sbl
Ratio of neg b tags over light
QCD MC is used for calculating the ratios
currently
11Systematic Error Breakdown
Largest Error By Far
Neg b tag error
Using QCD to find neg tag rate for bs so
statistics are awful right now.