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 "
FWCore/Utilities/interface/ESGetToken.h
"
13
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
14
#include "
RecoEcal/EgammaClusterAlgos/interface/HybridClusterAlgo.h
"
15
#include "
RecoEcal/EgammaCoreTools/interface/PositionCalc.h
"
16
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
17
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
18
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgoRcd.h
"
19
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgo.h
"
20
21
//
22
23
class
HybridClusterProducer
:
public
edm::stream::EDProducer
<> {
24
public
:
25
HybridClusterProducer
(
const
edm::ParameterSet
& ps);
26
27
~HybridClusterProducer
()
override
;
28
29
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
30
31
private
:
32
int
nEvt_
;
// internal counter of events
33
34
std::string
basicclusterCollection_
;
35
std::string
superclusterCollection_
;
36
37
edm::EDGetTokenT<EcalRecHitCollection>
hitsToken_
;
38
edm::ESGetToken<CaloGeometry, CaloGeometryRecord>
geoToken_
;
39
edm::ESGetToken<EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd>
sevLvToken_
;
40
41
HybridClusterAlgo
*
hybrid_p
;
// clustering algorithm
42
PositionCalc
posCalculator_
;
// position calculation algorithm
43
};
44
45
#endif
HybridClusterProducer::hybrid_p
HybridClusterAlgo * hybrid_p
Definition:
HybridClusterProducer.h:41
PositionCalc.h
HybridClusterProducer
Definition:
HybridClusterProducer.h:23
HybridClusterProducer::sevLvToken_
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > sevLvToken_
Definition:
HybridClusterProducer.h:39
EcalSeverityLevelAlgoRcd.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HybridClusterAlgo.h
EDProducer.h
ESGetToken.h
EcalRecHitCollections.h
HybridClusterProducer::~HybridClusterProducer
~HybridClusterProducer() override
Definition:
HybridClusterProducer.cc:82
HybridClusterProducer::hitsToken_
edm::EDGetTokenT< EcalRecHitCollection > hitsToken_
Definition:
HybridClusterProducer.h:37
HybridClusterProducer::superclusterCollection_
std::string superclusterCollection_
Definition:
HybridClusterProducer.h:35
EcalSeverityLevelAlgo.h
HybridClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
HybridClusterProducer.cc:84
CaloGeometryRecord.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HybridClusterProducer::nEvt_
int nEvt_
Definition:
HybridClusterProducer.h:32
HybridClusterAlgo
Definition:
HybridClusterAlgo.h:26
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
PositionCalc
Definition:
PositionCalc.h:29
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
HybridClusterProducer::HybridClusterProducer
HybridClusterProducer(const edm::ParameterSet &ps)
Definition:
HybridClusterProducer.cc:33
HybridClusterProducer::geoToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geoToken_
Definition:
HybridClusterProducer.h:38
Frameworkfwd.h
HybridClusterProducer::basicclusterCollection_
std::string basicclusterCollection_
Definition:
HybridClusterProducer.h:34
HybridClusterProducer::posCalculator_
PositionCalc posCalculator_
Definition:
HybridClusterProducer.h:42
CaloGeometry.h
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16