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::~ProblemTracker
~ProblemTracker()
Definition:
ProblemTracker.cc:24
edm::ProblemTracker
Definition:
ProblemTracker.h:17
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
edm
HLT enums.
Definition:
AlignableModifier.h:19
edmplugin::PluginManager::Config
Definition:
PluginManager.h:53
edm::AssertHandler::~AssertHandler
~AssertHandler()
Definition:
ProblemTracker.cc:37
edm::ProblemTracker::ProblemTracker
ProblemTracker()
Definition:
ProblemTracker.cc:15
config
Definition:
config.py:1
ProblemTracker.h
looper.config
config
Definition:
looper.py:291
edm::AssertHandler::AssertHandler
AssertHandler()
Definition:
ProblemTracker.cc:35
standard.h
edmplugin::PluginManager::configure
static PluginManager & configure(const Config &)
Definition:
PluginManager.cc:316
edmplugin::standard::config
PluginManager::Config config()
Definition:
standard.cc:21
instance
static PFTauRenderPlugin instance
Definition:
PFTauRenderPlugin.cc:70
PluginManager.h
edm::ProblemTracker::instance
static ProblemTracker const * instance()
Definition:
ProblemTracker.cc:28
edmplugin::PluginManager::isAvailable
static bool isAvailable()
Definition:
PluginManager.cc:347
Generated for CMSSW Reference Manual by
1.8.16