src
EventFilter
L1TRawToDigi
plugins
PackingSetupFactory.cc
Go to the documentation of this file.
1
#include "
PackingSetupFactory.h
"
2
3
EDM_REGISTER_PLUGINFACTORY
(
l1t::PackingSetupFactoryT
,
"PackingSetupFactory"
);
4
5
namespace
l1t
{
6
const
PackingSetupFactory
PackingSetupFactory::instance_
;
7
8
std::unique_ptr<PackingSetup>
PackingSetupFactory::make
(
const
std::string
&
type
)
const
{
9
return
PackingSetupFactoryT::get
()->create(
"l1t::"
+
type
);
10
}
11
12
void
PackingSetupFactory::fillDescription
(
edm::ParameterSetDescription
&
desc
)
const
{
13
for
(
const
auto
&
info
:
PackingSetupFactoryT::get
()->available()) {
14
PackingSetupFactoryT::get
()->create(
info
.name_)->fillDescription(
desc
);
15
}
16
}
17
}
// namespace l1t
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition:
FWCollectionSummaryWidget.cc:153
l1t::PackingSetupFactory::instance_
static const PackingSetupFactory instance_
Definition:
PackingSetupFactory.h:19
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::PackingSetupFactory::make
std::unique_ptr< PackingSetup > make(const std::string &) const
Definition:
PackingSetupFactory.cc:8
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
PackingSetupFactory.h
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:88
get
#define get
l1t::PackingSetupFactory::fillDescription
void fillDescription(edm::ParameterSetDescription &) const
Definition:
PackingSetupFactory.cc:12
Generated for CMSSW Reference Manual by
1.8.14