RecoParticleFlow
PFClusterProducer
interface
RecHitTopologicalCleanerBase.h
Go to the documentation of this file.
1
#ifndef __RecHitTopologicalCleanerBase_H__
2
#define __RecHitTopologicalCleanerBase_H__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
DataFormats/Common/interface/Handle.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
8
#include "
DataFormats/ParticleFlowReco/interface/PFRecHit.h
"
9
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFwd.h
"
10
11
#include <string>
12
13
class
RecHitTopologicalCleanerBase
{
14
public
:
15
RecHitTopologicalCleanerBase
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
&
cc
) {}
16
RecHitTopologicalCleanerBase
(
const
RecHitTopologicalCleanerBase
&) =
delete
;
17
virtual
~RecHitTopologicalCleanerBase
() =
default
;
18
RecHitTopologicalCleanerBase
&
operator=
(
const
RecHitTopologicalCleanerBase
&) =
delete
;
19
20
virtual
void
clean
(
const
edm::Handle<reco::PFRecHitCollection>
&, std::vector<bool>&) = 0;
21
virtual
void
update
(
const
edm::EventSetup
&) {}
22
23
const
std::string
&
name
()
const
{
return
_algoName
; }
24
25
private
:
26
const
std::string
_algoName
;
27
};
28
29
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
30
typedef
edmplugin::PluginFactory
<
RecHitTopologicalCleanerBase
*(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&)>
31
RecHitTopologicalCleanerFactory
;
32
33
#endif
PluginFactory.h
Handle.h
PFRecHitFwd.h
RecHitTopologicalCleanerBase::RecHitTopologicalCleanerBase
RecHitTopologicalCleanerBase(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
Definition:
RecHitTopologicalCleanerBase.h:15
RecHitTopologicalCleanerBase::_algoName
const std::string _algoName
Definition:
RecHitTopologicalCleanerBase.h:26
edm::Handle< reco::PFRecHitCollection >
PFRecHit.h
RecHitTopologicalCleanerBase::clean
virtual void clean(const edm::Handle< reco::PFRecHitCollection > &, std::vector< bool > &)=0
RecHitTopologicalCleanerBase::operator=
RecHitTopologicalCleanerBase & operator=(const RecHitTopologicalCleanerBase &)=delete
edm::ParameterSet
Definition:
ParameterSet.h:47
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
edm::EventSetup
Definition:
EventSetup.h:58
cc
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RecHitTopologicalCleanerBase::~RecHitTopologicalCleanerBase
virtual ~RecHitTopologicalCleanerBase()=default
EventSetup.h
RecHitTopologicalCleanerBase::update
virtual void update(const edm::EventSetup &)
Definition:
RecHitTopologicalCleanerBase.h:21
RecHitTopologicalCleanerBase
Definition:
RecHitTopologicalCleanerBase.h:13
ConsumesCollector.h
ParameterSet.h
RecHitTopologicalCleanerBase::name
const std::string & name() const
Definition:
RecHitTopologicalCleanerBase.h:23
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16