#include <RooMsgService.h>
Inheritance diagram for RooMsgService:
Definition at line 105 of file RooMsgService.h.
RooMsgService::~RooMsgService | ( | ) | [virtual] |
RooMsgService::RooMsgService | ( | ) | [protected] |
Definition at line 88 of file RooMsgService.cxx.
References _debugCode, _debugWorkspace, _devnull, _globMinLevel, _instance, _lastMsgLevel, _levelNames, _showPid, _silentMode, _topicNames, addStream(), RooFit::Caching, RooFit::Contents, RooFit::DataHandling, DEBUG, ERROR, RooFit::Eval, RooFit::FATAL, RooFit::Fitting, RooFit::Generation, gMsgService, RooFit::INFO, RooFit::InputArguments, RooFit::Integration, kFALSE, RooFit::LinkStateMgmt, RooFit::Minimization, RooFit::NumIntegration, RooFit::ObjectHandling, RooFit::Optimization, RooFit::Plotting, RooFit::PROGRESS, RooFit::Topic(), RooFit::Tracing, and WARNING.
Referenced by instance().
RooMsgService::RooMsgService | ( | const RooMsgService & | ) | [protected] |
virtual RooMsgService::~RooMsgService | ( | ) | [virtual] |
RooMsgService::RooMsgService | ( | ) | [protected] |
RooMsgService::RooMsgService | ( | const RooMsgService & | ) | [protected] |
RooMsgService & RooMsgService::instance | ( | ) | [static] |
Definition at line 359 of file RooMsgService.cxx.
References _instance, RooSentinel::activate(), and RooMsgService().
Referenced by RooStats::NumberCountingPdfFactory::AddData(), RooStats::NumberCountingPdfFactory::AddDataWithSideband(), RooStats::NumberCountingPdfFactory::AddModel(), RooStats::SPlot::AddSWeight(), anyDebug(), ClassImp(), RooFitTestUnit::clearSilentMode(), RooStats::MetropolisHastings::ConstructChain(), RooStats::FeldmanCousins::CreateParameterPoints(), DoSPlot(), RooStats::ProfileLikelihoodTestStat::Evaluate(), RooStats::SimpleLikelihoodRatioTestStat::Evaluate(), RooStats::MaxLikelihoodEstimateTestStat::Evaluate(), RooStats::RatioOfProfiledLikelihoodsTestStat::Evaluate(), RooJeffreysPrior::evaluate(), RooStats::NumEventsTestStat::Evaluate(), RooProfileLL::evaluate(), FourBinInstructional(), G__G__RooFitCore3_244_0_1(), G__setup_memfuncRooMsgService(), RooStats::ToyMCSamplerOld::GenerateToyData(), RooStats::ToyMCSamplerOld::GetSamplingDistribution(), RooStats::BernsteinCorrection::ImportCorrectedPdf(), RooStats::LikelihoodInterval::IsInInterval(), RooWorkspace::Print(), rf506_msgservice(), rf901_numintconfig(), RooMinimizer::RooMinimizer(), RooMinuit::RooMinuit(), rs401d_FeldmanCousins(), rs701_BayesianCalculator(), RooMCStudy::run(), RooFitTestUnit::runTest(), RooFitTestUnit::setSilentMode(), RooStats::SimpleLikelihoodRatioTestStat::SimpleLikelihoodRatioTestStat(), and stressRooFit().
Bool_t RooMsgService::anyDebug | ( | ) | [static] |
Definition at line 157 of file RooMsgService.cxx.
References _debugCount, and instance().
Referenced by G__G__RooFitCore3_244_0_2(), and G__setup_memfuncRooMsgService().
Int_t RooMsgService::addStream | ( | RooFit::MsgLevel | level, | |
const RooCmdArg & | arg1 = RooCmdArg() , |
|||
const RooCmdArg & | arg2 = RooCmdArg() , |
|||
const RooCmdArg & | arg3 = RooCmdArg() , |
|||
const RooCmdArg & | arg4 = RooCmdArg() , |
|||
const RooCmdArg & | arg5 = RooCmdArg() , |
|||
const RooCmdArg & | arg6 = RooCmdArg() | |||
) |
Definition at line 177 of file RooMsgService.cxx.
References _debugCount, _files, _streams, DEBUG, RooCmdConfig::defineInt(), RooCmdConfig::defineMutex(), RooCmdConfig::defineObject(), RooCmdConfig::defineString(), Form(), RooCmdConfig::getInt(), TObject::GetName(), RooCmdConfig::getObject(), RooCmdConfig::getString(), kBlack, kTRUE, l, RooCmdConfig::ok(), prefix, RooCmdConfig::process(), and size.
Referenced by rf506_msgservice(), rf901_numintconfig(), RooMsgService(), and stressRooFit().
void RooMsgService::deleteStream | ( | Int_t | id | ) |
StreamConfig& RooMsgService::getStream | ( | Int_t | id | ) | [inline] |
Definition at line 151 of file RooMsgService.h.
References _streams.
Referenced by rf506_msgservice().
Int_t RooMsgService::numStreams | ( | ) | const [inline] |
Definition at line 153 of file RooMsgService.h.
References _streams.
Referenced by RooFitTestUnit::clearSilentMode(), and RooFitTestUnit::setSilentMode().
Definition at line 325 of file RooMsgService.cxx.
References _debugCount, _streams, and DEBUG.
Referenced by RooFitTestUnit::clearSilentMode(), rs401d_FeldmanCousins(), and RooFitTestUnit::setSilentMode().
void RooMsgService::reset | ( | ) | [inline] |
Definition at line 157 of file RooMsgService.h.
References cleanup().
Referenced by rf506_msgservice().
void RooMsgService::setGlobalKillBelow | ( | RooFit::MsgLevel | level | ) | [inline] |
Definition at line 159 of file RooMsgService.h.
References _globMinLevel.
Referenced by RooStats::NumberCountingPdfFactory::AddData(), RooStats::NumberCountingPdfFactory::AddDataWithSideband(), RooStats::NumberCountingPdfFactory::AddModel(), ClassImp(), RooStats::MetropolisHastings::ConstructChain(), RooStats::FeldmanCousins::CreateParameterPoints(), RooStats::ProfileLikelihoodTestStat::Evaluate(), RooStats::SimpleLikelihoodRatioTestStat::Evaluate(), RooStats::MaxLikelihoodEstimateTestStat::Evaluate(), RooStats::RatioOfProfiledLikelihoodsTestStat::Evaluate(), RooJeffreysPrior::evaluate(), RooStats::NumEventsTestStat::Evaluate(), FourBinInstructional(), RooStats::ToyMCSamplerOld::GenerateToyData(), RooStats::ToyMCSamplerOld::GetSamplingDistribution(), RooStats::BernsteinCorrection::ImportCorrectedPdf(), RooStats::LikelihoodInterval::IsInInterval(), RooWorkspace::Print(), rs701_BayesianCalculator(), RooMCStudy::run(), and RooStats::SimpleLikelihoodRatioTestStat::SimpleLikelihoodRatioTestStat().
RooFit::MsgLevel RooMsgService::globalKillBelow | ( | ) | const [inline] |
Definition at line 160 of file RooMsgService.h.
References _globMinLevel.
Referenced by RooStats::SPlot::AddSWeight(), ClassImp(), RooStats::MetropolisHastings::ConstructChain(), RooStats::FeldmanCousins::CreateParameterPoints(), RooStats::ProfileLikelihoodTestStat::Evaluate(), RooStats::SimpleLikelihoodRatioTestStat::Evaluate(), RooStats::MaxLikelihoodEstimateTestStat::Evaluate(), RooStats::RatioOfProfiledLikelihoodsTestStat::Evaluate(), RooJeffreysPrior::evaluate(), FourBinInstructional(), RooStats::ToyMCSamplerOld::GenerateToyData(), RooStats::ToyMCSamplerOld::GetSamplingDistribution(), RooStats::LikelihoodInterval::IsInInterval(), RooWorkspace::Print(), RooMCStudy::run(), and RooStats::SimpleLikelihoodRatioTestStat::SimpleLikelihoodRatioTestStat().
void RooMsgService::Print | ( | Option_t * | options = 0 |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 547 of file RooMsgService.cxx.
References _levelNames, _streams, _topicNames, active, i, kFALSE, and kTRUE.
Referenced by rf506_msgservice().
void RooMsgService::showPid | ( | Bool_t | flag | ) | [inline] |
ostream & RooMsgService::log | ( | const RooAbsArg * | self, | |
RooFit::MsgLevel | level, | |||
RooFit::MsgTopic | facility, | |||
Bool_t | forceSkipPrefix = kFALSE | |||
) |
Definition at line 480 of file RooMsgService.cxx.
References _devnull, _errorCount, _lastMsgLevel, _levelNames, _showPid, _streams, _topicNames, activeStream(), ERROR, flush, TSystem::GetPid(), gSystem, prefix, and RooFit::PROGRESS.
ostream & RooMsgService::log | ( | const TObject * | self, | |
RooFit::MsgLevel | level, | |||
RooFit::MsgTopic | facility, | |||
Bool_t | forceSkipPrefix = kFALSE | |||
) |
Definition at line 517 of file RooMsgService.cxx.
References _devnull, _errorCount, _levelNames, _showPid, _streams, _topicNames, activeStream(), ERROR, flush, TSystem::GetPid(), gSystem, and prefix.
Bool_t RooMsgService::isActive | ( | const RooAbsArg * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) |
Bool_t RooMsgService::isActive | ( | const TObject * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) |
void RooMsgService::cleanup | ( | ) | [static] |
Definition at line 75 of file RooMsgService.cxx.
References _instance.
Referenced by CleanUpRooFitAtExit(), G__G__RooFitCore3_244_0_18(), G__setup_memfuncRooMsgService(), and reset().
Bool_t RooMsgService::silentMode | ( | ) | const [inline] |
Definition at line 178 of file RooMsgService.h.
References _silentMode.
Referenced by RooProfileLL::evaluate().
void RooMsgService::setSilentMode | ( | Bool_t | flag | ) | [inline] |
Definition at line 179 of file RooMsgService.h.
References _silentMode.
Referenced by RooFitTestUnit::clearSilentMode(), DoSPlot(), RooProfileLL::evaluate(), and RooFitTestUnit::setSilentMode().
Int_t RooMsgService::errorCount | ( | ) | const [inline] |
void RooMsgService::clearErrorCount | ( | ) | [inline] |
Definition at line 182 of file RooMsgService.h.
References _errorCount.
Referenced by RooFitTestUnit::runTest().
void RooMsgService::saveState | ( | ) |
void RooMsgService::restoreState | ( | ) |
RooWorkspace * RooMsgService::debugWorkspace | ( | ) |
Int_t& RooMsgService::debugCode | ( | ) | [inline] |
Int_t RooMsgService::activeStream | ( | const RooAbsArg * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) | [protected] |
Definition at line 410 of file RooMsgService.cxx.
References _globMinLevel, _streams, i, and match().
Referenced by isActive(), and log().
Int_t RooMsgService::activeStream | ( | const TObject * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) | [protected] |
Definition at line 425 of file RooMsgService.cxx.
References _globMinLevel, _streams, i, and match().
static RooMsgService& RooMsgService::instance | ( | ) | [static] |
static Bool_t RooMsgService::anyDebug | ( | ) | [static] |
Int_t RooMsgService::addStream | ( | RooFit::MsgLevel | level, | |
const RooCmdArg & | arg1 = RooCmdArg() , |
|||
const RooCmdArg & | arg2 = RooCmdArg() , |
|||
const RooCmdArg & | arg3 = RooCmdArg() , |
|||
const RooCmdArg & | arg4 = RooCmdArg() , |
|||
const RooCmdArg & | arg5 = RooCmdArg() , |
|||
const RooCmdArg & | arg6 = RooCmdArg() | |||
) |
void RooMsgService::deleteStream | ( | Int_t | id | ) |
StreamConfig& RooMsgService::getStream | ( | Int_t | id | ) | [inline] |
Int_t RooMsgService::numStreams | ( | ) | const [inline] |
void RooMsgService::reset | ( | ) | [inline] |
void RooMsgService::setGlobalKillBelow | ( | RooFit::MsgLevel | level | ) | [inline] |
RooFit::MsgLevel RooMsgService::globalKillBelow | ( | ) | const [inline] |
void RooMsgService::showPid | ( | Bool_t | flag | ) | [inline] |
ostream& RooMsgService::log | ( | const RooAbsArg * | self, | |
RooFit::MsgLevel | level, | |||
RooFit::MsgTopic | facility, | |||
Bool_t | forceSkipPrefix = kFALSE | |||
) |
ostream& RooMsgService::log | ( | const TObject * | self, | |
RooFit::MsgLevel | level, | |||
RooFit::MsgTopic | facility, | |||
Bool_t | forceSkipPrefix = kFALSE | |||
) |
Bool_t RooMsgService::isActive | ( | const RooAbsArg * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) |
Bool_t RooMsgService::isActive | ( | const TObject * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) |
static void RooMsgService::cleanup | ( | ) | [static] |
Bool_t RooMsgService::silentMode | ( | ) | const [inline] |
void RooMsgService::setSilentMode | ( | Bool_t | flag | ) | [inline] |
Int_t RooMsgService::errorCount | ( | ) | const [inline] |
void RooMsgService::clearErrorCount | ( | ) | [inline] |
void RooMsgService::saveState | ( | ) |
void RooMsgService::restoreState | ( | ) |
RooWorkspace* RooMsgService::debugWorkspace | ( | ) |
Int_t& RooMsgService::debugCode | ( | ) | [inline] |
Int_t RooMsgService::activeStream | ( | const RooAbsArg * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) | [protected] |
Int_t RooMsgService::activeStream | ( | const TObject * | self, | |
RooFit::MsgTopic | facility, | |||
RooFit::MsgLevel | level | |||
) | [protected] |
Int_t RooMsgService::_debugCount [static] |
Definition at line 171 of file RooMsgService.h.
Referenced by addStream(), anyDebug(), deleteStream(), G__setup_memvarRooMsgService(), and setStreamStatus().
std::map<int,std::string> RooMsgService::_levelNames |
std::map<int,std::string> RooMsgService::_topicNames |
std::vector<StreamConfig> RooMsgService::_streams [protected] |
Definition at line 196 of file RooMsgService.h.
Referenced by activeStream(), addStream(), deleteStream(), getStream(), getStreamStatus(), log(), numStreams(), Print(), restoreState(), saveState(), and setStreamStatus().
std::stack<std::vector<StreamConfig> > RooMsgService::_streamsSaved [protected] |
std::ostream* RooMsgService::_devnull [protected] |
Definition at line 198 of file RooMsgService.h.
Referenced by log(), RooMsgService(), and ~RooMsgService().
std::map<std::string,std::ostream*> RooMsgService::_files [protected] |
RooFit::MsgLevel RooMsgService::_globMinLevel [protected] |
Definition at line 201 of file RooMsgService.h.
Referenced by activeStream(), globalKillBelow(), RooMsgService(), and setGlobalKillBelow().
RooFit::MsgLevel RooMsgService::_lastMsgLevel [protected] |
Bool_t RooMsgService::_silentMode [protected] |
Definition at line 204 of file RooMsgService.h.
Referenced by RooMsgService(), setSilentMode(), and silentMode().
Bool_t RooMsgService::_showPid [protected] |
Definition at line 205 of file RooMsgService.h.
Referenced by log(), RooMsgService(), and showPid().
Int_t RooMsgService::_errorCount [protected] |
Definition at line 207 of file RooMsgService.h.
Referenced by clearErrorCount(), errorCount(), and log().
RooMsgService * RooMsgService::_instance [static, protected] |
Definition at line 213 of file RooMsgService.h.
Referenced by cleanup(), instance(), and RooMsgService().
RooWorkspace* RooMsgService::_debugWorkspace [protected] |
Definition at line 215 of file RooMsgService.h.
Referenced by debugWorkspace(), RooMsgService(), and ~RooMsgService().
Int_t RooMsgService::_debugCode [protected] |
std::map<int,std::string> RooMsgService::_levelNames |
Definition at line 172 of file RooMsgService.h.
std::map<int,std::string> RooMsgService::_topicNames |
Definition at line 173 of file RooMsgService.h.
std::vector<StreamConfig> RooMsgService::_streams [protected] |
Definition at line 196 of file RooMsgService.h.
std::stack<std::vector<StreamConfig> > RooMsgService::_streamsSaved [protected] |
Definition at line 197 of file RooMsgService.h.
std::ostream* RooMsgService::_devnull [protected] |
Definition at line 198 of file RooMsgService.h.
std::map<std::string,std::ostream*> RooMsgService::_files [protected] |
Definition at line 200 of file RooMsgService.h.
RooMsgService* RooMsgService::_instance [static, protected] |
Definition at line 213 of file RooMsgService.h.
RooWorkspace* RooMsgService::_debugWorkspace [protected] |
Definition at line 215 of file RooMsgService.h.