src
FWCore
PluginManager
src
ProblemTracker.cc
Go to the documentation of this file.
1
2
3
#include "
FWCore/PluginManager/interface/ProblemTracker.h
"
4
#include "
FWCore/PluginManager/interface/PluginManager.h
"
5
#include "
FWCore/PluginManager/interface/standard.h
"
6
7
#include <string>
8
9
namespace
edm
{
10
11
// -----------------------------------------------
12
13
//edmplugin::DebugAids::AssertHook ProblemTracker::old_assert_hook_ = 0;
14
15
ProblemTracker::ProblemTracker
() {
16
//old_assert_hook_ = edmplugin::DebugAids::failHook(&failure);
17
if
(not
edmplugin::PluginManager::isAvailable
()) {
18
edmplugin::PluginManager::Config
config
(
edmplugin::standard::config
());
19
20
edmplugin::PluginManager::configure
(
config
);
21
}
22
}
23
24
ProblemTracker::~ProblemTracker
() {
25
// since this is a singleton, we will not restore the old handle
26
}
27
28
ProblemTracker
const
*
ProblemTracker::instance
() {
29
static
ProblemTracker
const
pt
;
30
return
&
pt
;
31
}
32
33
// ---------------------------------------------
34
35
AssertHandler::AssertHandler
() : pt_(
ProblemTracker
::
instance
()) {}
36
37
AssertHandler::~AssertHandler
() {}
38
39
}
// namespace edm
edm::ProblemTracker
Definition:
ProblemTracker.h:17
edm::ProblemTracker::ProblemTracker
ProblemTracker()
Definition:
ProblemTracker.cc:15
edmplugin::PluginManager::configure
static PluginManager & configure(const Config &)
Definition:
PluginManager.cc:315
edm::ProblemTracker::instance
static ProblemTracker const * instance()
Definition:
ProblemTracker.cc:28
instance
static PFTauRenderPlugin instance
Definition:
PFTauRenderPlugin.cc:70
edm::AssertHandler::~AssertHandler
~AssertHandler()
Definition:
ProblemTracker.cc:37
DMR_cfg.config
dictionary config
Read in AllInOne config in JSON format.
Definition:
DMR_cfg.py:21
config
Definition:
config.py:1
edmplugin::PluginManager::isAvailable
static bool isAvailable()
Definition:
PluginManager.cc:346
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
edmplugin::PluginManager::Config
Definition:
PluginManager.h:53
ProblemTracker.h
edmplugin::standard::config
PluginManager::Config config()
Definition:
standard.cc:21
edm::AssertHandler::AssertHandler
AssertHandler()
Definition:
ProblemTracker.cc:35
PluginManager.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
standard.h
edm::ProblemTracker::~ProblemTracker
~ProblemTracker()
Definition:
ProblemTracker.cc:24
Generated for CMSSW Reference Manual by
1.8.14