Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
l1t::PackingSetupFactory::fillDescription
void fillDescription(edm::ParameterSetDescription &) const
Definition:
PackingSetupFactory.cc:12
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
PackingSetupFactory.h
l1t::PackingSetupFactory::make
std::unique_ptr< PackingSetup > make(const std::string &) const
Definition:
PackingSetupFactory.cc:8
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:89
get
#define get
Generated for CMSSW Reference Manual by
1.8.5