Go to the documentation of this file.
19 cutTk_(conf.getParameter<
std::
string>(
"cutTk")),
20 propName_(conf.getParameter<
std::
string>(
"propagator")),
41 std::vector<TICLSeedingRegion> &
result) {
56 int iSide =
int(tk.
eta() > 0);
59 result.emplace_back(tsos.globalPosition(), tsos.globalMomentum(), iSide,
i, trkId);
64 return a.directionAtOrigin.perp2() >
b.directionAtOrigin.perp2();
71 "1.48 < abs(eta) < 3.0 && pt > 1. && quality(\"highPurity\") && "
72 "hitPattern().numberOfLostHits(\"MISSING_OUTER_HITS\") < 5");
79 std::pair<double, double> rMinMax =
hgcons_->
rangeR(zVal,
true);
81 for (
int iSide = 0; iSide < 2; ++iSide) {
82 float zSide = (iSide == 0) ? (-1. * zVal) : zVal;
T const * product() const
const unsigned int nTracks(const reco::Vertex &sv)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
static DiskPointer build(Args &&... args)
double waferZ(int layer, bool reco) const
edm::ESHandle< MagneticField > bfield_
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagator_token_
const HGCalDDDConstants * hgcons_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
std::pair< double, double > rangeR(double z, bool reco) const
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
SeedingRegionByTracks(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
double eta() const
pseudorapidity of momentum vector
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
edm::EDGetTokenT< reco::TrackCollection > tracks_token_
edm::ESHandle< Propagator > propagator_
std::unique_ptr< GeomDet > firstDisk_[2]
const StringCutObjectSelector< reco::Track > cutTk_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
void initialize(const edm::EventSetup &es) override
~SeedingRegionByTracks() override
std::vector< Track > TrackCollection
collection of Tracks