45 auto builder = (TkTransientTrackingRecHitBuilder
const *)(builderH.
product());
46 cloner = (*builder).cloner();
49 auto builder = (TkTransientTrackingRecHitBuilder
const *)(builderH.
product());
50 cloner = (*builder).cloner();
57 if ( hits.
size() < 2)
return;
81 if (helix.isValid()) {
82 kine = helix.stateAtVertex();
84 GlobalVector initMomentum(tth2->globalPosition() - vertexPos);
85 initMomentum *= (100./initMomentum.perp());
111 float sin2th = sin2Theta;
116 C[3][3] = transverseErr;
117 C[4][4] = zErr*sin2th + transverseErr*(1.f-sin2th);
127 const Propagator* propagator = &(*propagatorHandle);
138 for (
unsigned int iHit = 0; iHit < hits.
size(); iHit++) {
139 hit = hits[iHit]->hit();
147 std::unique_ptr<BaseTrackerRecHit> newtth(
refitHit( tth, state));
149 if (!
checkHit(state,&*newtth))
return;
151 updatedState = updator.update(state, *newtth);
152 if (!updatedState.
isValid())
return;
float originRBound() const
bounds the particle vertex in the transverse plane
GlobalPoint const & origin() const
edm::ESHandle< Propagator > propagatorHandle
virtual bool initialKinematic(GlobalTrajectoryParameters &kine, const SeedingHitSet &hits) const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
virtual bool compatible(const SeedingHitSet &hits, const TrackingRegion ®ion) const =0
uint32_t rawId() const
get the raw id
void buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts) const dso_hidden
SeedingHitSet::RecHitPointer refitHit(SeedingHitSet::ConstRecHitPointer hit, const TrajectoryStateOnSurface &state) const dso_hidden
BaseTrackerRecHit const * ConstRecHitPointer
bool checkHit(const TrajectoryStateOnSurface &tsos, SeedingHitSet::ConstRecHitPointer hit) const dso_hidden
std::vector< TrajectorySeed > TrajectorySeedCollection
std::string thePropagatorLabel
const T & max(const T &a, const T &b)
const TrackingRegion * region
virtual ~SeedFromConsecutiveHitsCreator()
virtual void init(const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter) GCC11_FINAL
GlobalVector momentum() const
double theMinOneOverPtError
float originZBound() const
bounds the particle vertex in the longitudinal plane
GlobalPoint position() const
Vector3DBase unit() const
double theOriginTransverseErrorMultiplier
T const * product() const
edm::ESHandle< TrackerGeometry > tracker
float ptMin() const
minimal pt of interest
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Square< F >::type sqr(const F &f)
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) GCC11_FINAL
CurvilinearTrajectoryError initialError(float sin2Theta) const dso_hidden
unsigned int size() const
DetId geographicalId() const
TrackCharge charge() const
edm::ESHandle< MagneticField > bfield
const SeedComparitor * filter