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
#include "
DataFormats/Math/interface/RectangularEtaPhiRegion.h
"
22
23
namespace
edm
{
24
class
ConfigurationDescriptions
;
25
}
26
27
class
EgammaHLTMulti5x5ClusterProducer
:
public
edm::EDProducer
{
28
public
:
29
EgammaHLTMulti5x5ClusterProducer
(
const
edm::ParameterSet
& ps);
30
~
EgammaHLTMulti5x5ClusterProducer
()
override
;
31
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
32
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
33
34
private
:
35
int
nMaxPrintout_
;
// max # of printouts
36
int
nEvt_
;
// internal counter of events
37
38
bool
doBarrel_
;
39
bool
doEndcaps_
;
40
bool
doIsolated_
;
41
42
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagIsolated_
;
43
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagNonIsolated_
;
44
edm::InputTag
barrelHitCollection_
;
45
edm::InputTag
endcapHitCollection_
;
46
edm::EDGetTokenT<EcalRecHitCollection>
barrelHitToken_
;
47
edm::EDGetTokenT<EcalRecHitCollection>
endcapHitToken_
;
48
49
std::string
barrelClusterCollection_
;
50
std::string
endcapClusterCollection_
;
51
52
double
l1LowerThr_
;
53
double
l1UpperThr_
;
54
double
l1LowerThrIgnoreIsolation_
;
55
56
double
regionEtaMargin_
;
57
double
regionPhiMargin_
;
58
59
PositionCalc
posCalculator_
;
// position calculation algorithm
60
Multi5x5ClusterAlgo
*
Multi5x5_p
;
61
62
bool
counterExceeded
()
const
{
return
((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
63
64
const
EcalRecHitCollection
*
getCollection
(
edm::Event
& evt,
65
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken);
66
67
68
void
clusterizeECALPart(
edm::Event
&evt,
const
edm::EventSetup
&es,
69
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken,
70
const
std::string
& clusterCollection,
71
const
std::vector<RectangularEtaPhiRegion>&
regions
,
72
const
reco::CaloID::Detectors
detector
);
73
74
void
outputValidationInfo(
reco::CaloClusterPtrVector
&clusterPtrVector);
75
76
};
77
#endif
EgammaHLTMulti5x5ClusterProducer::Multi5x5_p
Multi5x5ClusterAlgo * Multi5x5_p
Definition:
EgammaHLTMulti5x5ClusterProducer.h:60
Multi5x5ClusterAlgo.h
edm::SortedCollection< EcalRecHit >
AlignmentPI::regions
regions
Definition:
AlignmentPayloadInspectorHelper.h:54
L1EmParticle.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
EgammaHLTMulti5x5ClusterProducer::l1LowerThr_
double l1LowerThr_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:52
EventSetup.h
EcalRecHitCollections.h
EgammaHLTMulti5x5ClusterProducer::l1LowerThrIgnoreIsolation_
double l1LowerThrIgnoreIsolation_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:54
EgammaHLTMulti5x5ClusterProducer::barrelClusterCollection_
std::string barrelClusterCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:49
EgammaHLTMulti5x5ClusterProducer::l1TagNonIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:43
EgammaHLTMulti5x5ClusterProducer::counterExceeded
bool counterExceeded() const
Definition:
EgammaHLTMulti5x5ClusterProducer.h:62
EgammaHLTMulti5x5ClusterProducer::l1UpperThr_
double l1UpperThr_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:53
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:50
ParameterSet.h
CaloClusterFwd.h
EgammaHLTMulti5x5ClusterProducer::doBarrel_
bool doBarrel_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:38
EgammaHLTMulti5x5ClusterProducer::barrelHitCollection_
edm::InputTag barrelHitCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:44
EgammaHLTMulti5x5ClusterProducer::doIsolated_
bool doIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:40
RectangularEtaPhiRegion.h
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
EgammaHLTMulti5x5ClusterProducer::barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:46
EgammaHLTMulti5x5ClusterProducer::endcapHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:47
EgammaHLTMulti5x5ClusterProducer
Definition:
EgammaHLTMulti5x5ClusterProducer.h:27
edm::EventSetup
Definition:
EventSetup.h:52
EgammaHLTMulti5x5ClusterProducer::nMaxPrintout_
int nMaxPrintout_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:35
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:17
PositionCalc
Definition:
PositionCalc.h:29
ConfigurationDescriptions
EDProducer.h
EgammaHLTMulti5x5ClusterProducer::posCalculator_
PositionCalc posCalculator_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:59
EgammaHLTMulti5x5ClusterProducer::endcapHitCollection_
edm::InputTag endcapHitCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:45
EgammaHLTMulti5x5ClusterProducer::nEvt_
int nEvt_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:36
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:39
edm::PtrVector< CaloCluster >
edm::Event
Definition:
Event.h:70
EgammaHLTMulti5x5ClusterProducer::regionEtaMargin_
double regionEtaMargin_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:56
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:57
EgammaHLTMulti5x5ClusterProducer::l1TagIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:42
Generated for CMSSW Reference Manual by
1.8.11