12 minAbsEta_(conf.getParameter<double>(
"minAbsEta")),
13 maxAbsEta_(conf.getParameter<double>(
"maxAbsEta")),
14 minEt_(conf.getParameter<double>(
"minEt")) {
24 std::vector<TICLSeedingRegion> &
result) {
27 for (
const auto &erh :
recHits) {
34 auto eta = globalPosition.
eta();
43 auto phi = globalPosition.
phi();
51 return a.directionAtOrigin.perp2() >
b.directionAtOrigin.perp2();
57 desc.add<
int>(
"algo_verbosity", 0);
58 desc.add<
double>(
"minAbsEta", 3.0);
59 desc.add<
double>(
"maxAbsEta", 4.0);
60 desc.add<
double>(
"minEt", 5);
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Geom::Phi< T > phi() const
SeedingRegionByHF(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
void initialize(const edm::EventSetup &es) override
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geo_token_
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
Abs< T >::type abs(const T &t)
virtual std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
const CaloGeometry * geometry_
~SeedingRegionByHF() override
constexpr uint32_t rawId() const
get the raw id
edm::EDGetTokenT< HFRecHitCollection > hfhits_token_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Geom::Theta< T > theta() const
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Global3DVector GlobalVector