CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
BlockElementImporterBase Class Referenceabstract

#include <BlockElementImporterBase.h>

Inheritance diagram for BlockElementImporterBase:
EGPhotonImporter GeneralTracksImporter GeneralTracksImporterWithVeto GenericClusterImporter GSFTrackImporter pflow::importers::TrackFromParentImporter< Collection, Adaptor > SpecialClusterImporter< T > SuperClusterImporter TrackTimingImporter

Public Types

typedef std::vector< std::unique_ptr< reco::PFBlockElement > > ElementList
 

Public Member Functions

 BlockElementImporterBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
 
 BlockElementImporterBase (const BlockElementImporterBase &)=delete
 
virtual void importToBlock (const edm::Event &, ElementList &) const =0
 
const std::string & name () const
 
BlockElementImporterBaseoperator= (const BlockElementImporterBase &)=delete
 
virtual void updateEventSetup (const edm::EventSetup &)
 
virtual ~BlockElementImporterBase ()=default
 

Private Attributes

const std::string _importerName
 

Detailed Description

Definition at line 14 of file BlockElementImporterBase.h.

Member Typedef Documentation

typedef std::vector<std::unique_ptr<reco::PFBlockElement> > BlockElementImporterBase::ElementList

Definition at line 16 of file BlockElementImporterBase.h.

Constructor & Destructor Documentation

BlockElementImporterBase::BlockElementImporterBase ( const edm::ParameterSet conf,
edm::ConsumesCollector sumes 
)
inline

Definition at line 17 of file BlockElementImporterBase.h.

References operator=(), and ~BlockElementImporterBase().

18  :
19  _importerName( conf.getParameter<std::string>("importerName") ) { }
T getParameter(std::string const &) const
BlockElementImporterBase::BlockElementImporterBase ( const BlockElementImporterBase )
delete
virtual BlockElementImporterBase::~BlockElementImporterBase ( )
virtualdefault

Member Function Documentation

virtual void BlockElementImporterBase::importToBlock ( const edm::Event ,
ElementList  
) const
pure virtual
const std::string& BlockElementImporterBase::name ( void  ) const
inline

Definition at line 29 of file BlockElementImporterBase.h.

References _importerName.

Referenced by config.CFG::__str__(), and validation.Sample::digest().

29 { return _importerName; }
BlockElementImporterBase& BlockElementImporterBase::operator= ( const BlockElementImporterBase )
delete
virtual void BlockElementImporterBase::updateEventSetup ( const edm::EventSetup )
inlinevirtual

Reimplemented in SuperClusterImporter.

Definition at line 24 of file BlockElementImporterBase.h.

References importToBlock().

24 {}

Member Data Documentation

const std::string BlockElementImporterBase::_importerName
private

Definition at line 32 of file BlockElementImporterBase.h.

Referenced by name().