CMS 3D CMS Logo

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

#include <BlockElementLinkerBase.h>

Inheritance diagram for BlockElementLinkerBase:
ECALAndBREMLinker ECALAndECALLinker ECALAndHCALCaloJetLinker ECALAndHCALLinker GSFAndBREMLinker GSFAndECALLinker GSFAndGSFLinker GSFAndHCALLinker GSFAndHGCalLinker HCALAndBREMLinker HCALAndHOLinker HFEMAndHFHADLinker HGCalAndBREMLinker PreshowerAndECALLinker SCAndECALLinker SCAndHGCalLinker TrackAndECALLinker TrackAndGSFLinker TrackAndHCALLinker TrackAndHOLinker TrackAndTrackLinker

Public Member Functions

 BlockElementLinkerBase (const edm::ParameterSet &conf)
 
 BlockElementLinkerBase (const BlockElementLinkerBase &)=delete
 
virtual bool linkPrefilter (const reco::PFBlockElement *, const reco::PFBlockElement *) const
 
const std::string & name () const
 
BlockElementLinkerBaseoperator= (const BlockElementLinkerBase &)=delete
 
virtual double testLink (const reco::PFBlockElement *, const reco::PFBlockElement *) const =0
 
virtual ~BlockElementLinkerBase ()=default
 

Private Attributes

const std::string _linkerName
 

Detailed Description

Definition at line 10 of file BlockElementLinkerBase.h.

Constructor & Destructor Documentation

◆ BlockElementLinkerBase() [1/2]

BlockElementLinkerBase::BlockElementLinkerBase ( const edm::ParameterSet conf)
inline

Definition at line 12 of file BlockElementLinkerBase.h.

12 : _linkerName(conf.getParameter<std::string>("linkerName")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:307

◆ BlockElementLinkerBase() [2/2]

BlockElementLinkerBase::BlockElementLinkerBase ( const BlockElementLinkerBase )
delete

◆ ~BlockElementLinkerBase()

virtual BlockElementLinkerBase::~BlockElementLinkerBase ( )
virtualdefault

Member Function Documentation

◆ linkPrefilter()

virtual bool BlockElementLinkerBase::linkPrefilter ( const reco::PFBlockElement ,
const reco::PFBlockElement  
) const
inlinevirtual

Reimplemented in TrackAndHCALLinker, TrackAndECALLinker, TrackAndTrackLinker, ECALAndECALLinker, and PreshowerAndECALLinker.

Definition at line 17 of file BlockElementLinkerBase.h.

17 { return true; }

◆ name()

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

Definition at line 21 of file BlockElementLinkerBase.h.

References _linkerName.

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

21 { return _linkerName; }

◆ operator=()

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

◆ testLink()

virtual double BlockElementLinkerBase::testLink ( const reco::PFBlockElement ,
const reco::PFBlockElement  
) const
pure virtual

Member Data Documentation

◆ _linkerName

const std::string BlockElementLinkerBase::_linkerName
private

Definition at line 24 of file BlockElementLinkerBase.h.

Referenced by name().