Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
L1TRawToDigi
src
PackingSetup.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/one/EDProducerBase.h
"
2
#include "
FWCore/Utilities/interface/EDMException.h
"
3
4
#include "
EventFilter/L1TRawToDigi/interface/PackingSetup.h
"
5
6
EDM_REGISTER_PLUGINFACTORY
(
l1t::PackingSetupFactoryT
,
"PackingSetupFactory"
);
7
8
namespace
l1t {
9
const
PackingSetupFactory
PackingSetupFactory::instance_
;
10
11
std::auto_ptr<PackingSetup>
12
PackingSetupFactory::make
(
const
std::string
&
type
)
const
13
{
14
auto
helper = std::auto_ptr<PackingSetup>(
PackingSetupFactoryT::get
()->create(
"l1t::"
+ type));
15
16
if
(helper.get() == 0)
17
throw
edm::Exception
(
edm::errors::Configuration
,
"NoSourceModule"
) <<
"cannot find packing setup "
<<
type
;
18
19
return
helper;
20
}
21
}
type
type
Definition:
HCALResponse.h:21
l1t::PackingSetupFactory::instance_
static const PackingSetupFactory instance_
Definition:
PackingSetup.h:49
l1t::PackingSetupFactory::make
std::auto_ptr< PackingSetup > make(const std::string &) const
Definition:
PackingSetup.cc:12
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EDProducerBase.h
edm::errors::Configuration
Definition:
EDMException.h:37
EDMException.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
edm::Exception
Definition:
EDMException.h:71
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:90
PackingSetup.h
reco::get
T get(const Candidate &c)
Definition:
component.h:55
Generated for CMSSW Reference Manual by
1.8.5