RecoParticleFlow
PFClusterProducer
plugins
RBXAndHPDCleaner.h
Go to the documentation of this file.
1
#ifndef __RBXAndHPDCleaner_H__
2
#define __RBXAndHPDCleaner_H__
3
4
#include "
RecoParticleFlow/PFClusterProducer/interface/RecHitTopologicalCleanerBase.h
"
5
6
#include <unordered_map>
7
8
class
RBXAndHPDCleaner
:
public
RecHitTopologicalCleanerBase
{
9
public
:
10
RBXAndHPDCleaner
(
const
edm::ParameterSet
& conf) :
RecHitTopologicalCleanerBase
(conf) {}
11
RBXAndHPDCleaner
(
const
RBXAndHPDCleaner
&) =
delete
;
12
RBXAndHPDCleaner
&
operator=
(
const
RBXAndHPDCleaner
&) =
delete
;
13
14
void
clean
(
const
edm::Handle<reco::PFRecHitCollection>
&
input
, std::vector<bool>& mask)
override
;
15
16
private
:
17
std::unordered_map<int, std::vector<unsigned> >
_hpds
,
_rbxs
;
18
};
19
20
DEFINE_EDM_PLUGIN
(
RecHitTopologicalCleanerFactory
,
RBXAndHPDCleaner
,
"RBXAndHPDCleaner"
);
21
22
#endif
input
static const std::string input
Definition:
EdmProvDump.cc:48
edm::Handle
Definition:
AssociativeIterator.h:50
RBXAndHPDCleaner::clean
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
Definition:
RBXAndHPDCleaner.cc:12
RBXAndHPDCleaner::operator=
RBXAndHPDCleaner & operator=(const RBXAndHPDCleaner &)=delete
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:124
RBXAndHPDCleaner::_hpds
std::unordered_map< int, std::vector< unsigned > > _hpds
Definition:
RBXAndHPDCleaner.h:17
RecHitTopologicalCleanerBase.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
RBXAndHPDCleaner::RBXAndHPDCleaner
RBXAndHPDCleaner(const edm::ParameterSet &conf)
Definition:
RBXAndHPDCleaner.h:10
RBXAndHPDCleaner::_rbxs
std::unordered_map< int, std::vector< unsigned > > _rbxs
Definition:
RBXAndHPDCleaner.h:17
RecHitTopologicalCleanerBase
Definition:
RecHitTopologicalCleanerBase.h:12
RBXAndHPDCleaner
Definition:
RBXAndHPDCleaner.h:8
Generated for CMSSW Reference Manual by
1.8.16