46 cloner = (*builder).cloner();
52 if ( hits.
size() < 2)
return;
80 float zErr = vertexErr.czz();
81 float transverseErr = vertexErr.cxx();
84 C[1][1] = deltaEta*deltaEta*4;
85 C[2][2] = deltaPhi*deltaPhi*4;
86 C[3][3] = transverseErr;
87 C[4][4] = zErr*sin2Theta + transverseErr*(1-sin2Theta);
108 if (helix.isValid()) {
109 kine = helix.stateAtVertex();
111 GlobalVector initMomentum(tth2->globalPosition() - vertexPos);
112 initMomentum *= (100./initMomentum.perp());
138 float sin2th = sin2Theta;
143 C[3][3] = transverseErr;
144 C[4][4] = zErr*sin2th + transverseErr*(1.f-sin2th);
165 for (
unsigned int iHit = 0; iHit < hits.
size(); iHit++) {
166 hit = hits[iHit]->hit();
174 std::unique_ptr<BaseTrackerRecHit> newtth(
refitHit( tth, state));
176 if (!
checkHit(state,&*newtth))
return;
178 updatedState = updator.
update(state, *newtth);
179 if (!updatedState.
isValid())
return;
float originRBound() const
bounds the particle vertex in the transverse plane
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) final
GlobalPoint const & origin() const
const GlobalTrajectoryParameters & parameters() const
edm::ESHandle< Propagator > propagatorHandle
const Margin & phiMargin() const
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
TrackCharge charge() const
CurvilinearTrajectoryError initialError(float sin2Theta) const
virtual bool compatible(const SeedingHitSet &hits, const TrackingRegion ®ion) const =0
static const double deltaEta
uint32_t rawId() const
get the raw id
GlobalVector const & direction() const
the direction around which region is constructed
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
GlobalVector momentum() const
bool forceKinematicWithRegionDirection_
float originZBound() const
bounds the particle vertex in the longitudinal plane
GlobalPoint position() const
Vector3DBase unit() const
double theOriginTransverseErrorMultiplier
virtual void init(const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter) final
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)
static int position[264][3]
unsigned int size() const
const MagneticField & magneticField() const
DetId geographicalId() const
TrackCharge charge() const
edm::ESHandle< MagneticField > bfield
const SeedComparitor * filter
bool checkHit(const TrajectoryStateOnSurface &tsos, SeedingHitSet::ConstRecHitPointer hit) const
const Range & etaRange() const
allowed eta range [eta_min, eta_max] interval