Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
EventFilter
L1TRawToDigi
plugins
PackerFactory.h
Go to the documentation of this file.
1
#ifndef EventFilter_L1TRawToDigi_PackerFactory_h
2
#define EventFilter_L1TRawToDigi_PackerFactory_h
3
4
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
5
6
#include "
EventFilter/L1TRawToDigi/interface/Packer.h
"
7
8
namespace
l1t {
9
typedef
Packer
*(
pack_fct
)();
10
typedef
edmplugin::PluginFactory<pack_fct>
PackerFactoryT
;
11
12
class
PackerFactory
{
13
public
:
14
inline
static
const
PackerFactory
*
get
() {
return
&
instance_
; };
15
std::shared_ptr<Packer>
make
(
const
std::string
&)
const
;
16
17
private
:
18
PackerFactory
(){};
19
static
const
PackerFactory
instance_
;
20
};
21
}
// namespace l1t
22
23
#define DEFINE_L1T_PACKER(type) DEFINE_EDM_PLUGIN(l1t::PackerFactoryT, type, #type)
24
25
#endif
l1t::PackerFactory::make
std::shared_ptr< Packer > make(const std::string &) const
Definition:
PackerFactory.cc:10
l1t::PackerFactory
Definition:
PackerFactory.h:12
l1t::PackerFactoryT
edmplugin::PluginFactory< pack_fct > PackerFactoryT
Definition:
PackerFactory.h:10
l1t::PackerFactory::instance_
static const PackerFactory instance_
Definition:
PackerFactory.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
l1t::pack_fct
Packer *( pack_fct)()
Definition:
PackerFactory.h:9
l1t::Packer
Definition:
Packer.h:14
PluginFactory.h
l1t::PackerFactory::PackerFactory
PackerFactory()
Definition:
PackerFactory.h:18
Packer.h
Generated for CMSSW Reference Manual by
1.8.5