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/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::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
int
nMaxPrintout_
;
// max # of printouts
35
int
nEvt_
;
// internal counter of events
36
37
IslandClusterAlgo::VerbosityLevel
verbosity
;
38
39
bool
doBarrel_
;
40
bool
doEndcaps_
;
41
bool
doIsolated_
;
42
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
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagIsolated_
;
52
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagNonIsolated_
;
53
double
l1LowerThr_
;
54
double
l1UpperThr_
;
55
double
l1LowerThrIgnoreIsolation_
;
56
57
double
regionEtaMargin_
;
58
double
regionPhiMargin_
;
59
60
PositionCalc
posCalculator_
;
// position calculation algorithm
61
IslandClusterAlgo
*
island_p
;
62
63
bool
counterExceeded
()
const
{
return
((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
64
65
const
EcalRecHitCollection
*
getCollection
(
edm::Event
& evt,
66
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken);
67
68
69
void
clusterizeECALPart(
edm::Event
&evt,
const
edm::EventSetup
&es,
70
edm::EDGetTokenT<EcalRecHitCollection>
& hitToken,
71
const
std::string
& clusterCollection,
72
const
std::vector<RectangularEtaPhiRegion>&
regions
,
73
const
IslandClusterAlgo::EcalPart
& ecalPart);
74
};
75
#endif
IslandClusterAlgo::EcalPart
EcalPart
Definition:
IslandClusterAlgo.h:31
EgammaHLTIslandClusterProducer::endcapHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
Definition:
EgammaHLTIslandClusterProducer.h:46
IslandClusterAlgo.h
EgammaHLTIslandClusterProducer
Definition:
EgammaHLTIslandClusterProducer.h:25
edm::SortedCollection< EcalRecHit >
AlignmentPI::regions
regions
Definition:
AlignmentPayloadInspectorHelper.h:51
EgammaHLTIslandClusterProducer::counterExceeded
bool counterExceeded() const
Definition:
EgammaHLTIslandClusterProducer.h:63
EgammaHLTIslandClusterProducer::l1UpperThr_
double l1UpperThr_
Definition:
EgammaHLTIslandClusterProducer.h:54
L1EmParticle.h
EgammaHLTIslandClusterProducer::l1TagNonIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EgammaHLTIslandClusterProducer::doEndcaps_
bool doEndcaps_
Definition:
EgammaHLTIslandClusterProducer.h:40
Event.h
EventSetup.h
EcalRecHitCollections.h
EgammaHLTIslandClusterProducer::nEvt_
int nEvt_
Definition:
EgammaHLTIslandClusterProducer.h:35
EgammaHLTIslandClusterProducer::l1LowerThrIgnoreIsolation_
double l1LowerThrIgnoreIsolation_
Definition:
EgammaHLTIslandClusterProducer.h:55
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
EgammaHLTIslandClusterProducer::verbosity
IslandClusterAlgo::VerbosityLevel verbosity
Definition:
EgammaHLTIslandClusterProducer.h:37
EgammaHLTIslandClusterProducer::doIsolated_
bool doIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:41
ParameterSet.h
EgammaHLTIslandClusterProducer::endcapClusterCollection_
std::string endcapClusterCollection_
Definition:
EgammaHLTIslandClusterProducer.h:49
EgammaHLTIslandClusterProducer::l1LowerThr_
double l1LowerThr_
Definition:
EgammaHLTIslandClusterProducer.h:53
EgammaHLTIslandClusterProducer::island_p
IslandClusterAlgo * island_p
Definition:
EgammaHLTIslandClusterProducer.h:61
EgammaHLTIslandClusterProducer::barrelClusterCollection_
std::string barrelClusterCollection_
Definition:
EgammaHLTIslandClusterProducer.h:48
EgammaHLTIslandClusterProducer::endcapHitCollection_
edm::InputTag endcapHitCollection_
Definition:
EgammaHLTIslandClusterProducer.h:44
RectangularEtaPhiRegion.h
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
EgammaHLTIslandClusterProducer::regionPhiMargin_
double regionPhiMargin_
Definition:
EgammaHLTIslandClusterProducer.h:58
edm::EventSetup
Definition:
EventSetup.h:48
EgammaHLTIslandClusterProducer::barrelHitCollection_
edm::InputTag barrelHitCollection_
Definition:
EgammaHLTIslandClusterProducer.h:43
IslandClusterAlgo
Definition:
IslandClusterAlgo.h:27
EgammaHLTIslandClusterProducer::posCalculator_
PositionCalc posCalculator_
Definition:
EgammaHLTIslandClusterProducer.h:60
EgammaHLTIslandClusterProducer::nMaxPrintout_
int nMaxPrintout_
Definition:
EgammaHLTIslandClusterProducer.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:17
PositionCalc
Definition:
PositionCalc.h:29
PositionCalc.h
ConfigurationDescriptions
EDProducer.h
EgammaHLTIslandClusterProducer::l1TagIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:51
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
EgammaHLTIslandClusterProducer::regionEtaMargin_
double regionEtaMargin_
Definition:
EgammaHLTIslandClusterProducer.h:57
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
EgammaHLTIslandClusterProducer::barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
Definition:
EgammaHLTIslandClusterProducer.h:45
EgammaHLTIslandClusterProducer::doBarrel_
bool doBarrel_
Definition:
EgammaHLTIslandClusterProducer.h:39
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
IslandClusterAlgo::VerbosityLevel
VerbosityLevel
Definition:
IslandClusterAlgo.h:32
Generated for CMSSW Reference Manual by
1.8.11