Calibration
EcalAlCaRecoProducers
plugins
AlCaECALRecHitReducer.h
Go to the documentation of this file.
1
#ifndef _ALCAECALRECHITREDUCER_H
2
#define _ALCAECALRECHITREDUCER_H
3
4
// -*- C++ -*-
5
//
6
// Package: AlCaECALRecHitReducer
7
// Class: AlCaECALRecHitReducer
8
//
17
//
18
// Original Author: Lorenzo AGOSTINO
19
// Created: Mon Jul 17 18:07:01 CEST 2006
20
// $Id: AlCaECALRecHitReducer.h,v 1.13 2010/02/11 00:10:34 wmtan Exp $
21
//
22
//
23
24
// system include files
25
#include <memory>
26
27
// user include files
28
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
29
#include "
FWCore/Framework/interface/EDProducer.h
"
30
31
#include "
FWCore/Framework/interface/Event.h
"
32
#include "
FWCore/Framework/interface/MakerMacros.h
"
33
#include "
FWCore/Utilities/interface/InputTag.h
"
34
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
35
36
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
37
#include "
DataFormats/DetId/interface/DetId.h
"
38
#include "
Geometry/CaloTopology/interface/CaloTopology.h
"
39
40
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
41
#include "
DataFormats/EgammaCandidates/interface/PhotonFwd.h
"
42
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
46
47
class
AlCaECALRecHitReducer
:
public
edm::EDProducer
{
48
public
:
50
explicit
AlCaECALRecHitReducer
(
const
edm::ParameterSet
&);
51
~AlCaECALRecHitReducer
()
override
;
52
54
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
55
56
private
:
57
// ----------member data ---------------------------
58
59
edm::EDGetTokenT<EcalRecHitCollection>
ebRecHitsToken_
;
60
edm::EDGetTokenT<EcalRecHitCollection>
eeRecHitsToken_
;
61
edm::EDGetTokenT<EcalRecHitCollection>
esRecHitsToken_
;
62
edm::EDGetTokenT<reco::GsfElectronCollection>
electronToken_
;
63
std::vector<edm::EDGetTokenT<edm::View<reco::RecoCandidate> > >
eleViewTokens_
;
64
65
edm::EDGetTokenT<reco::PhotonCollection>
photonToken_
;
66
edm::EDGetTokenT<reco::SuperClusterCollection>
EESuperClusterToken_
;
67
std::string
alcaBarrelHitsCollection_
;
68
std::string
alcaEndcapHitsCollection_
;
69
std::string
alcaPreshowerHitsCollection_
;
70
int
etaSize_
;
71
int
phiSize_
;
72
//float weight_;
73
// int esNstrips_;
74
//int esNcolumns_;
75
76
// bool selectByEleNum_;
77
// int minEleNumber_;
78
// double minElePt_;
79
double
minEta_highEtaSC_
;
80
std::string
alcaCaloClusterCollection_
;
81
82
void
AddMiniRecHitCollection
(
const
reco::SuperCluster
& sc,
83
std::set<DetId>& reducedRecHitMap,
84
const
CaloTopology
* caloTopology);
85
};
86
87
#endif
AlCaECALRecHitReducer::photonToken_
edm::EDGetTokenT< reco::PhotonCollection > photonToken_
Definition:
AlCaECALRecHitReducer.h:65
AlCaECALRecHitReducer::AddMiniRecHitCollection
void AddMiniRecHitCollection(const reco::SuperCluster &sc, std::set< DetId > &reducedRecHitMap, const CaloTopology *caloTopology)
Definition:
AlCaECALRecHitReducer.cc:193
EDProducer.h
reco::SuperCluster
Definition:
SuperCluster.h:18
AlCaECALRecHitReducer::alcaPreshowerHitsCollection_
std::string alcaPreshowerHitsCollection_
Definition:
AlCaECALRecHitReducer.h:69
edm::EDGetTokenT
Definition:
EDGetToken.h:33
AlCaECALRecHitReducer::eeRecHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > eeRecHitsToken_
Definition:
AlCaECALRecHitReducer.h:60
AlCaECALRecHitReducer::alcaBarrelHitsCollection_
std::string alcaBarrelHitsCollection_
Definition:
AlCaECALRecHitReducer.h:67
AlCaECALRecHitReducer::~AlCaECALRecHitReducer
~AlCaECALRecHitReducer() override
Definition:
AlCaECALRecHitReducer.cc:62
PhotonFwd.h
CaloTopology
Definition:
CaloTopology.h:19
EcalRecHitCollections.h
AlCaECALRecHitReducer::minEta_highEtaSC_
double minEta_highEtaSC_
Definition:
AlCaECALRecHitReducer.h:79
MakerMacros.h
AlCaECALRecHitReducer::EESuperClusterToken_
edm::EDGetTokenT< reco::SuperClusterCollection > EESuperClusterToken_
Definition:
AlCaECALRecHitReducer.h:66
AlCaECALRecHitReducer::eleViewTokens_
std::vector< edm::EDGetTokenT< edm::View< reco::RecoCandidate > > > eleViewTokens_
Definition:
AlCaECALRecHitReducer.h:63
AlCaECALRecHitReducer::alcaCaloClusterCollection_
std::string alcaCaloClusterCollection_
Definition:
AlCaECALRecHitReducer.h:80
AlCaECALRecHitReducer::electronToken_
edm::EDGetTokenT< reco::GsfElectronCollection > electronToken_
Definition:
AlCaECALRecHitReducer.h:62
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
AlCaECALRecHitReducer
Definition:
AlCaECALRecHitReducer.h:47
GsfElectronFwd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
AlCaECALRecHitReducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
producer
Definition:
AlCaECALRecHitReducer.cc:65
AlCaECALRecHitReducer::alcaEndcapHitsCollection_
std::string alcaEndcapHitsCollection_
Definition:
AlCaECALRecHitReducer.h:68
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
CaloTopology.h
AlCaECALRecHitReducer::esRecHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > esRecHitsToken_
Definition:
AlCaECALRecHitReducer.h:61
AlCaECALRecHitReducer::etaSize_
int etaSize_
Definition:
AlCaECALRecHitReducer.h:70
AlCaECALRecHitReducer::phiSize_
int phiSize_
Definition:
AlCaECALRecHitReducer.h:71
SuperClusterFwd.h
DetId.h
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:36
AlCaECALRecHitReducer::AlCaECALRecHitReducer
AlCaECALRecHitReducer(const edm::ParameterSet &)
ctor
Definition:
AlCaECALRecHitReducer.cc:23
ParameterSet.h
edm::Event
Definition:
Event.h:73
AlCaECALRecHitReducer::ebRecHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > ebRecHitsToken_
Definition:
AlCaECALRecHitReducer.h:59
Generated for CMSSW Reference Manual by
1.8.16