Main Page
Namespaces
Classes
Package Documentation
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:306
edm::AssertHandler::~AssertHandler
~AssertHandler()
Definition:
ProblemTracker.cc:37
EnergyCorrector.pt
pt
Definition:
EnergyCorrector.py:46
edmplugin::PluginManager::isAvailable
static bool isAvailable()
Definition:
PluginManager.cc:337
edm::ProblemTracker::instance
static ProblemTracker const * instance()
Definition:
ProblemTracker.cc:28
edmplugin::PluginManager::Config
Definition:
PluginManager.h:56
looper.config
config
Definition:
looper.py:291
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:17
standard.h
edm::ProblemTracker::~ProblemTracker
~ProblemTracker()
Definition:
ProblemTracker.cc:24
Generated for CMSSW Reference Manual by
1.8.11