CMS 3D CMS Logo

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
PluginFactory.h
l1t::PackingSetupFactory::PackingSetupFactory
PackingSetupFactory()
Definition: PackingSetupFactory.h:19
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
PackingSetup.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::PackingSetup
Definition: PackingSetup.h:27
l1t
delete x;
Definition: CaloConfig.h:22
edmplugin::PluginFactory
Definition: PluginFactory.h:34
l1t::PackingSetupFactory::fillDescription
void fillDescription(edm::ParameterSetDescription &) const
Definition: PackingSetupFactory.cc:12
l1t::prov_fct
PackingSetup *() prov_fct()
Definition: PackingSetupFactory.h:9
l1t::PackingSetupFactory::make
std::unique_ptr< PackingSetup > make(const std::string &) const
Definition: PackingSetupFactory.cc:8
l1t::PackingSetupFactoryT
edmplugin::PluginFactory< prov_fct > PackingSetupFactoryT
Definition: PackingSetupFactory.h:10
l1t::PackingSetupFactory::get
static const PackingSetupFactory * get()
Definition: PackingSetupFactory.h:14
l1t::PackingSetupFactory
Definition: PackingSetupFactory.h:12
l1t::PackingSetupFactory::instance_
static const PackingSetupFactory instance_
Definition: PackingSetupFactory.h:19