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 GenericClusterImporter GSFTrackImporter pflow::importers::TrackFromParentImporter< Collection, Adaptor > SpecialClusterImporter< T > SuperClusterImporter TrackTimingImporter

Public Types

typedef std::vector< std::unique_ptr< reco::PFBlockElement > > ElementList
 
enum  VetoMode { pfRecTrackCollection = 0, ticlSeedingRegion = 1, pfCandidateCollection = 2 }
 

Public Member Functions

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

◆ ElementList

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

Definition at line 16 of file BlockElementImporterBase.h.

Member Enumeration Documentation

◆ VetoMode

Constructor & Destructor Documentation

◆ BlockElementImporterBase() [1/2]

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

Definition at line 17 of file BlockElementImporterBase.h.

18  : _importerName(conf.getParameter<std::string>("importerName")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:307

◆ 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.

References _importerName.

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

27 { return _importerName; }

◆ 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 32 of file BlockElementImporterBase.h.

Referenced by name().