RecoEcal
EgammaClusterProducers
interface
PreshowerClusterShapeProducer.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaClusterProducers_PreshowerClusterShapeProducer_h
2
#define RecoEcal_EgammaClusterProducers_PreshowerClusterShapeProducer_h
3
4
#include <memory>
5
6
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/Framework/interface/EventSetup.h
"
9
#include "
DataFormats/EcalDetId/interface/ESDetId.h
"
10
#include "
DataFormats/Math/interface/Point3D.h
"
11
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
#include "
FWCore/Utilities/interface/ESGetToken.h
"
14
15
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
16
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
17
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
18
19
#include "
DataFormats/EgammaReco/interface/PreshowerClusterShape.h
"
20
#include "
RecoEcal/EgammaClusterAlgos/interface/EndcapPiZeroDiscriminatorAlgo.h
"
21
22
// authors A. Kyriakis, D. Maletic
23
24
class
PreshowerClusterShapeProducer
:
public
edm::stream::EDProducer
<> {
25
public
:
26
typedef
math::XYZPoint
Point
;
27
28
explicit
PreshowerClusterShapeProducer
(
const
edm::ParameterSet
& ps);
29
30
~PreshowerClusterShapeProducer
()
override
;
31
32
void
produce
(
edm::Event
& evt,
const
edm::EventSetup
& es)
override
;
33
34
private
:
35
int
nEvt_
;
// internal counter of events
36
37
//clustering parameters:
38
39
edm::EDGetTokenT<EcalRecHitCollection>
preshHitToken_
;
// name of module/plugin/producer
40
// producing hits
41
edm::EDGetTokenT<reco::SuperClusterCollection>
endcapSClusterToken_
;
// likewise for producer
42
// of endcap superclusters
43
edm::ESGetToken<CaloGeometry, CaloGeometryRecord>
caloGeometryToken_
;
44
45
std::string
PreshowerClusterShapeCollectionX_
;
46
std::string
PreshowerClusterShapeCollectionY_
;
47
48
EndcapPiZeroDiscriminatorAlgo
*
presh_pi0_algo
;
// algorithm doing the real work
49
};
50
#endif
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EndcapPiZeroDiscriminatorAlgo.h
EDProducer.h
ESDetId.h
ESGetToken.h
EndcapPiZeroDiscriminatorAlgo
Definition:
EndcapPiZeroDiscriminatorAlgo.h:15
PreshowerClusterShapeProducer::caloGeometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
Definition:
PreshowerClusterShapeProducer.h:43
PreshowerClusterShapeProducer
Definition:
PreshowerClusterShapeProducer.h:24
CaloGeometryRecord.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:47
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
Event.h
PreshowerClusterShapeProducer::PreshowerClusterShapeCollectionY_
std::string PreshowerClusterShapeCollectionY_
Definition:
PreshowerClusterShapeProducer.h:46
PreshowerClusterShapeProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition:
PreshowerClusterShapeProducer.cc:67
edm::stream::EDProducer
Definition:
EDProducer.h:38
PreshowerClusterShapeProducer::PreshowerClusterShapeCollectionX_
std::string PreshowerClusterShapeCollectionX_
Definition:
PreshowerClusterShapeProducer.h:45
edm::EventSetup
Definition:
EventSetup.h:57
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
PreshowerClusterShapeProducer::endcapSClusterToken_
edm::EDGetTokenT< reco::SuperClusterCollection > endcapSClusterToken_
Definition:
PreshowerClusterShapeProducer.h:41
PreshowerClusterShapeProducer::~PreshowerClusterShapeProducer
~PreshowerClusterShapeProducer() override
Definition:
PreshowerClusterShapeProducer.cc:65
CaloGeometry.h
Point3D.h
PreshowerClusterShapeProducer::Point
math::XYZPoint Point
Definition:
PreshowerClusterShapeProducer.h:26
EventSetup.h
PreshowerClusterShapeProducer::preshHitToken_
edm::EDGetTokenT< EcalRecHitCollection > preshHitToken_
Definition:
PreshowerClusterShapeProducer.h:39
ParameterSet.h
PreshowerClusterShape.h
edm::Event
Definition:
Event.h:73
PreshowerClusterShapeProducer::PreshowerClusterShapeProducer
PreshowerClusterShapeProducer(const edm::ParameterSet &ps)
Definition:
PreshowerClusterShapeProducer.cc:37
PreshowerClusterShapeProducer::presh_pi0_algo
EndcapPiZeroDiscriminatorAlgo * presh_pi0_algo
Definition:
PreshowerClusterShapeProducer.h:48
PreshowerClusterShapeProducer::nEvt_
int nEvt_
Definition:
PreshowerClusterShapeProducer.h:35
Generated for CMSSW Reference Manual by
1.8.16