RecoParticleFlow
PFClusterProducer
plugins
PFMultiDepthClusterProducer.h
Go to the documentation of this file.
1
#ifndef __newpf_PFMultiDepthClusterProducer_H__
2
#define __newpf_PFMultiDepthClusterProducer_H__
3
4
// user include files
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
7
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
11
#include "
RecoParticleFlow/PFClusterProducer/interface/RecHitTopologicalCleanerBase.h
"
12
#include "
RecoParticleFlow/PFClusterProducer/interface/SeedFinderBase.h
"
13
#include "
RecoParticleFlow/PFClusterProducer/interface/InitialClusteringStepBase.h
"
14
#include "
RecoParticleFlow/PFClusterProducer/interface/PFClusterBuilderBase.h
"
15
#include "
RecoParticleFlow/PFClusterProducer/interface/PFCPositionCalculatorBase.h
"
16
#include "
RecoParticleFlow/PFClusterProducer/interface/PFClusterEnergyCorrectorBase.h
"
17
18
#include <memory>
19
20
class
PFMultiDepthClusterProducer
:
public
edm::stream::EDProducer
<> {
21
typedef
InitialClusteringStepBase
ICSB
;
22
typedef
PFClusterBuilderBase
PFCBB
;
23
typedef
PFCPositionCalculatorBase
PosCalc
;
24
25
public
:
26
PFMultiDepthClusterProducer
(
const
edm::ParameterSet
&);
27
~PFMultiDepthClusterProducer
()
override
=
default
;
28
29
void
beginLuminosityBlock
(
const
edm::LuminosityBlock
&,
const
edm::EventSetup
&)
override
;
30
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
31
32
private
:
33
// inputs
34
edm::EDGetTokenT<reco::PFClusterCollection>
_clustersLabel
;
35
// options
36
// the actual algorithm
37
std::unique_ptr<PFClusterBuilderBase>
_pfClusterBuilder
;
38
std::unique_ptr<PFClusterEnergyCorrectorBase>
_energyCorrector
;
39
};
40
41
DEFINE_FWK_MODULE
(
PFMultiDepthClusterProducer
);
42
43
#endif
InitialClusteringStepBase.h
PFMultiDepthClusterProducer::PFCBB
PFClusterBuilderBase PFCBB
Definition:
PFMultiDepthClusterProducer.h:22
SeedFinderBase.h
PFMultiDepthClusterProducer::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition:
PFMultiDepthClusterProducer.cc:32
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
PFMultiDepthClusterProducer
Definition:
PFMultiDepthClusterProducer.h:20
edm::EDGetTokenT< reco::PFClusterCollection >
PFMultiDepthClusterProducer::PFMultiDepthClusterProducer
PFMultiDepthClusterProducer(const edm::ParameterSet &)
Definition:
PFMultiDepthClusterProducer.cc:15
PFMultiDepthClusterProducer::PosCalc
PFCPositionCalculatorBase PosCalc
Definition:
PFMultiDepthClusterProducer.h:23
EDProducer.h
PFMultiDepthClusterProducer::_energyCorrector
std::unique_ptr< PFClusterEnergyCorrectorBase > _energyCorrector
Definition:
PFMultiDepthClusterProducer.h:38
PFMultiDepthClusterProducer::_pfClusterBuilder
std::unique_ptr< PFClusterBuilderBase > _pfClusterBuilder
Definition:
PFMultiDepthClusterProducer.h:37
MakerMacros.h
PFClusterEnergyCorrectorBase.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
PFClusterBuilderBase.h
PFCPositionCalculatorBase.h
PFCPositionCalculatorBase
Definition:
PFCPositionCalculatorBase.h:14
RecHitTopologicalCleanerBase.h
edm::ParameterSet
Definition:
ParameterSet.h:47
InitialClusteringStepBase
Definition:
InitialClusteringStepBase.h:24
Event.h
PFMultiDepthClusterProducer::_clustersLabel
edm::EDGetTokenT< reco::PFClusterCollection > _clustersLabel
Definition:
PFMultiDepthClusterProducer.h:34
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
PFMultiDepthClusterProducer::~PFMultiDepthClusterProducer
~PFMultiDepthClusterProducer() override=default
Frameworkfwd.h
PFMultiDepthClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
PFMultiDepthClusterProducer.cc:36
PFClusterBuilderBase
Definition:
PFClusterBuilderBase.h:18
edm::Event
Definition:
Event.h:73
PFMultiDepthClusterProducer::ICSB
InitialClusteringStepBase ICSB
Definition:
PFMultiDepthClusterProducer.h:21
Generated for CMSSW Reference Manual by
1.8.16