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 <time.h>
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
17
#include "
DataFormats/L1Trigger/interface/L1EmParticle.h
"
18
#include "
DataFormats/L1Trigger/interface/L1EmParticleFwd.h
"
19
20
namespace
edm
{
21
class
ConfigurationDescriptions
;
22
}
23
24
class
EgammaHLTIslandClusterProducer
:
public
edm::EDProducer
{
25
public
:
26
EgammaHLTIslandClusterProducer
(
const
edm::ParameterSet
& ps);
27
~
EgammaHLTIslandClusterProducer
();
28
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
29
static
void
fillDescriptions(
edm::ConfigurationDescriptions
& descriptions);
30
31
private
:
32
33
int
nMaxPrintout_
;
// max # of printouts
34
int
nEvt_
;
// internal counter of events
35
36
IslandClusterAlgo::VerbosityLevel
verbosity
;
37
38
bool
doBarrel_
;
39
bool
doEndcaps_
;
40
bool
doIsolated_
;
41
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
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagIsolated_
;
51
edm::EDGetTokenT<l1extra::L1EmParticleCollection>
l1TagNonIsolated_
;
52
double
l1LowerThr_
;
53
double
l1UpperThr_
;
54
double
l1LowerThrIgnoreIsolation_
;
55
56
double
regionEtaMargin_
;
57
double
regionPhiMargin_
;
58
59
PositionCalc
posCalculator_
;
// position calculation algorithm
60
IslandClusterAlgo
*
island_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<EcalEtaPhiRegion>& regions,
72
const
IslandClusterAlgo::EcalPart
& ecalPart);
73
};
74
#endif
IslandClusterAlgo::EcalPart
EcalPart
Definition:
IslandClusterAlgo.h:31
EgammaHLTIslandClusterProducer::endcapHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
Definition:
EgammaHLTIslandClusterProducer.h:45
IslandClusterAlgo.h
EgammaHLTIslandClusterProducer
Definition:
EgammaHLTIslandClusterProducer.h:24
edm::SortedCollection< EcalRecHit >
EgammaHLTIslandClusterProducer::counterExceeded
bool counterExceeded() const
Definition:
EgammaHLTIslandClusterProducer.h:62
EgammaHLTIslandClusterProducer::l1UpperThr_
double l1UpperThr_
Definition:
EgammaHLTIslandClusterProducer.h:53
L1EmParticle.h
EgammaHLTIslandClusterProducer::l1TagNonIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:51
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EgammaHLTIslandClusterProducer::doEndcaps_
bool doEndcaps_
Definition:
EgammaHLTIslandClusterProducer.h:39
Event.h
EventSetup.h
EcalRecHitCollections.h
EgammaHLTIslandClusterProducer::nEvt_
int nEvt_
Definition:
EgammaHLTIslandClusterProducer.h:34
EgammaHLTIslandClusterProducer::l1LowerThrIgnoreIsolation_
double l1LowerThrIgnoreIsolation_
Definition:
EgammaHLTIslandClusterProducer.h:54
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
EgammaHLTIslandClusterProducer::verbosity
IslandClusterAlgo::VerbosityLevel verbosity
Definition:
EgammaHLTIslandClusterProducer.h:36
EgammaHLTIslandClusterProducer::doIsolated_
bool doIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:40
ParameterSet.h
EgammaHLTIslandClusterProducer::endcapClusterCollection_
std::string endcapClusterCollection_
Definition:
EgammaHLTIslandClusterProducer.h:48
EgammaHLTIslandClusterProducer::l1LowerThr_
double l1LowerThr_
Definition:
EgammaHLTIslandClusterProducer.h:52
EgammaHLTIslandClusterProducer::island_p
IslandClusterAlgo * island_p
Definition:
EgammaHLTIslandClusterProducer.h:60
EgammaHLTIslandClusterProducer::barrelClusterCollection_
std::string barrelClusterCollection_
Definition:
EgammaHLTIslandClusterProducer.h:47
EgammaHLTIslandClusterProducer::endcapHitCollection_
edm::InputTag endcapHitCollection_
Definition:
EgammaHLTIslandClusterProducer.h:43
EgammaHLTIslandClusterProducer::regionPhiMargin_
double regionPhiMargin_
Definition:
EgammaHLTIslandClusterProducer.h:57
edm::EventSetup
Definition:
EventSetup.h:45
EgammaHLTIslandClusterProducer::barrelHitCollection_
edm::InputTag barrelHitCollection_
Definition:
EgammaHLTIslandClusterProducer.h:42
IslandClusterAlgo
Definition:
IslandClusterAlgo.h:27
EgammaHLTIslandClusterProducer::posCalculator_
PositionCalc posCalculator_
Definition:
EgammaHLTIslandClusterProducer.h:59
EgammaHLTIslandClusterProducer::nMaxPrintout_
int nMaxPrintout_
Definition:
EgammaHLTIslandClusterProducer.h:33
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
PositionCalc.h
ConfigurationDescriptions
EDProducer.h
EgammaHLTIslandClusterProducer::l1TagIsolated_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
Definition:
EgammaHLTIslandClusterProducer.h:50
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
EgammaHLTIslandClusterProducer::regionEtaMargin_
double regionEtaMargin_
Definition:
EgammaHLTIslandClusterProducer.h:56
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
EgammaHLTIslandClusterProducer::barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
Definition:
EgammaHLTIslandClusterProducer.h:44
EgammaHLTIslandClusterProducer::doBarrel_
bool doBarrel_
Definition:
EgammaHLTIslandClusterProducer.h:38
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
IslandClusterAlgo::VerbosityLevel
VerbosityLevel
Definition:
IslandClusterAlgo.h:32
Generated for CMSSW Reference Manual by
1.8.11