RecoEgamma
EgammaIsolationAlgos
plugins
EgammaIsoESDetIdCollectionProducer.h
Go to the documentation of this file.
1
#ifndef RECOEGAMMA_EGAMMAISOLATIONALGOS_EGAMMAISOESDETIDCOLLECTIONPRODUCER_H
2
#define RECOEGAMMA_EGAMMAISOLATIONALGOS_EGAMMAISOESDETIDCOLLECTIONPRODUCER_H
3
4
// -*- C++ -*-
5
//
6
// Package: EgammaIsoESDetIdCollectionProducer
7
// Class: EgammaIsoESDetIdCollectionProducer
8
//
18
// system include files
19
#include <memory>
20
21
// user include files
22
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
23
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
24
#include "
FWCore/Framework/interface/ESHandle.h
"
25
#include "
FWCore/Framework/interface/Event.h
"
26
#include "
FWCore/Framework/interface/MakerMacros.h
"
27
#include "
FWCore/Utilities/interface/InputTag.h
"
28
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
29
30
#include "
DataFormats/ParticleFlowReco/interface/PFCluster.h
"
31
#include "
DataFormats/ParticleFlowReco/interface/PFClusterFwd.h
"
32
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
33
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
34
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
35
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
36
#include "
DataFormats/EgammaCandidates/interface/PhotonFwd.h
"
37
#include "
DataFormats/EgammaCandidates/interface/Photon.h
"
38
39
class
EgammaIsoESDetIdCollectionProducer
:
public
edm::stream::EDProducer
<> {
40
public
:
42
explicit
EgammaIsoESDetIdCollectionProducer
(
const
edm::ParameterSet
&);
43
void
beginRun
(
edm::Run
const
&,
const
edm::EventSetup
&)
final
;
45
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
46
47
private
:
48
void
addDetIds
(
const
reco::SuperCluster
& superClus,
49
reco::PFClusterCollection
clusters
,
50
const
reco::PFCluster::EEtoPSAssociation
& eeClusToESMap,
51
std::vector<DetId>& detIdsToStore);
52
53
// ----------member data ---------------------------
54
edm::EDGetTokenT<reco::PFCluster::EEtoPSAssociation>
eeClusToESMapToken_
;
55
edm::EDGetTokenT<reco::PFClusterCollection>
ecalPFClustersToken_
;
56
edm::EDGetTokenT<reco::SuperClusterCollection>
superClustersToken_
;
57
edm::EDGetTokenT<reco::GsfElectronCollection>
elesToken_
;
58
edm::EDGetTokenT<reco::PhotonCollection>
phosToken_
;
59
60
std::string
interestingDetIdCollection_
;
61
62
float
minSCEt_
;
63
float
minEleEt_
;
64
float
minPhoEt_
;
65
66
float
maxDR_
;
67
};
68
69
#endif
reco::PFClusterCollection
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition:
PFClusterFwd.h:9
EgammaIsoESDetIdCollectionProducer::maxDR_
float maxDR_
Definition:
EgammaIsoESDetIdCollectionProducer.h:66
ESHandle.h
reco::SuperCluster
Definition:
SuperCluster.h:18
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< reco::PFCluster::EEtoPSAssociation >
EgammaIsoESDetIdCollectionProducer::phosToken_
edm::EDGetTokenT< reco::PhotonCollection > phosToken_
Definition:
EgammaIsoESDetIdCollectionProducer.h:58
EDProducer.h
PhotonFwd.h
EgammaIsoESDetIdCollectionProducer::EgammaIsoESDetIdCollectionProducer
EgammaIsoESDetIdCollectionProducer(const edm::ParameterSet &)
ctor
Definition:
EgammaIsoESDetIdCollectionProducer.cc:9
MakerMacros.h
Photon.h
EgammaIsoESDetIdCollectionProducer::addDetIds
void addDetIds(const reco::SuperCluster &superClus, reco::PFClusterCollection clusters, const reco::PFCluster::EEtoPSAssociation &eeClusToESMap, std::vector< DetId > &detIdsToStore)
Definition:
EgammaIsoESDetIdCollectionProducer.cc:90
EgammaIsoESDetIdCollectionProducer::superClustersToken_
edm::EDGetTokenT< reco::SuperClusterCollection > superClustersToken_
Definition:
EgammaIsoESDetIdCollectionProducer.h:56
PFCluster.h
EgammaIsoESDetIdCollectionProducer::interestingDetIdCollection_
std::string interestingDetIdCollection_
Definition:
EgammaIsoESDetIdCollectionProducer.h:60
GsfElectron.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
bsc_activity_cfg.clusters
clusters
Definition:
bsc_activity_cfg.py:36
GsfElectronFwd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
EgammaIsoESDetIdCollectionProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
producer
Definition:
EgammaIsoESDetIdCollectionProducer.cc:37
PFClusterFwd.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
EgammaIsoESDetIdCollectionProducer::minSCEt_
float minSCEt_
Definition:
EgammaIsoESDetIdCollectionProducer.h:62
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
reco::PFCluster::EEtoPSAssociation
std::vector< std::pair< CaloClusterPtr::key_type, edm::Ptr< PFCluster > > > EEtoPSAssociation
Definition:
PFCluster.h:48
EgammaIsoESDetIdCollectionProducer::minPhoEt_
float minPhoEt_
Definition:
EgammaIsoESDetIdCollectionProducer.h:64
SuperClusterFwd.h
Frameworkfwd.h
SuperCluster.h
EgammaIsoESDetIdCollectionProducer::elesToken_
edm::EDGetTokenT< reco::GsfElectronCollection > elesToken_
Definition:
EgammaIsoESDetIdCollectionProducer.h:57
EgammaIsoESDetIdCollectionProducer
Definition:
EgammaIsoESDetIdCollectionProducer.h:39
EgammaIsoESDetIdCollectionProducer::minEleEt_
float minEleEt_
Definition:
EgammaIsoESDetIdCollectionProducer.h:63
ParameterSet.h
edm::Event
Definition:
Event.h:73
EgammaIsoESDetIdCollectionProducer::eeClusToESMapToken_
edm::EDGetTokenT< reco::PFCluster::EEtoPSAssociation > eeClusToESMapToken_
Definition:
EgammaIsoESDetIdCollectionProducer.h:54
EgammaIsoESDetIdCollectionProducer::ecalPFClustersToken_
edm::EDGetTokenT< reco::PFClusterCollection > ecalPFClustersToken_
Definition:
EgammaIsoESDetIdCollectionProducer.h:55
EgammaIsoESDetIdCollectionProducer::beginRun
void beginRun(edm::Run const &, const edm::EventSetup &) final
Definition:
EgammaIsoESDetIdCollectionProducer.cc:34
Generated for CMSSW Reference Manual by
1.8.16