CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PackingSetupFactory.cc
Go to the documentation of this file.
1 #include "PackingSetupFactory.h"
2 
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 
13  for (const auto& info : PackingSetupFactoryT::get()->available()) {
14  PackingSetupFactoryT::get()->create(info.name_)->fillDescription(desc);
15  }
16  }
17 } // namespace l1t
static const TGPicture * info(bool iBackgroundIsBlack)
static const PackingSetupFactory instance_
void fillDescription(edm::ParameterSetDescription &) const
std::unique_ptr< PackingSetup > make(const std::string &) const
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition: PluginFactory.h:89
#define get