46 cloner = (*builder).cloner();
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
virtual FreeTrajectoryState propagate(const FreeTrajectoryState &ftsStart, const GlobalPoint &pDest) const final
GlobalPoint const & origin() const
virtual void init(const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter)
edm::ESHandle< Propagator > propagatorHandle
void buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts) const
virtual bool initialKinematic(GlobalTrajectoryParameters &kine, const SeedingHitSet &hits) const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
CurvilinearTrajectoryError initialError(float sin2Theta) const
virtual bool compatible(const SeedingHitSet &hits, const TrackingRegion ®ion) const =0
uint32_t rawId() const
get the raw id
BaseTrackerRecHit const * ConstRecHitPointer
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const
std::vector< TrajectorySeed > TrajectorySeedCollection
std::string thePropagatorLabel
SeedingHitSet::RecHitPointer refitHit(SeedingHitSet::ConstRecHitPointer hit, const TrajectoryStateOnSurface &state) const
const TrackingRegion * region
virtual ~SeedFromConsecutiveHitsCreator()
GlobalVector momentum() const
double theMinOneOverPtError
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits)
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
Square< F >::type sqr(const F &f)
unsigned int size() const
DetId geographicalId() const
TrackCharge charge() const
edm::ESHandle< MagneticField > bfield
const SeedComparitor * filter
bool checkHit(const TrajectoryStateOnSurface &tsos, SeedingHitSet::ConstRecHitPointer hit) const