Go to the documentation of this file.
86 produces<reco::TrackCollection>();
87 produces<TrackingRecHitCollection>();
88 produces<reco::TrackExtraCollection>();
104 using namespace reco;
119 const auto&
seeds = *hseeds;
135 for (
size_t iSeed = 0; iSeed <
seeds.size(); ++iSeed) {
139 if (
seed.nHits() == 0) {
140 const Surface* deepCore_sruface = &geometry_->
idToDet(
seed.startingState().detId())->specificSurface();
148 if (tsAtClosestApproachSeed.
isValid()) {
158 tracks->emplace_back(0., 0., vSeed1, pSeed,
state.charge(), seedPerigeeErrors.covarianceMatrix());
160 edm::LogVerbatim(
"SeedValidator") <<
"TrajectoryStateClosestToBeamLine not valid";
168 tracks->back().appendHits(
seed.recHits().begin(),
seed.recHits().end(), ttopo);
170 size_t firsthitindex =
rechits->size();
177 trackextras->back().setHits(ref_rechits, firsthitindex,
rechits->size() - firsthitindex);
184 edm::LogInfo(
"SeedValidator") <<
"failed to create tracks from " << nfailed <<
" out of " <<
seeds.size()
GlobalVector momentum() const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
GlobalPoint position() const
Log< level::Info, false > LogInfo
std::shared_ptr< TrackingRecHit const > RecHitPointer
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > ttrhToken_
#define DEFINE_FWK_MODULE(type)
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedsToken
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
const edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > geoToken_
edm::Ref< TrackExtraCollection > TrackExtraRef
persistent reference to a TrackExtra
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken
TrackFromSeedProducer(const edm::ParameterSet &)
bool getData(T &iHolder) const
math::XYZPoint Point
point in the space
Log< level::Info, true > LogVerbatim
const GeomDet * idToDet(DetId) const override
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
~TrackFromSeedProducer() override
FTS const & trackStateAtPCA() const
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > mfToken_
PerigeeTrajectoryError ftsToPerigeeError(const FTS &originalFTS)
math::Error< dimension >::type CovarianceMatrix
5 parameter covariance matrix
void addDefault(ParameterSetDescription const &psetDescription)
std::vector< Track > TrackCollection
collection of Tracks
math::XYZVector Vector
spatial vector