#include <SeedingRegionByL1.h>
Definition at line 22 of file SeedingRegionByL1.h.
◆ SeedingRegionByL1()
Definition at line 19 of file SeedingRegionByL1.cc.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
SeedingRegionAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
std::vector< double > endcapScalings_
edm::EDGetTokenT< std::vector< l1t::TkEm > > l1TkEmsToken_
◆ fillPSetDescription()
Definition at line 74 of file SeedingRegionByL1.cc.
References submitPVResolutionJobs::desc, ticl::SeedingRegionAlgoBase::fillPSetDescription(), and ProducerED_cfi::InputTag.
76 desc.add<
double>(
"minPt", 10);
77 desc.add<
double>(
"minAbsEta", 1.479);
78 desc.add<
double>(
"maxAbsEta", 4.0);
79 desc.add<std::vector<double>>(
"endcapScalings", {3.17445, 1.13219, 0.0});
80 desc.add<
int>(
"quality", 5);
81 desc.add<
bool>(
"qualityIsMask",
false);
82 desc.add<
bool>(
"applyQuality",
false);
static void fillPSetDescription(edm::ParameterSetDescription &desc)
◆ initialize()
◆ makeRegions()
Implements ticl::SeedingRegionAlgoBase.
Definition at line 31 of file SeedingRegionByL1.cc.
References a, funct::abs(), b, makeMEIFBenchmarkPlots::ev, edm::ProductID::id(), createfilelist::int, mps_fire::result, and jetUpdater_cfi::sort.
37 for (
size_t indx = 0; indx < (*l1TrkEms).size(); indx++) {
38 const auto &l1TrkEm = (*l1TrkEms)[indx];
40 bool passQuality(
false);
44 passQuality = (l1TrkEm.hwQual() &
quality_);
46 passQuality = (l1TrkEm.hwQual() ==
quality_);
57 int iSide =
int(l1TrkEm.eta() > 0);
58 result.emplace_back(
GlobalPoint(l1TrkEm.p4().X(), l1TrkEm.p4().Y(), l1TrkEm.p4().Z()),
66 return a.directionAtOrigin.perp2() >
b.directionAtOrigin.perp2();
Global3DPoint GlobalPoint
Abs< T >::type abs(const T &t)
edm::EDGetTokenT< std::vector< l1t::TkEm > > l1TkEmsToken_
double tkEmOfflineEt(double et) const
Global3DVector GlobalVector
◆ tkEmOfflineEt()
double ticl::SeedingRegionByL1::tkEmOfflineEt |
( |
double |
et | ) |
const |
|
private |
◆ algoVerbosity_
int ticl::SeedingRegionByL1::algoVerbosity_ = 0 |
|
private |
◆ applyQuality_
bool ticl::SeedingRegionByL1::applyQuality_ |
|
private |
◆ endcapScalings_
std::vector<double> ticl::SeedingRegionByL1::endcapScalings_ |
|
private |
◆ l1TkEmsToken_
◆ maxAbsEta_
double ticl::SeedingRegionByL1::maxAbsEta_ |
|
private |
◆ minAbsEta_
double ticl::SeedingRegionByL1::minAbsEta_ |
|
private |
◆ minPt_
double ticl::SeedingRegionByL1::minPt_ |
|
private |
◆ quality_
int ticl::SeedingRegionByL1::quality_ |
|
private |
◆ qualityIsMask_
bool ticl::SeedingRegionByL1::qualityIsMask_ |
|
private |