DAS  3.0
Das Analysis System
btvExample Namespace Reference

Variables

 sfDir = os.path.join(".", "..", "POG", "BTV", "2018_UL")
 
 btvjson = correctionlib.CorrectionSet.from_file(os.path.join(sfDir, "btagging.json.gz"))
 
 jet_pt = np.random.exponential(50., 20)
 
 jet_eta = np.random.uniform(0.0, 2.4, 20)
 
 jet_flav = np.random.choice([0, 4, 5], 20)
 
 jet_discr = np.random.uniform(0.0, 1.0, 20)
 
 light_jets = np.where(jet_flav == 0)
 
 bc_jets = np.where(jet_flav != 0)
 
 bc_jet_sf
 
 light_jet_sf
 
 jet_sf
 
 c_jets = np.where(jet_flav == 4)
 
 blight_jets = np.where(jet_flav != 4)
 
 b_jet_sf
 
 c_jet_sf
 

Variable Documentation

◆ b_jet_sf

b_jet_sf
Initial value:
1 = btvjson["deepJet_shape"].evaluate("up_hfstats2",
2  jet_flav[blight_jets], jet_eta[blight_jets], jet_pt[blight_jets], jet_discr[blight_jets])

◆ bc_jet_sf

bc_jet_sf
Initial value:
1 = btvjson["deepJet_mujets"].evaluate("central", "M",
2  jet_flav[bc_jets], jet_eta[bc_jets], jet_pt[bc_jets])

◆ bc_jets

bc_jets = np.where(jet_flav != 0)

◆ blight_jets

blight_jets = np.where(jet_flav != 4)

◆ btvjson

btvjson = correctionlib.CorrectionSet.from_file(os.path.join(sfDir, "btagging.json.gz"))

◆ c_jet_sf

c_jet_sf
Initial value:
1 = btvjson["deepJet_shape"].evaluate("up_cferr1",
2  jet_flav[c_jets], jet_eta[c_jets], jet_pt[c_jets], jet_discr[c_jets])

◆ c_jets

c_jets = np.where(jet_flav == 4)

◆ jet_discr

jet_discr = np.random.uniform(0.0, 1.0, 20)

◆ jet_eta

jet_eta = np.random.uniform(0.0, 2.4, 20)

◆ jet_flav

jet_flav = np.random.choice([0, 4, 5], 20)

◆ jet_pt

jet_pt = np.random.exponential(50., 20)

◆ jet_sf

jet_sf
Initial value:
1 = btvjson["deepJet_shape"].evaluate("central",
2  jet_flav, jet_eta, jet_pt, jet_discr)

◆ light_jet_sf

light_jet_sf
Initial value:
1 = btvjson["deepJet_incl"].evaluate("central", "M",
2  jet_flav[light_jets], jet_eta[light_jets], jet_pt[light_jets])

◆ light_jets

light_jets = np.where(jet_flav == 0)

◆ sfDir

sfDir = os.path.join(".", "..", "POG", "BTV", "2018_UL")