19 cutTk_(conf.getParameter<
std::
string>(
"cutTk")),
20 detector_(conf.getParameter<
std::
string>(
"detector")),
21 propName_(conf.getParameter<
std::
string>(
"propagator")),
25 std::string detectorName_ = (
detector_ ==
"HFNose") ?
"HGCalHFNoseSensitive" :
"HGCalEESensitive";
44 std::vector<TICLSeedingRegion> &
result) {
59 int iSide =
int(tk.
eta() > 0);
62 result.emplace_back(tsos.globalPosition(), tsos.globalMomentum(), iSide,
i, trkId);
67 return a.directionAtOrigin.perp2() >
b.directionAtOrigin.perp2();
74 "1.48 < abs(eta) < 3.0 && pt > 1. && quality(\"highPurity\") && " 75 "hitPattern().numberOfLostHits(\"MISSING_OUTER_HITS\") < 5");
83 std::pair<double, double> rMinMax =
hgcons_->
rangeR(zVal,
true);
85 for (
int iSide = 0; iSide < 2; ++iSide) {
86 float zSide = (iSide == 0) ? (-1. * zVal) : zVal;
double waferZ(int layer, bool reco) const
static DiskPointer build(Args &&... args)
edm::ESHandle< MagneticField > bfield_
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagator_token_
~SeedingRegionByTracks() override
const std::string detector_
std::vector< Track > TrackCollection
collection of Tracks
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
T const * product() const
static void fillPSetDescription(edm::ParameterSetDescription &desc)
const HGCalDDDConstants * hgcons_
edm::EDGetTokenT< reco::TrackCollection > tracks_token_
edm::ESHandle< Propagator > propagator_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
std::pair< double, double > rangeR(double z, bool reco) const
double eta() const
pseudorapidity of momentum vector
const StringCutObjectSelector< reco::Track > cutTk_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
SeedingRegionByTracks(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
std::unique_ptr< GeomDet > firstDisk_[2]
void initialize(const edm::EventSetup &es) override
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
static void fillPSetDescription(edm::ParameterSetDescription &desc)