Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
IOPool
Common
src
RootServiceChecker.cc
Go to the documentation of this file.
1
#include "
IOPool/Common/interface/RootServiceChecker.h
"
2
#include "
FWCore/ServiceRegistry/interface/Service.h
"
3
#include "
FWCore/Utilities/interface/EDMException.h
"
4
#include "
FWCore/Utilities/interface/RootHandlers.h
"
5
6
namespace
edm
{
7
RootServiceChecker::RootServiceChecker
() {
8
Service<RootHandlers>
rootSvc;
9
if
(!rootSvc.
isAvailable
()) {
10
throw
edm::Exception
(
errors::Configuration
)
11
<<
"The 'InitRootHandlers' service was not specified.\n"
12
<<
"This service must be used if PoolSource or PoolOutputModule is used.\n"
;
13
}
14
}
15
}
// namespace edm
edm::Service
Definition:
Service.h:30
Exception
Definition:
hltDiff.cc:245
edm::errors::Configuration
Definition:
EDMException.h:36
EDMException.h
RootHandlers.h
Service.h
edm::RootServiceChecker::RootServiceChecker
RootServiceChecker()
Definition:
RootServiceChecker.cc:7
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::Service::isAvailable
bool isAvailable() const
Definition:
Service.h:40
RootServiceChecker.h
Generated for CMSSW Reference Manual by
1.8.14