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);
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;
edm::ESHandle< MagneticField > bfield_
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagator_token_
~SeedingRegionByTracks() override
GlobalVector directionAtOrigin
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const std::string detector_
std::vector< Track > TrackCollection
collection of Tracks
std::pair< double, double > rangeR(double z, bool reco) const
double eta() const
pseudorapidity of momentum vector
static DiskPointer build(Args &&...args)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
const HGCalDDDConstants * hgcons_
edm::EDGetTokenT< reco::TrackCollection > tracks_token_
edm::ESHandle< Propagator > propagator_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
double waferZ(int layer, bool reco) const
const StringCutObjectSelector< reco::Track > cutTk_
T const * product() const
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
SeedingRegionByTracks(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
std::unique_ptr< GeomDet > firstDisk_[2]
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
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)