Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
L1TRawToDigi
src
Unpacker.cc
Go to the documentation of this file.
1
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
2
#include "
FWCore/Utilities/interface/EDMException.h
"
3
4
#include "
EventFilter/L1TRawToDigi/interface/Unpacker.h
"
5
6
EDM_REGISTER_PLUGINFACTORY
(
l1t::UnpackerFactoryT
,
"UnpackerFactory"
);
7
8
namespace
l1t {
9
const
UnpackerFactory
UnpackerFactory::instance_
;
10
11
std::shared_ptr<Unpacker>
12
UnpackerFactory::make
(
const
std::string
&
name
)
const
13
{
14
auto
unpacker = std::shared_ptr<Unpacker>(
UnpackerFactoryT::get
()->create(
"l1t::"
+ name));
15
16
if
(unpacker.get() == 0) {
17
throw
edm::Exception
(
edm::errors::Configuration
,
"NoSourceModule"
)
18
<<
"Cannot find an unpacker named "
<<
name
;
19
}
20
21
return
unpacker;
22
}
23
}
Unpacker.h
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
edm::errors::Configuration
Definition:
EDMException.h:37
EDMException.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
l1t::UnpackerFactory::make
std::shared_ptr< Unpacker > make(const std::string &) const
Definition:
Unpacker.cc:12
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:90
edm::hlt::Exception
error
Definition:
HLTenums.h:21
l1t::UnpackerFactory::instance_
static const UnpackerFactory instance_
Definition:
Unpacker.h:24
reco::get
T get(const Candidate &c)
Definition:
component.h:55
Generated for CMSSW Reference Manual by
1.8.5