test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BlockElementImporterBase.h
Go to the documentation of this file.
1 #ifndef __BlockElementImporterBase_H__
2 #define __BlockElementImporterBase_H__
3 
10 
11 #include <string>
12 #include <memory>
13 
15  public:
16  typedef std::vector<std::unique_ptr<reco::PFBlockElement> > ElementList;
18  edm::ConsumesCollector & sumes ):
19  _importerName( conf.getParameter<std::string>("importerName") ) { }
22 
23  virtual void updateEventSetup(const edm::EventSetup& ) {}
24 
25  virtual void importToBlock( const edm::Event& ,
26  ElementList& ) const = 0;
27 
28  const std::string& name() const { return _importerName; }
29 
30  private:
32 };
33 
36 
37 #endif
const std::string & name() const
edmplugin::PluginFactory< BlockElementImporterBase *(const edm::ParameterSet &, edm::ConsumesCollector &) > BlockElementImporterFactory
virtual void updateEventSetup(const edm::EventSetup &)
BlockElementImporterBase & operator=(const BlockElementImporterBase &)=delete
tuple conf
Definition: dbtoconf.py:185
virtual void importToBlock(const edm::Event &, ElementList &) const =0
std::vector< std::unique_ptr< reco::PFBlockElement > > ElementList
BlockElementImporterBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)