RecoEcal
EgammaClusterProducers
interface
HybridClusterProducer.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaClusterProducers_HybridClusterProducer_h_
2
#define RecoEcal_EgammaClusterProducers_HybridClusterProducer_h_
3
4
#include <memory>
5
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
13
#include "
RecoEcal/EgammaClusterAlgos/interface/HybridClusterAlgo.h
"
14
#include "
RecoEcal/EgammaCoreTools/interface/PositionCalc.h
"
15
16
//
17
18
class
HybridClusterProducer
:
public
edm::stream::EDProducer
<> {
19
public
:
20
HybridClusterProducer
(
const
edm::ParameterSet
& ps);
21
22
~HybridClusterProducer
()
override
;
23
24
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
25
26
private
:
27
int
nEvt_
;
// internal counter of events
28
29
std::string
basicclusterCollection_
;
30
std::string
superclusterCollection_
;
31
32
edm::EDGetTokenT<EcalRecHitCollection>
hitsToken_
;
33
34
HybridClusterAlgo
*
hybrid_p
;
// clustering algorithm
35
PositionCalc
posCalculator_
;
// position calculation algorithm
36
};
37
38
#endif
HybridClusterProducer::hybrid_p
HybridClusterAlgo * hybrid_p
Definition:
HybridClusterProducer.h:34
PositionCalc.h
HybridClusterProducer
Definition:
HybridClusterProducer.h:18
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HybridClusterAlgo.h
EDProducer.h
EcalRecHitCollections.h
HybridClusterProducer::~HybridClusterProducer
~HybridClusterProducer() override
Definition:
HybridClusterProducer.cc:85
HybridClusterProducer::hitsToken_
edm::EDGetTokenT< EcalRecHitCollection > hitsToken_
Definition:
HybridClusterProducer.h:32
HybridClusterProducer::superclusterCollection_
std::string superclusterCollection_
Definition:
HybridClusterProducer.h:30
HybridClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
HybridClusterProducer.cc:87
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HybridClusterProducer::nEvt_
int nEvt_
Definition:
HybridClusterProducer.h:27
HybridClusterAlgo
Definition:
HybridClusterAlgo.h:26
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
PositionCalc
Definition:
PositionCalc.h:29
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
HybridClusterProducer::HybridClusterProducer
HybridClusterProducer(const edm::ParameterSet &ps)
Definition:
HybridClusterProducer.cc:38
Frameworkfwd.h
HybridClusterProducer::basicclusterCollection_
std::string basicclusterCollection_
Definition:
HybridClusterProducer.h:29
HybridClusterProducer::posCalculator_
PositionCalc posCalculator_
Definition:
HybridClusterProducer.h:35
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16