42 if ( hits.
size() < 2)
return;
65 if (helix.isValid()) {
66 kine = helix.stateAtVertex();
68 GlobalVector initMomentum(tth2->globalPosition() - vertexPos);
69 initMomentum *= (100./initMomentum.perp());
95 float sin2th = sin2Theta;
100 C[3][3] = transverseErr;
101 C[4][4] = zErr*sin2th + transverseErr*(1.f-sin2th);
122 for (
unsigned int iHit = 0; iHit < hits.
size(); iHit++) {
123 hit = hits[iHit]->hit();
133 if (!
checkHit(state,newtth))
return;
135 updatedState = updator.update(state, *newtth);
136 if (!updatedState.
isValid())
return;
138 seedHits.
push_back(newtth->hit()->clone());
154 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