CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BlockElementLinkerBase.h
Go to the documentation of this file.
1 #ifndef __BlockElementLinkerBase_H__
2 #define __BlockElementLinkerBase_H__
3 
7 
8 #include <string>
9 
11  public:
13  _linkerName( conf.getParameter<std::string>("linkerName") ) { }
16 
17  virtual bool linkPrefilter( const reco::PFBlockElement*,
18  const reco::PFBlockElement* ) const
19  { return true; }
20 
21  virtual double testLink( const reco::PFBlockElement*,
22  const reco::PFBlockElement* ) const = 0;
23 
24  const std::string& name() const { return _linkerName; }
25 
26  private:
28 };
29 
32 
33 #endif
virtual double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const =0
BlockElementLinkerBase & operator=(const BlockElementLinkerBase &)=delete
Abstract base class for a PFBlock element (track, cluster...)
virtual bool linkPrefilter(const reco::PFBlockElement *, const reco::PFBlockElement *) const
const std::string & name() const
edmplugin::PluginFactory< BlockElementLinkerBase *(const edm::ParameterSet &) > BlockElementLinkerFactory
BlockElementLinkerBase(const edm::ParameterSet &conf)