CMS 3D CMS Logo

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:
12  BlockElementLinkerBase(const edm::ParameterSet& conf) : _linkerName(conf.getParameter<std::string>("linkerName")) {}
14  virtual ~BlockElementLinkerBase() = default;
16 
17  virtual bool linkPrefilter(const reco::PFBlockElement*, const reco::PFBlockElement*) const { return true; }
18 
19  virtual double testLink(const reco::PFBlockElement*, const reco::PFBlockElement*) const = 0;
20 
21  const std::string& name() const { return _linkerName; }
22 
23 private:
25 };
26 
29 
30 #endif
PluginFactory.h
Handle.h
BlockElementLinkerBase::name
const std::string & name() const
Definition: BlockElementLinkerBase.h:21
BlockElementLinkerBase
Definition: BlockElementLinkerBase.h:10
BlockElementLinkerBase::linkPrefilter
virtual bool linkPrefilter(const reco::PFBlockElement *, const reco::PFBlockElement *) const
Definition: BlockElementLinkerBase.h:17
PFBlockElement.h
BlockElementLinkerBase::_linkerName
const std::string _linkerName
Definition: BlockElementLinkerBase.h:24
BlockElementLinkerBase::BlockElementLinkerBase
BlockElementLinkerBase(const edm::ParameterSet &conf)
Definition: BlockElementLinkerBase.h:12
edm::ParameterSet
Definition: ParameterSet.h:47
edmplugin::PluginFactory
Definition: PluginFactory.h:34
BlockElementLinkerBase::~BlockElementLinkerBase
virtual ~BlockElementLinkerBase()=default
BlockElementLinkerBase::operator=
BlockElementLinkerBase & operator=(const BlockElementLinkerBase &)=delete
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
reco::PFBlockElement
Abstract base class for a PFBlock element (track, cluster...)
Definition: PFBlockElement.h:26
BlockElementLinkerBase::testLink
virtual double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const =0
std
Definition: JetResolutionObject.h:76
ParameterSet.h