CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PackingSetupFactory.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_PackingSetupFactory_h
2 #define EventFilter_L1TRawToDigi_PackingSetupFactory_h
3 
5 
7 
8 namespace l1t {
9  typedef PackingSetup*(prov_fct)();
11 
13  public:
14  static const PackingSetupFactory* get() { return &instance_; };
15  std::unique_ptr<PackingSetup> make(const std::string&) const;
17 
18  private:
20  static const PackingSetupFactory instance_;
21  };
22 } // namespace l1t
23 
24 #define DEFINE_L1T_PACKING_SETUP(type) DEFINE_EDM_PLUGIN(l1t::PackingSetupFactoryT, type, #type)
25 
26 #endif
static const PackingSetupFactory instance_
edmplugin::PluginFactory< prov_fct > PackingSetupFactoryT
void fillDescription(edm::ParameterSetDescription &) const
std::unique_ptr< PackingSetup > make(const std::string &) const
PackingSetup *( prov_fct)()