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
14
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
15
16
#include "
DataFormats/EgammaReco/interface/PreshowerClusterShape.h
"
17
#include "
RecoEcal/EgammaClusterAlgos/interface/EndcapPiZeroDiscriminatorAlgo.h
"
18
19
// authors A. Kyriakis, D. Maletic
20
21
class
PreshowerClusterShapeProducer
:
public
edm::stream::EDProducer
<> {
22
public
:
23
typedef
math::XYZPoint
Point
;
24
25
explicit
PreshowerClusterShapeProducer
(
const
edm::ParameterSet
& ps);
26
27
~PreshowerClusterShapeProducer
()
override
;
28
29
void
produce
(
edm::Event
& evt,
const
edm::EventSetup
& es)
override
;
30
31
private
:
32
int
nEvt_
;
// internal counter of events
33
34
//clustering parameters:
35
36
edm::EDGetTokenT<EcalRecHitCollection>
preshHitToken_
;
// name of module/plugin/producer
37
// producing hits
38
edm::EDGetTokenT<reco::SuperClusterCollection>
endcapSClusterToken_
;
// likewise for producer
39
// of endcap superclusters
40
41
std::string
PreshowerClusterShapeCollectionX_
;
42
std::string
PreshowerClusterShapeCollectionY_
;
43
44
EndcapPiZeroDiscriminatorAlgo
*
presh_pi0_algo
;
// algorithm doing the real work
45
};
46
#endif
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EndcapPiZeroDiscriminatorAlgo.h
EDProducer.h
ESDetId.h
EndcapPiZeroDiscriminatorAlgo
Definition:
EndcapPiZeroDiscriminatorAlgo.h:15
PreshowerClusterShapeProducer
Definition:
PreshowerClusterShapeProducer.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:36
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:42
PreshowerClusterShapeProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition:
PreshowerClusterShapeProducer.cc:69
edm::stream::EDProducer
Definition:
EDProducer.h:38
PreshowerClusterShapeProducer::PreshowerClusterShapeCollectionX_
std::string PreshowerClusterShapeCollectionX_
Definition:
PreshowerClusterShapeProducer.h:41
edm::EventSetup
Definition:
EventSetup.h:57
PreshowerClusterShapeProducer::endcapSClusterToken_
edm::EDGetTokenT< reco::SuperClusterCollection > endcapSClusterToken_
Definition:
PreshowerClusterShapeProducer.h:38
PreshowerClusterShapeProducer::~PreshowerClusterShapeProducer
~PreshowerClusterShapeProducer() override
Definition:
PreshowerClusterShapeProducer.cc:67
Point3D.h
PreshowerClusterShapeProducer::Point
math::XYZPoint Point
Definition:
PreshowerClusterShapeProducer.h:23
EventSetup.h
PreshowerClusterShapeProducer::preshHitToken_
edm::EDGetTokenT< EcalRecHitCollection > preshHitToken_
Definition:
PreshowerClusterShapeProducer.h:36
ParameterSet.h
PreshowerClusterShape.h
edm::Event
Definition:
Event.h:73
PreshowerClusterShapeProducer::PreshowerClusterShapeProducer
PreshowerClusterShapeProducer(const edm::ParameterSet &ps)
Definition:
PreshowerClusterShapeProducer.cc:40
PreshowerClusterShapeProducer::presh_pi0_algo
EndcapPiZeroDiscriminatorAlgo * presh_pi0_algo
Definition:
PreshowerClusterShapeProducer.h:44
PreshowerClusterShapeProducer::nEvt_
int nEvt_
Definition:
PreshowerClusterShapeProducer.h:32
Generated for CMSSW Reference Manual by
1.8.16