Skip to content

Scale Factor Database

Andrea Marini edited this page Jun 2, 2016 · 4 revisions

Scale Factor Database

The Scale factor database, contains a list of scale-factors associated to a label. This are constructed in the looper and can be used in the analysis.

Scale Factors Database are parsed by:

python/ParseDat.py ReadSFDB

WARNING: Scale factors are not applied on data, unless a specific guard is removed by asking e->weight(false).

Different type of scale factors are supported:

  • 'include' read file
  • Base scale factors
# LABEL type pt eta sf err
mysf1 base 1.2 0.2
  • Pt-Eta dependent scale factors
# LABEL type pt eta sf err
mysf2 pteta 0 50 -2 2 1.2 0.1
mysf2 pteta 50 100 -2 2 1.21 0.05
  • CVS: as given by for the B SF
## BTag from POG
btag csv aux/CSVv2.csv
  • TH2 based (egamma)
## electron veto from egamma POG
eleveto th2f aux/CutBasedID_VetoWP_76X_18Feb.txt_SF2D.root veto
  • spline: interpolate the sf (pt dependent) with a spline
## label spline pt sf err
mysf3 spline 110.874 0.214892 0.029146

Clone this wiki locally