Go to the documentation of this file.
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;
T const * product() const
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
const std::string detector_