#include <SeedingRegionByL1.h>
Definition at line 22 of file SeedingRegionByL1.h.
Definition at line 19 of file SeedingRegionByL1.cc.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
SeedingRegionAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
std::vector< double > endcapScalings_
edm::EDGetTokenT< std::vector< l1t::TkEm > > l1TkEmsToken_
T getParameter(std::string const &) const
Definition at line 60 of file SeedingRegionByL1.cc.
References edm::ParameterSetDescription::add(), ticl::SeedingRegionAlgoBase::fillPSetDescription(), and HLT_FULL_cff::InputTag.
62 desc.
add<
double>(
"minPt", 10);
63 desc.
add<
double>(
"minAbsEta", 1.479);
64 desc.
add<
double>(
"maxAbsEta", 4.0);
65 desc.
add<std::vector<double>>(
"endcapScalings", {3.17445, 1.13219, 0.0});
66 desc.
add<
int>(
"quality", 5);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Implements ticl::SeedingRegionAlgoBase.
Definition at line 29 of file SeedingRegionByL1.cc.
References a, funct::abs(), b, TICLSeedingRegion::directionAtOrigin, edm::Event::getHandle(), edm::ProductID::id(), and PV3DBase< T, PVType, FrameType >::perp2().
35 for (
size_t indx = 0; indx < (*l1TrkEms).size(); indx++) {
36 const auto &l1TrkEm = (*l1TrkEms)[indx];
39 (l1TrkEm.EGRef()->hwQual() !=
quality_)) {
43 int iSide = int(l1TrkEm.eta() > 0);
44 result.emplace_back(
GlobalPoint(l1TrkEm.p4().X(), l1TrkEm.p4().Y(), l1TrkEm.p4().Z()),
GlobalVector directionAtOrigin
Global3DPoint GlobalPoint
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
Abs< T >::type abs(const T &t)
edm::EDGetTokenT< std::vector< l1t::TkEm > > l1TkEmsToken_
double tkEmOfflineEt(double et) const
Global3DVector GlobalVector
double ticl::SeedingRegionByL1::tkEmOfflineEt |
( |
double |
et | ) |
const |
|
private |
int ticl::SeedingRegionByL1::algoVerbosity_ = 0 |
|
private |
std::vector<double> ticl::SeedingRegionByL1::endcapScalings_ |
|
private |
double ticl::SeedingRegionByL1::maxAbsEta_ |
|
private |
double ticl::SeedingRegionByL1::minAbsEta_ |
|
private |
double ticl::SeedingRegionByL1::minPt_ |
|
private |
int ticl::SeedingRegionByL1::quality_ |
|
private |