forked from NPM/numass-framework
add step to detectionEfficiency
This commit is contained in:
parent
d41ff5fefc
commit
91c732a09e
@ -148,8 +148,10 @@ fun main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val state = FitState(data, fitModel, params)
|
val state = FitState(data, fitModel, params)
|
||||||
val res = fm.runStage(state, "QOW", FitStage.TASK_RUN, "N", "E0", "bkg", "trap")
|
val res = fm.runStage(state, "QOW", FitStage.TASK_RUN, "N", "E0", "bkg")
|
||||||
res.printState(PrintWriter(System.out))
|
res.printState(PrintWriter(System.out))
|
||||||
val resU2 = fm.runStage(res.optState().get(), "QOW", FitStage.TASK_RUN, "N", "E0", "bkg", "trap", "U2")
|
val resWithTrap = fm.runStage(state, "QOW", FitStage.TASK_RUN, "N", "E0", "bkg", "trap")
|
||||||
resU2.printState(PrintWriter(System.out))
|
resWithTrap.printState(PrintWriter(System.out))
|
||||||
|
val resWithU2 = fm.runStage(resWithTrap.optState().get(), "QOW", FitStage.TASK_RUN, "N", "E0", "bkg", "trap", "U2")
|
||||||
|
resWithU2.printState(PrintWriter(System.out))
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user