User Tools

Site Tools


root:controloutputroofit

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
root:controloutputroofit [2012/01/09 15:30] – created decianmroot:controloutputroofit [2012/02/22 11:42] decianm
Line 5: Line 5:
 RooMsgService::instance().Print() ; RooMsgService::instance().Print() ;
 </code> </code>
-This will tell you which streams exist and what they comprise.+This will tell you which streams exist and what they comprise. Note that error messages can appear in several strings at once.
 You can then access the stream and remove a certain topic: You can then access the stream and remove a certain topic:
 <code C> <code C>
Line 30: Line 30:
 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