Go to the source code of this file.
Namespaces | |
demo | |
Variables | |
string | demo.fname = '/pnfs/icarus/persistent/users/dmendez/SBNAnaFiles/test/icarus/gen-prodcorsika_genie_nooverburden__nuetest.caf.root' |
tuple | demo.loader = cafana.SpectrumLoader(fname) |
tuple | demo.kTruthEnergy = cafana.CSliceVar('if(sr.truth.index > 0) return sr.truth.E; else return -1.;') |
tuple | demo.binsEnergy = cafana.Binning.Simple(50, 0, 5) |
tuple | demo.axEnergy = cafana.HistAxis('True energy (GeV)', binsEnergy, kTruthEnergy) |
tuple | demo.sEnergy = cafana.Spectrum(loader, axEnergy, cafana.kNoCut) |