Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaHLTProducers
interface
EgammaHLTMulti5x5ClusterProducer.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaClusterProducers_EgammaHLTMulti5x5ClusterProducer_h_
2
#define RecoEcal_EgammaClusterProducers_EgammaHLTMulti5x5ClusterProducer_h_
3
4
#include <memory>
5
#include <ctime>
6
7
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
8
#include "
FWCore/Framework/interface/EDProducer.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/Framework/interface/EventSetup.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
14
#include "
DataFormats/CaloRecHit/interface/CaloClusterFwd.h
"
15
#include "
RecoEcal/EgammaClusterAlgos/interface/Multi5x5ClusterAlgo.h
"
16
17
#include "
DataFormats/L1Trigger/interface/L1EmParticle.h
"
18
#include "
DataFormats/L1Trigger/interface/L1EmParticleFwd.h
"
19
20
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
21
22
namespace
edm
{
23
class
ConfigurationDescriptions
;
24
}
25
26
class
EgammaHLTMulti5x5ClusterProducer
:
public
edm::EDProducer
{
27
public
:
28
EgammaHLTMulti5x5ClusterProducer
(
const
edm::ParameterSet
& ps);
29
~
EgammaHLTMulti5x5ClusterProducer
()
override
;
30
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
31
static
void
fillDescriptions(
edm::ConfigurationDescriptions
& descriptions);
32
33
private
:
34
int
nMaxPrintout_
;
// max # of printouts
35
int
nEvt_
;
// internal counter of events
36
37
bool
doBarrel_
;
38
bool
doEndcaps_
;
39
bool
doIsolated_
;
40
41
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagIsolated_
;
42
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagNonIsolated_
;
43
edm::InputTag
barrelHitCollection_
;
44
edm::InputTag
endcapHitCollection_
;
45
edm::EDGetTokenT<EcalRecHitCollection>
barrelHitToken_
;
46
edm::EDGetTokenT<EcalRecHitCollection>
endcapHitToken_
;
47
48
std::string
barrelClusterCollection_
;
49
std::string
endcapClusterCollection_
;
50
51
double
l1LowerThr_
;
52
double
l1UpperThr_
;
53
double
l1LowerThrIgnoreIsolation_
;
54
55
double
regionEtaMargin_
;
56
double
regionPhiMargin_
;
57
58
PositionCalc
posCalculator_
;
// position calculation algorithm
59
Multi5x5ClusterAlgo
*
Multi5x5_p
;
60
61
bool
counterExceeded
()
const
{
return
((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
62
63
const
EcalRecHitCollection
*
getCollection
(
edm::Event
& evt,
64
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken);
65
66
67
void
clusterizeECALPart(
edm::Event
&evt,
const
edm::EventSetup
&es,
68
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken,
69
const
std::string
& clusterCollection,
70
const
std::vector<EcalEtaPhiRegion>& regions,
71
const
reco::CaloID::Detectors
detector
);
72
73
void
outputValidationInfo(
reco::CaloClusterPtrVector
&clusterPtrVector);
74
75
};
76
#endif
EgammaHLTMulti5x5ClusterProducer::Multi5x5_p
Multi5x5ClusterAlgo * Multi5x5_p
Definition:
EgammaHLTMulti5x5ClusterProducer.h:59
Multi5x5ClusterAlgo.h
edm::SortedCollection< EcalRecHit >
L1EmParticle.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
EgammaHLTMulti5x5ClusterProducer::l1LowerThr_
double l1LowerThr_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:51
EventSetup.h
EcalRecHitCollections.h
EgammaHLTMulti5x5ClusterProducer::l1LowerThrIgnoreIsolation_
double l1LowerThrIgnoreIsolation_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:53
EgammaHLTMulti5x5ClusterProducer::barrelClusterCollection_
std::string barrelClusterCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:48
EgammaHLTMulti5x5ClusterProducer::l1TagNonIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:42
EgammaHLTMulti5x5ClusterProducer::counterExceeded
bool counterExceeded() const
Definition:
EgammaHLTMulti5x5ClusterProducer.h:61
EgammaHLTMulti5x5ClusterProducer::l1UpperThr_
double l1UpperThr_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:52
gamEcalExtractorBlocks_cff.detector
detector
Definition:
gamEcalExtractorBlocks_cff.py:12
edm::EDGetTokenT< l1extra::L1EmParticleCollection >
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
EgammaHLTMulti5x5ClusterProducer::endcapClusterCollection_
std::string endcapClusterCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:49
ParameterSet.h
CaloClusterFwd.h
EgammaHLTMulti5x5ClusterProducer::doBarrel_
bool doBarrel_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:37
EgammaHLTMulti5x5ClusterProducer::barrelHitCollection_
edm::InputTag barrelHitCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:43
EgammaHLTMulti5x5ClusterProducer::doIsolated_
bool doIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:39
EgammaHLTMulti5x5ClusterProducer::barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:45
EgammaHLTMulti5x5ClusterProducer::endcapHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:46
EgammaHLTMulti5x5ClusterProducer
Definition:
EgammaHLTMulti5x5ClusterProducer.h:26
edm::EventSetup
Definition:
EventSetup.h:44
EgammaHLTMulti5x5ClusterProducer::nMaxPrintout_
int nMaxPrintout_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:34
L1EmParticleFwd.h
getCollection
static bool getCollection(const edm::Event &event, std::vector< MissingCollectionInfo > &missing, edm::Handle< T > &handle, const edm::InputTag &name, const edm::EDGetTokenT< T > token, const char *description)
Definition:
HLTBitAnalyzer.cc:16
PositionCalc
Definition:
PositionCalc.h:29
ConfigurationDescriptions
EDProducer.h
EgammaHLTMulti5x5ClusterProducer::posCalculator_
PositionCalc posCalculator_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:58
EgammaHLTMulti5x5ClusterProducer::endcapHitCollection_
edm::InputTag endcapHitCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:44
EgammaHLTMulti5x5ClusterProducer::nEvt_
int nEvt_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:35
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
EgammaHLTMulti5x5ClusterProducer::doEndcaps_
bool doEndcaps_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:38
edm::PtrVector< CaloCluster >
edm::Event
Definition:
Event.h:69
EgammaHLTMulti5x5ClusterProducer::regionEtaMargin_
double regionEtaMargin_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:55
Multi5x5ClusterAlgo
Definition:
Multi5x5ClusterAlgo.h:28
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
reco::CaloID::Detectors
Detectors
Definition:
CaloID.h:21
EgammaHLTMulti5x5ClusterProducer::regionPhiMargin_
double regionPhiMargin_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:56
EgammaHLTMulti5x5ClusterProducer::l1TagIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:41
Generated for CMSSW Reference Manual by
1.8.11