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::BlockElementLinkerBase ( const edm::ParameterSet conf)
inline

Definition at line 12 of file BlockElementLinkerBase.h.

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

12  :
13  _linkerName( conf.getParameter<std::string>("linkerName") ) { }
T getParameter(std::string const &) const
BlockElementLinkerBase::BlockElementLinkerBase ( const BlockElementLinkerBase )
delete
virtual BlockElementLinkerBase::~BlockElementLinkerBase ( )
virtualdefault

Referenced by BlockElementLinkerBase().

Member Function Documentation

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

Reimplemented in TrackAndECALLinker, TrackAndTrackLinker, ECALAndECALLinker, and PreshowerAndECALLinker.

Definition at line 18 of file BlockElementLinkerBase.h.

References testLink().

20  { return true; }
const std::string& BlockElementLinkerBase::name ( void  ) const
inline

Definition at line 25 of file BlockElementLinkerBase.h.

References _linkerName.

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

25 { return _linkerName; }
BlockElementLinkerBase& BlockElementLinkerBase::operator= ( const BlockElementLinkerBase )
delete

Referenced by BlockElementLinkerBase().

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

Member Data Documentation

const std::string BlockElementLinkerBase::_linkerName
private

Definition at line 28 of file BlockElementLinkerBase.h.

Referenced by name().