Variables
demo1 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)
 
 kTrackLen = cafana.CVar()
 
 kNHit = cafana.SimpleVar('slc.nhit')
 
 length = cafana.Spectrum('Track length (cm)', bins, loader, kTrackLen, cafana.kIsNumuCC)
 
 nhit = cafana.Spectrum("Number of hits in slice", bins, loader, kNHit, cafana.kIsNumuCC)
 
int pot = 18
 
 canv = ROOT.TCanvas()
 

Variable Documentation

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

Definition at line 11 of file demo1.py.

demo1.canv = ROOT.TCanvas()

Definition at line 35 of file demo1.py.

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

demo1.kNHit = cafana.SimpleVar('slc.nhit')

Definition at line 19 of file demo1.py.

Referenced by getData(), and getPredictions().

demo1.kTrackLen = cafana.CVar()

Definition at line 13 of file demo1.py.

demo1.length = cafana.Spectrum('Track length (cm)', bins, loader, kTrackLen, cafana.kIsNumuCC)

Definition at line 22 of file demo1.py.

demo1.loader = cafana.SpectrumLoader(fname)

Definition at line 9 of file demo1.py.

demo1.nhit = cafana.Spectrum("Number of hits in slice", bins, loader, kNHit, cafana.kIsNumuCC)
int demo1.pot = 18

Definition at line 31 of file demo1.py.