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 BlockElementImporterBase &)=delete
 
 BlockElementImporterBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
 
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

◆ ElementList

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

Definition at line 16 of file BlockElementImporterBase.h.

Constructor & Destructor Documentation

◆ BlockElementImporterBase() [1/2]

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

Definition at line 17 of file BlockElementImporterBase.h.

18  : _importerName(conf.getParameter<std::string>("importerName")) {}

◆ BlockElementImporterBase() [2/2]

BlockElementImporterBase::BlockElementImporterBase ( const BlockElementImporterBase )
delete

◆ ~BlockElementImporterBase()

virtual BlockElementImporterBase::~BlockElementImporterBase ( )
virtualdefault

Member Function Documentation

◆ importToBlock()

virtual void BlockElementImporterBase::importToBlock ( const edm::Event ,
ElementList  
) const
pure virtual

◆ name()

const std::string& BlockElementImporterBase::name ( void  ) const
inline

Definition at line 27 of file BlockElementImporterBase.h.

27 { return _importerName; }

References _importerName.

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

◆ operator=()

BlockElementImporterBase& BlockElementImporterBase::operator= ( const BlockElementImporterBase )
delete

◆ updateEventSetup()

virtual void BlockElementImporterBase::updateEventSetup ( const edm::EventSetup )
inlinevirtual

Reimplemented in SuperClusterImporter.

Definition at line 23 of file BlockElementImporterBase.h.

23 {}

Member Data Documentation

◆ _importerName

const std::string BlockElementImporterBase::_importerName
private

Definition at line 30 of file BlockElementImporterBase.h.

Referenced by name().

AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
BlockElementImporterBase::_importerName
const std::string _importerName
Definition: BlockElementImporterBase.h:30