RecoEcal
EgammaClusterProducers
interface
InterestingDetIdFromSuperClusterProducer.h
Go to the documentation of this file.
1
#ifndef _INTERESTINGDETIDFROMSUPERCLUSTERPRODUCER_H
2
#define _INTERESTINGDETIDFROMSUPERCLUSTERPRODUCER_H
3
4
// -*- C++ -*-
5
//
6
// Package: InterestingDetIdFromSuperClusterProducer
7
// Class: InterestingDetIdFromSuperClusterProducer
8
//
27
// system include files
28
#include <memory>
29
30
// user include files
31
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
32
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
33
34
#include "
FWCore/Framework/interface/Event.h
"
35
#include "
FWCore/Framework/interface/MakerMacros.h
"
36
#include "
FWCore/Utilities/interface/InputTag.h
"
37
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
38
39
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
40
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
41
42
class
CaloTopology
;
43
class
EcalSeverityLevelAlgo
;
44
45
class
InterestingDetIdFromSuperClusterProducer
:
public
edm::stream::EDProducer
<> {
46
public
:
48
explicit
InterestingDetIdFromSuperClusterProducer
(
const
edm::ParameterSet
&);
49
void
beginRun
(
edm::Run
const
&,
const
edm::EventSetup
&)
final
;
51
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
52
53
private
:
54
// ----------member data ---------------------------
55
edm::EDGetTokenT<EcalRecHitCollection>
recHitsToken_
;
56
edm::EDGetTokenT<reco::SuperClusterCollection>
superClustersToken_
;
57
std::string
interestingDetIdCollection_
;
58
int
minimalEtaSize_
;
59
int
minimalPhiSize_
;
60
const
CaloTopology
*
caloTopology_
;
61
62
int
severityLevel_
;
63
const
EcalSeverityLevelAlgo
*
severity_
;
64
bool
keepNextToDead_
;
65
bool
keepNextToBoundary_
;
66
};
67
68
#endif
InterestingDetIdFromSuperClusterProducer::keepNextToDead_
bool keepNextToDead_
Definition:
InterestingDetIdFromSuperClusterProducer.h:64
InterestingDetIdFromSuperClusterProducer::caloTopology_
const CaloTopology * caloTopology_
Definition:
InterestingDetIdFromSuperClusterProducer.h:60
EcalSeverityLevelAlgo
Definition:
EcalSeverityLevelAlgo.h:33
InterestingDetIdFromSuperClusterProducer
Definition:
InterestingDetIdFromSuperClusterProducer.h:45
InterestingDetIdFromSuperClusterProducer::superClustersToken_
edm::EDGetTokenT< reco::SuperClusterCollection > superClustersToken_
Definition:
InterestingDetIdFromSuperClusterProducer.h:56
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT
Definition:
EDGetToken.h:33
InterestingDetIdFromSuperClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
producer
Definition:
InterestingDetIdFromSuperClusterProducer.cc:52
EDProducer.h
InterestingDetIdFromSuperClusterProducer::interestingDetIdCollection_
std::string interestingDetIdCollection_
Definition:
InterestingDetIdFromSuperClusterProducer.h:57
InterestingDetIdFromSuperClusterProducer::minimalEtaSize_
int minimalEtaSize_
Definition:
InterestingDetIdFromSuperClusterProducer.h:58
CaloTopology
Definition:
CaloTopology.h:19
EcalRecHitCollections.h
InterestingDetIdFromSuperClusterProducer::keepNextToBoundary_
bool keepNextToBoundary_
Definition:
InterestingDetIdFromSuperClusterProducer.h:65
InterestingDetIdFromSuperClusterProducer::InterestingDetIdFromSuperClusterProducer
InterestingDetIdFromSuperClusterProducer(const edm::ParameterSet &)
ctor
Definition:
InterestingDetIdFromSuperClusterProducer.cc:21
MakerMacros.h
InterestingDetIdFromSuperClusterProducer::severityLevel_
int severityLevel_
Definition:
InterestingDetIdFromSuperClusterProducer.h:62
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
InterestingDetIdFromSuperClusterProducer::beginRun
void beginRun(edm::Run const &, const edm::EventSetup &) final
Definition:
InterestingDetIdFromSuperClusterProducer.cc:41
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
InterestingDetIdFromSuperClusterProducer::severity_
const EcalSeverityLevelAlgo * severity_
Definition:
InterestingDetIdFromSuperClusterProducer.h:63
InputTag.h
SuperClusterFwd.h
Frameworkfwd.h
InterestingDetIdFromSuperClusterProducer::recHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > recHitsToken_
Definition:
InterestingDetIdFromSuperClusterProducer.h:55
InterestingDetIdFromSuperClusterProducer::minimalPhiSize_
int minimalPhiSize_
Definition:
InterestingDetIdFromSuperClusterProducer.h:59
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16