[no commit message]
This commit is contained in:
parent
e6de0037ae
commit
8520015b9c
@ -26,7 +26,7 @@ import org.apache.commons.math3.analysis.UnivariateFunction
|
||||
import org.apache.commons.math3.analysis.solvers.BisectionSolver
|
||||
import inr.numass.models.LossCalculator
|
||||
import inr.numass.models.ResolutionFunction
|
||||
import inr.numass.NumassContext
|
||||
import inr.numass.Numass
|
||||
|
||||
|
||||
|
||||
|
@ -15,14 +15,15 @@
|
||||
*/
|
||||
package inr.numass.scripts
|
||||
|
||||
import hep.dataforge.context.Context
|
||||
import hep.dataforge.data.DataNode
|
||||
import hep.dataforge.fitting.FitTaskResult
|
||||
import inr.numass.Main
|
||||
import inr.numass.NumassContext
|
||||
import inr.numass.Numass
|
||||
|
||||
|
||||
//Main.main("-lc")
|
||||
NumassContext context = new NumassContext();
|
||||
Context context = Numass.buildContext();
|
||||
context.putValue("integralThreshold", 15d);
|
||||
DataNode resultPack = Main.run(context, "-c","D:\\sterile-new\\loss2014-11\\d2_19_1.xml")
|
||||
FitTaskResult result = resultPack.getData().get()
|
||||
|
@ -21,7 +21,7 @@ import hep.dataforge.plots.jfreechart.JFreeChartFrame
|
||||
import inr.numass.models.ExperimentalVariableLossSpectrum
|
||||
import org.apache.commons.math3.analysis.UnivariateFunction
|
||||
|
||||
import inr.numass.NumassContext
|
||||
import inr.numass.Numass
|
||||
import hep.dataforge.fitting.ParamSet
|
||||
import hep.dataforge.io.PrintFunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user