DAS  3.0
Das Analysis System
btvExample.py File Reference

Namespaces

 btvExample
 

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