42 if ( hits.
size() < 2)
return;
66 if (helix.isValid()) {
67 kine = helix.stateAtVertex();
69 GlobalVector initMomentum(tth2->globalPosition() - vertexPos);
70 initMomentum *= (100./initMomentum.perp());
96 float sin2th = sin2Theta;
101 C[3][3] = transverseErr;
102 C[4][4] = zErr*sin2th + transverseErr*(1.f-sin2th);
123 for (
unsigned int iHit = 0; iHit < hits.
size(); iHit++) {
124 hit = hits[iHit]->hit();
134 if (!
checkHit(state,newtth))
return;
136 updatedState = updator.update(state, *newtth);
137 if (!updatedState.
isValid())
return;
139 seedHits.
push_back(newtth->hit()->clone());
155 return hit->clone(state);
float originRBound() const
bounds the particle vertex in the transverse plane
GlobalPoint const & origin() const
edm::ESHandle< Propagator > propagatorHandle
bool checkHit(const TrajectoryStateOnSurface &tsos, const TransientTrackingRecHit::ConstRecHitPointer &hit) const dso_hidden
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
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
virtual TrajectoryStateOnSurface propagate(const FreeTrajectoryState &, const Surface &) const
Vector3DBase unit() const
double theOriginTransverseErrorMultiplier
edm::ESHandle< TrackerGeometry > tracker
float ptMin() const
minimal pt of interest
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
TransientTrackingRecHit::RecHitPointer refitHit(const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrajectoryStateOnSurface &state) const dso_hidden
TrackCharge charge() const
edm::ESHandle< MagneticField > bfield
const SeedComparitor * filter