CMS 3D CMS Logo

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_
delete x;
Definition: CaloConfig.h:22
std::unique_ptr< PackingSetup > make(const std::string &) const
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition: PluginFactory.h:88
#define get
void fillDescription(edm::ParameterSetDescription &) const