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
EventFilter
L1TRawToDigi
plugins
PackerFactory.cc
Go to the documentation of this file.
1
#include "
PackerFactory.h
"
2
3
#include "
FWCore/Utilities/interface/EDMException.h
"
4
5
EDM_REGISTER_PLUGINFACTORY
(
l1t::PackerFactoryT
,
"PackerFactory"
);
6
7
namespace
l1t
{
8
const
PackerFactory
PackerFactory::instance_
;
9
10
std::shared_ptr<Packer>
PackerFactory::make
(
const
std::string
&
name
)
const
{
11
auto
unpacker = std::shared_ptr<Packer>(
PackerFactoryT::get
()->create(
"l1t::"
+
name
));
12
13
if
(unpacker.get() ==
nullptr
) {
14
throw
edm::Exception
(
edm::errors::Configuration
,
"NoSourceModule"
) <<
"Cannot find a packer named "
<<
name
;
15
}
16
17
return
unpacker;
18
}
19
}
// namespace l1t
l1t::PackerFactory::make
std::shared_ptr< Packer > make(const std::string &) const
Definition:
PackerFactory.cc:10
Exception
Definition:
hltDiff.cc:245
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::PackerFactory::instance_
static const PackerFactory instance_
Definition:
PackerFactory.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::errors::Configuration
Definition:
EDMException.h:36
EDMException.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:88
get
#define get
PackerFactory.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14