CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 HCALAndBREMLinker HCALAndHOLinker HFEMAndHFHADLinker PreshowerAndECALLinker SCAndECALLinker 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
 

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.

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

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 17 of file BlockElementLinkerBase.h.

19  { return true; }
const std::string& BlockElementLinkerBase::name ( void  ) const
inline
BlockElementLinkerBase& BlockElementLinkerBase::operator= ( const BlockElementLinkerBase )
delete
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 27 of file BlockElementLinkerBase.h.

Referenced by name().