src
RecoHGCal
TICL
plugins
SeedingRegionByL1.h
Go to the documentation of this file.
1
// Author: Swagata Mukherjee
2
3
#ifndef RecoHGCal_TICL_SeedingRegionByL1_h
4
#define RecoHGCal_TICL_SeedingRegionByL1_h
5
#include <memory>
6
#include <string>
7
8
#include "
DataFormats/L1TCorrelator/interface/TkEm.h
"
9
#include "
DataFormats/L1TCorrelator/interface/TkEmFwd.h
"
10
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
11
#include "
FWCore/Framework/interface/ESHandle.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
16
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
18
#include "
FWCore/Utilities/interface/ESGetToken.h
"
19
#include "
RecoHGCal/TICL/plugins/SeedingRegionAlgoBase.h
"
20
21
namespace
ticl
{
22
class
SeedingRegionByL1
final :
public
SeedingRegionAlgoBase
{
23
public
:
24
SeedingRegionByL1
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes);
25
26
void
initialize
(
const
edm::EventSetup
& es)
override
{};
27
void
makeRegions
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es, std::vector<TICLSeedingRegion>&
result
)
override
;
28
static
void
fillPSetDescription
(
edm::ParameterSetDescription
&
desc
);
29
30
private
:
31
edm::EDGetTokenT<std::vector<l1t::TkEm>
>
l1TkEmsToken_
;
32
int
algoVerbosity_
= 0;
33
double
minPt_
;
// minimum pT of L1 TkEm objects
34
double
minAbsEta_
;
// minimum |eta| of L1 TkEm objects
35
double
maxAbsEta_
;
// maximum |eta| of L1 TkEm objects
36
std::vector<double>
endcapScalings_
;
// pT scaling factors for endcap
37
int
quality_
;
// hwQual
38
bool
qualityIsMask_
;
// is hwQual to be applied as a mask
39
bool
applyQuality_
;
// whether to apply quality
40
41
double
tkEmOfflineEt
(
double
et
)
const
;
42
};
43
}
// namespace ticl
44
#endif
ticl::SeedingRegionByL1::maxAbsEta_
double maxAbsEta_
Definition:
SeedingRegionByL1.h:35
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
ticl::SeedingRegionByL1
Definition:
SeedingRegionByL1.h:22
EgHLTOffHistBins_cfi.et
et
Definition:
EgHLTOffHistBins_cfi.py:8
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:22
MessageLogger.h
mps_fire.result
result
Definition:
mps_fire.py:311
Event.h
ticl::SeedingRegionByL1::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
SeedingRegionByL1.cc:74
ticl::SeedingRegionByL1::endcapScalings_
std::vector< double > endcapScalings_
Definition:
SeedingRegionByL1.h:36
TkEm.h
edm::EDGetTokenT
Definition:
EDGetToken.h:37
ticl::SeedingRegionByL1::minPt_
double minPt_
Definition:
SeedingRegionByL1.h:33
Frameworkfwd.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ticl::SeedingRegionByL1::quality_
int quality_
Definition:
SeedingRegionByL1.h:37
ParameterSetDescription.h
ticl::SeedingRegionByL1::minAbsEta_
double minAbsEta_
Definition:
SeedingRegionByL1.h:34
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:56
ticl::SeedingRegionByL1::SeedingRegionByL1
SeedingRegionByL1(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionByL1.cc:19
ticl::SeedingRegionByL1::initialize
void initialize(const edm::EventSetup &es) override
Definition:
SeedingRegionByL1.h:26
ticl::SeedingRegionByL1::l1TkEmsToken_
edm::EDGetTokenT< std::vector< l1t::TkEm > > l1TkEmsToken_
Definition:
SeedingRegionByL1.h:31
ticl::SeedingRegionByL1::makeRegions
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
Definition:
SeedingRegionByL1.cc:31
ticl::SeedingRegionByL1::qualityIsMask_
bool qualityIsMask_
Definition:
SeedingRegionByL1.h:38
ticl::SeedingRegionByL1::algoVerbosity_
int algoVerbosity_
Definition:
SeedingRegionByL1.h:32
ticl::SeedingRegionByL1::tkEmOfflineEt
double tkEmOfflineEt(double et) const
Definition:
SeedingRegionByL1.cc:70
SeedingRegionAlgoBase.h
ticl
Definition:
Common.h:8
edm::ParameterSet
Definition:
ParameterSet.h:47
ConfigurationDescriptions.h
ticl::SeedingRegionByL1::applyQuality_
bool applyQuality_
Definition:
SeedingRegionByL1.h:39
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
MakerMacros.h
ESGetToken.h
TkEmFwd.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14