Variables
demo4 Namespace Reference

Variables

string fname = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_nonswap_fhc_nova_v08_full_nue_or_numu_or_nus_contain_v1'
 
string fnameSwap = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_fluxswap_fhc_nova_v08_period1_nue_or_numu_or_nus_contain_v1'
 
 loader = cafana.SpectrumLoader(fname)
 
 loaderSwap = cafana.SpectrumLoader(fnameSwap)
 
 bins = cafana.Binning.Simple(100, 0, 1000)
 
 pred = cafana.PredictionNoExtrap(loader, loaderSwap, 'Number of hits in slice', bins, cafana.kNHit, cafana.kNoCut)
 
int pot = 18
 
 calc = cafana.DefaultOscCalc()
 
 spred = pred.Predict(calc)
 
 mock = spred.MockData(pot)
 

Variable Documentation

demo4.bins = cafana.Binning.Simple(100, 0, 1000)

Definition at line 11 of file demo4.py.

demo4.calc = cafana.DefaultOscCalc()

Definition at line 23 of file demo4.py.

string demo4.fname = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_nonswap_fhc_nova_v08_full_nue_or_numu_or_nus_contain_v1'

Definition at line 5 of file demo4.py.

string demo4.fnameSwap = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_fluxswap_fhc_nova_v08_period1_nue_or_numu_or_nus_contain_v1'
demo4.loader = cafana.SpectrumLoader(fname)

Definition at line 8 of file demo4.py.

demo4.loaderSwap = cafana.SpectrumLoader(fnameSwap)
demo4.mock = spred.MockData(pot)
int demo4.pot = 18

Definition at line 20 of file demo4.py.

demo4.pred = cafana.PredictionNoExtrap(loader, loaderSwap, 'Number of hits in slice', bins, cafana.kNHit, cafana.kNoCut)

Definition at line 14 of file demo4.py.

demo4.spred = pred.Predict(calc)

Definition at line 26 of file demo4.py.

Referenced by demo4(), and demo5().