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
PackingSetupFactory.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition:
FWCollectionSummaryWidget.cc:153
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:89
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
l1t
delete x;
Definition:
CaloConfig.h:22
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:37
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
l1t::PackingSetupFactory::fillDescription
void fillDescription(edm::ParameterSetDescription &) const
Definition:
PackingSetupFactory.cc:12
get
#define get
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
l1t::PackingSetupFactory::make
std::unique_ptr< PackingSetup > make(const std::string &) const
Definition:
PackingSetupFactory.cc:8
l1t::PackingSetupFactory::instance_
static const PackingSetupFactory instance_
Definition:
PackingSetupFactory.h:19
Generated for CMSSW Reference Manual by
1.8.16