This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
root:controloutputroofit [2012/01/09 15:31] – decianm | root:controloutputroofit [2012/02/22 11:42] (current) – decianm | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Controlling the Output of RooFit ====== | ====== Controlling the Output of RooFit ====== | ||
+ | ===== In General ===== | ||
+ | |||
The most systematic approach to controlling the output of RooFit is accessing the streams of the message service directly. | The most systematic approach to controlling the output of RooFit is accessing the streams of the message service directly. | ||
The first thing is to check the instance of the RooMsgService: | The first thing is to check the instance of the RooMsgService: | ||
Line 30: | Line 32: | ||
RooFit:: | RooFit:: | ||
</ | </ | ||
+ | |||
+ | ===== Switching the MIGRAD output off ===== | ||
+ | The above commands don't switch the MIGRAD output off, that goes to stdout after every fit. In order to do this, do: | ||
+ | < | ||
+ | RooFitResult* rForward = forward.fitTo( *forwardBS, RooFit:: | ||
+ | </ | ||
+ | which will make your fit silent. | ||
+ | |||