CMS 3D CMS Logo

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  : _importerName(conf.getParameter<std::string>("importerName")) {}
20  virtual ~BlockElementImporterBase() = default;
22 
23  virtual void updateEventSetup(const edm::EventSetup&) {}
24 
25  virtual void importToBlock(const edm::Event&, ElementList&) const = 0;
26 
27  const std::string& name() const { return _importerName; }
28 
30 
31 private:
33 };
34 
38 
39 #endif
PluginFactory.h
Handle.h
BlockElementImporterBase::~BlockElementImporterBase
virtual ~BlockElementImporterBase()=default
BlockElementImporterBase::ticlSeedingRegion
Definition: BlockElementImporterBase.h:29
BlockElementImporterBase::updateEventSetup
virtual void updateEventSetup(const edm::EventSetup &)
Definition: BlockElementImporterBase.h:23
BlockElementImporterBase::BlockElementImporterBase
BlockElementImporterBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition: BlockElementImporterBase.h:17
PFBlockElement.h
BlockElementImporterBase::pfRecTrackCollection
Definition: BlockElementImporterBase.h:29
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BlockElementImporterBase::ElementList
std::vector< std::unique_ptr< reco::PFBlockElement > > ElementList
Definition: BlockElementImporterBase.h:16
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edmplugin::PluginFactory
Definition: PluginFactory.h:34
BlockElementImporterBase::name
const std::string & name() const
Definition: BlockElementImporterBase.h:27
edm::EventSetup
Definition: EventSetup.h:58
BlockElementImporterBase::VetoMode
VetoMode
Definition: BlockElementImporterBase.h:29
std
Definition: JetResolutionObject.h:76
BlockElementImporterBase::operator=
BlockElementImporterBase & operator=(const BlockElementImporterBase &)=delete
EventSetup.h
BlockElementImporterBase::importToBlock
virtual void importToBlock(const edm::Event &, ElementList &) const =0
ConsumesCollector.h
ParameterSet.h
edm::Event
Definition: Event.h:73
BlockElementImporterBase::pfCandidateCollection
Definition: BlockElementImporterBase.h:29
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
BlockElementImporterBase::_importerName
const std::string _importerName
Definition: BlockElementImporterBase.h:32
BlockElementImporterBase
Definition: BlockElementImporterBase.h:14