Variables
demo3 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'
 
 loader = cafana.SpectrumLoader(fname)
 
 bins = cafana.Binning.Simple(100, 0, 1000)
 
 nhit = cafana.Spectrum('Number of hits in slice', bins, loader, cafana.kNHit, cafana.kIsNumuCC)
 
 sosc = cafana.OscillatableSpectrum('Number of hits in slice', bins, loader, cafana.kNHit, cafana.kIsNumuCC)
 
int pot = 18
 
 calc = cafana.osc.OscCalculatorPMNSOpt()
 
 soscd = sosc.Oscillated(calc, 14, 14)
 
 h = soscd.ToTH1(pot)
 
 canv = ROOT.TCanvas()
 

Variable Documentation

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

Definition at line 14 of file demo3.py.

demo3.calc = cafana.osc.OscCalculatorPMNSOpt()

Definition at line 28 of file demo3.py.

demo3.canv = ROOT.TCanvas()

Definition at line 43 of file demo3.py.

string demo3.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 10 of file demo3.py.

demo3.h = soscd.ToTH1(pot)

Definition at line 41 of file demo3.py.

demo3.loader = cafana.SpectrumLoader(fname)

Definition at line 12 of file demo3.py.

demo3.nhit = cafana.Spectrum('Number of hits in slice', bins, loader, cafana.kNHit, cafana.kIsNumuCC)

Definition at line 17 of file demo3.py.

int demo3.pot = 18

Definition at line 23 of file demo3.py.

demo3.sosc = cafana.OscillatableSpectrum('Number of hits in slice', bins, loader, cafana.kNHit, cafana.kIsNumuCC)

Definition at line 19 of file demo3.py.

demo3.soscd = sosc.Oscillated(calc, 14, 14)

Definition at line 40 of file demo3.py.

Referenced by demo3().