Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
14
//edmplugin::DebugAids::AssertHook ProblemTracker::old_assert_hook_ = 0;
15
16
ProblemTracker::ProblemTracker
()
17
{
18
//old_assert_hook_ = edmplugin::DebugAids::failHook(&failure);
19
if
(not
edmplugin::PluginManager::isAvailable
()) {
20
edmplugin::PluginManager::Config
config
(
edmplugin::standard::config
());
21
22
edmplugin::PluginManager::configure
(config);
23
}
24
}
25
26
ProblemTracker::~ProblemTracker
()
27
{
28
// since this is a singleton, we will not restore the old handle
29
}
30
31
ProblemTracker
const
*
ProblemTracker::instance
()
32
{
33
static
ProblemTracker
const
pt
;
34
return
&
pt
;
35
}
36
37
// ---------------------------------------------
38
39
AssertHandler::AssertHandler
():pt_(
ProblemTracker
::
instance
())
40
{
41
}
42
43
AssertHandler::~AssertHandler
()
44
{
45
}
46
47
48
}
edm::ProblemTracker
Definition:
ProblemTracker.h:18
edm::ProblemTracker::ProblemTracker
ProblemTracker()
Definition:
ProblemTracker.cc:16
edmplugin::PluginManager::configure
static PluginManager & configure(const Config &)
Definition:
PluginManager.cc:317
instance
static PFTauRenderPlugin instance
Definition:
PFTauRenderPlugin.cc:70
edm::AssertHandler::~AssertHandler
~AssertHandler()
Definition:
ProblemTracker.cc:43
edmplugin::PluginManager::isAvailable
static bool isAvailable()
Definition:
PluginManager.cc:356
edm::ProblemTracker::instance
static ProblemTracker const * instance()
Definition:
ProblemTracker.cc:31
edmplugin::PluginManager::Config
Definition:
PluginManager.h:56
ProblemTracker.h
edmplugin::standard::config
PluginManager::Config config()
Definition:
standard.cc:21
RecoTauCleanerPlugins.pt
tuple pt
Definition:
RecoTauCleanerPlugins.py:53
edm::AssertHandler::AssertHandler
AssertHandler()
Definition:
ProblemTracker.cc:39
HDQMDatabaseProducer.config
tuple config
Definition:
HDQMDatabaseProducer.py:18
PluginManager.h
standard.h
edm::ProblemTracker::~ProblemTracker
~ProblemTracker()
Definition:
ProblemTracker.cc:26
Generated for CMSSW Reference Manual by
1.8.5