User Tools

Site Tools


root:controloutputroofit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
root:controloutputroofit [2012/01/09 15:31] decianmroot: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::Eval RooFit::Eval
 </code> </code>
 +
 +===== 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:
 +<code>
 +RooFitResult* rForward = forward.fitTo( *forwardBS, RooFit::PrintLevel(-1) );
 +</code>
 +which will make your fit silent.
 +
  
root/controloutputroofit.txt · Last modified: 2012/02/22 11:42 by decianm