Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaHLTProducers
interface
EgammaHLTIslandClusterProducer.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaClusterProducers_EgammaHLTIslandClusterProducer_h_
2
#define RecoEcal_EgammaClusterProducers_EgammaHLTIslandClusterProducer_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 "
RecoEcal/EgammaClusterAlgos/interface/IslandClusterAlgo.h
"
15
#include "
RecoEcal/EgammaCoreTools/interface/PositionCalc.h
"
16
#include "
DataFormats/Math/interface/RectangularEtaPhiRegion.h
"
17
18
#include "
DataFormats/L1Trigger/interface/L1EmParticle.h
"
19
#include "
DataFormats/L1Trigger/interface/L1EmParticleFwd.h
"
20
21
namespace
edm
{
22
class
ConfigurationDescriptions
;
23
}
24
25
class
EgammaHLTIslandClusterProducer
:
public
edm::stream::EDProducer
<> {
26
public
:
27
EgammaHLTIslandClusterProducer
(
const
edm::ParameterSet
& ps);
28
~
EgammaHLTIslandClusterProducer
()
override
;
29
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
30
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
31
32
private
:
33
34
const
bool
doBarrel_
;
35
const
bool
doEndcaps_
;
36
const
bool
doIsolated_
;
37
38
const
edm::InputTag
barrelHitCollection_
;
39
const
edm::InputTag
endcapHitCollection_
;
40
const
edm::EDGetTokenT<EcalRecHitCollection>
barrelHitToken_
;
41
const
edm::EDGetTokenT<EcalRecHitCollection>
endcapHitToken_
;
42
43
const
std::string
barrelClusterCollection_
;
44
const
std::string
endcapClusterCollection_
;
45
46
const
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagIsolated_
;
47
const
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagNonIsolated_
;
48
const
double
l1LowerThr_
;
49
const
double
l1UpperThr_
;
50
const
double
l1LowerThrIgnoreIsolation_
;
51
52
const
double
regionEtaMargin_
;
53
const
double
regionPhiMargin_
;
54
55
const
PositionCalc
posCalculator_
;
// position calculation algorithm
56
const
std::string
verb_
;
57
IslandClusterAlgo
*
const
island_p
;
58
59
const
EcalRecHitCollection
*
getCollection
(
edm::Event
& evt,
60
const
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken)
const
;
61
62
63
void
clusterizeECALPart(
edm::Event
&evt,
const
edm::EventSetup
&es,
64
const
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken,
65
const
std::string
& clusterCollection,
66
const
std::vector<RectangularEtaPhiRegion>&
regions
,
67
const
IslandClusterAlgo::EcalPart
& ecalPart)
const
;
68
};
69
#endif
IslandClusterAlgo::EcalPart
EcalPart
Definition:
IslandClusterAlgo.h:30
EgammaHLTIslandClusterProducer::doEndcaps_
const bool doEndcaps_
Definition:
EgammaHLTIslandClusterProducer.h:35
IslandClusterAlgo.h
EgammaHLTIslandClusterProducer::endcapHitCollection_
const edm::InputTag endcapHitCollection_
Definition:
EgammaHLTIslandClusterProducer.h:39
EgammaHLTIslandClusterProducer
Definition:
EgammaHLTIslandClusterProducer.h:25
edm::SortedCollection< EcalRecHit >
AlignmentPI::regions
regions
Definition:
AlignmentPayloadInspectorHelper.h:54
L1EmParticle.h
EgammaHLTIslandClusterProducer::doBarrel_
const bool doBarrel_
Definition:
EgammaHLTIslandClusterProducer.h:34
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
EventSetup.h
EcalRecHitCollections.h
EgammaHLTIslandClusterProducer::barrelClusterCollection_
const std::string barrelClusterCollection_
Definition:
EgammaHLTIslandClusterProducer.h:43
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
EgammaHLTIslandClusterProducer::l1TagIsolated_
const edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:46
EgammaHLTIslandClusterProducer::posCalculator_
const PositionCalc posCalculator_
Definition:
EgammaHLTIslandClusterProducer.h:55
ParameterSet.h
EDProducer.h
EgammaHLTIslandClusterProducer::regionPhiMargin_
const double regionPhiMargin_
Definition:
EgammaHLTIslandClusterProducer.h:53
RectangularEtaPhiRegion.h
EgammaHLTIslandClusterProducer::doIsolated_
const bool doIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:36
EgammaHLTIslandClusterProducer::l1LowerThr_
const double l1LowerThr_
Definition:
EgammaHLTIslandClusterProducer.h:48
EgammaHLTIslandClusterProducer::regionEtaMargin_
const double regionEtaMargin_
Definition:
EgammaHLTIslandClusterProducer.h:52
edm::EventSetup
Definition:
EventSetup.h:54
IslandClusterAlgo
Definition:
IslandClusterAlgo.h:26
L1EmParticleFwd.h
EgammaHLTIslandClusterProducer::barrelHitCollection_
const edm::InputTag barrelHitCollection_
Definition:
EgammaHLTIslandClusterProducer.h:38
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:15
PositionCalc
Definition:
PositionCalc.h:29
PositionCalc.h
ConfigurationDescriptions
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::stream::EDProducer
Definition:
EDProducer.h:38
EgammaHLTIslandClusterProducer::island_p
IslandClusterAlgo *const island_p
Definition:
EgammaHLTIslandClusterProducer.h:57
EgammaHLTIslandClusterProducer::barrelHitToken_
const edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
Definition:
EgammaHLTIslandClusterProducer.h:40
EgammaHLTIslandClusterProducer::l1UpperThr_
const double l1UpperThr_
Definition:
EgammaHLTIslandClusterProducer.h:49
EgammaHLTIslandClusterProducer::endcapClusterCollection_
const std::string endcapClusterCollection_
Definition:
EgammaHLTIslandClusterProducer.h:44
EgammaHLTIslandClusterProducer::verb_
const std::string verb_
Definition:
EgammaHLTIslandClusterProducer.h:56
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
EgammaHLTIslandClusterProducer::l1LowerThrIgnoreIsolation_
const double l1LowerThrIgnoreIsolation_
Definition:
EgammaHLTIslandClusterProducer.h:50
edm::ParameterSet
Definition:
ParameterSet.h:36
EgammaHLTIslandClusterProducer::endcapHitToken_
const edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
Definition:
EgammaHLTIslandClusterProducer.h:41
edm::Event
Definition:
Event.h:70
EgammaHLTIslandClusterProducer::l1TagNonIsolated_
const edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:47
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
Generated for CMSSW Reference Manual by
1.8.11