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/stream/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::stream::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
36
bool
doBarrel_
;
37
bool
doEndcaps_
;
38
bool
doIsolated_
;
39
40
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagIsolated_
;
41
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagNonIsolated_
;
42
edm::InputTag
barrelHitCollection_
;
43
edm::InputTag
endcapHitCollection_
;
44
edm::EDGetTokenT<EcalRecHitCollection>
barrelHitToken_
;
45
edm::EDGetTokenT<EcalRecHitCollection>
endcapHitToken_
;
46
47
std::string
barrelClusterCollection_
;
48
std::string
endcapClusterCollection_
;
49
50
double
l1LowerThr_
;
51
double
l1UpperThr_
;
52
double
l1LowerThrIgnoreIsolation_
;
53
54
double
regionEtaMargin_
;
55
double
regionPhiMargin_
;
56
57
PositionCalc
posCalculator_
;
// position calculation algorithm
58
Multi5x5ClusterAlgo
*
Multi5x5_p
;
59
60
const
EcalRecHitCollection
*
getCollection
(
edm::Event
& evt,
61
const
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken)
const
;
62
63
64
void
clusterizeECALPart(
edm::Event
&evt,
const
edm::EventSetup
&es,
65
const
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken,
66
const
std::string
& clusterCollection,
67
const
std::vector<RectangularEtaPhiRegion>&
regions
,
68
const
reco::CaloID::Detectors
detector
)
const
;
69
70
void
outputValidationInfo(
reco::CaloClusterPtrVector
&clusterPtrVector);
71
72
};
73
#endif
EgammaHLTMulti5x5ClusterProducer::Multi5x5_p
Multi5x5ClusterAlgo * Multi5x5_p
Definition:
EgammaHLTMulti5x5ClusterProducer.h:58
Multi5x5ClusterAlgo.h
edm::SortedCollection< EcalRecHit >
AlignmentPI::regions
regions
Definition:
AlignmentPayloadInspectorHelper.h:54
L1EmParticle.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
EgammaHLTMulti5x5ClusterProducer::l1LowerThr_
double l1LowerThr_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:50
EventSetup.h
EcalRecHitCollections.h
EgammaHLTMulti5x5ClusterProducer::l1LowerThrIgnoreIsolation_
double l1LowerThrIgnoreIsolation_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:52
EgammaHLTMulti5x5ClusterProducer::barrelClusterCollection_
std::string barrelClusterCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:47
EgammaHLTMulti5x5ClusterProducer::l1TagNonIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:41
EgammaHLTMulti5x5ClusterProducer::l1UpperThr_
double l1UpperThr_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:51
gamEcalExtractorBlocks_cff.detector
detector
Definition:
gamEcalExtractorBlocks_cff.py:12
edm::EDGetTokenT< l1extra::L1EmParticleCollection >
Frameworkfwd.h
EgammaHLTMulti5x5ClusterProducer::endcapClusterCollection_
std::string endcapClusterCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:48
ParameterSet.h
EDProducer.h
CaloClusterFwd.h
EgammaHLTMulti5x5ClusterProducer::doBarrel_
bool doBarrel_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:36
EgammaHLTMulti5x5ClusterProducer::barrelHitCollection_
edm::InputTag barrelHitCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:42
EgammaHLTMulti5x5ClusterProducer::doIsolated_
bool doIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:38
RectangularEtaPhiRegion.h
EgammaHLTMulti5x5ClusterProducer::barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:44
EgammaHLTMulti5x5ClusterProducer::endcapHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:45
EgammaHLTMulti5x5ClusterProducer
Definition:
EgammaHLTMulti5x5ClusterProducer.h:27
edm::EventSetup
Definition:
EventSetup.h:51
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
EgammaHLTMulti5x5ClusterProducer::posCalculator_
PositionCalc posCalculator_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:57
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::stream::EDProducer
Definition:
EDProducer.h:38
EgammaHLTMulti5x5ClusterProducer::endcapHitCollection_
edm::InputTag endcapHitCollection_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:43
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:37
edm::PtrVector< CaloCluster >
edm::Event
Definition:
Event.h:70
EgammaHLTMulti5x5ClusterProducer::regionEtaMargin_
double regionEtaMargin_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:54
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:55
EgammaHLTMulti5x5ClusterProducer::l1TagIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
Definition:
EgammaHLTMulti5x5ClusterProducer.h:40
Generated for CMSSW Reference Manual by
1.8.11