SND@LHC Software
Loading...
Searching...
No Matches
reweighting_function.py File Reference

Go to the source code of this file.

Classes

class  reweighting_function.FluxReweighter
 

Namespaces

namespace  reweighting_function
 

Functions

 reweighting_function.tqdm (x, **kwargs)
 
 reweighting_function.load_analysis_config (path)
 
 reweighting_function.resolve_normalization (norm, number_files, target_luminosity=68.6, luminosity_per_file=100.0)
 
 reweighting_function.build_fastsim_curves (fastsim_configs, reference, degree)
 
 reweighting_function.dpm_file_list (data_dir, n_files, pattern, indexed=True)
 
 reweighting_function.build_chain (files, tree_name="cbmsim")
 
 reweighting_function._incoming_neutrino_energy (tree, pids)
 
 reweighting_function.get_energies_pyroot (files, flavour="mu", tree_name="cbmsim", n_events=None)
 
 reweighting_function._find_mctrack_branches (tree)
 
 reweighting_function.get_energies_uproot (files, flavour="mu", tree_name="cbmsim", n_events=None)
 
 reweighting_function.read_dpm_energies (ri, reader="auto")
 
 reweighting_function.make_comparison_plot (dpm, curves, normalized_factor, outfile, bins=100, hist_range=(0, 2000), title=None)
 
 reweighting_function.fastsim_entries_from_args (paths)
 
 reweighting_function.main ()
 

Variables

 reweighting_function.ROOT = None
 
 reweighting_function.uproot = None
 
 reweighting_function.ak = None
 
dict reweighting_function.NU_PID = {"e": 12, "mu": 14, "tau": 16}
 
list reweighting_function.DEFAULT_COLORS = ["tab:blue", "tab:red", "tab:green", "tab:orange", "tab:purple"]
 
list reweighting_function.DEFAULT_STYLES = ["--", "-.", ":"]