29 desc.
add<
std::string>(
"propagator",
"PropagatorWithMaterialParabolicMf");
30 desc.
add<
double>(
"SeedMomentumForBOFF", 5.0);
31 desc.
add<
double>(
"OriginTransverseErrorMultiplier", 1.0);
32 desc.
add<
double>(
"MinOneOverPtError", 1.0);
35 desc.
add<
bool>(
"forceKinematicWithRegionDirection",
false);
57 cloner = (*builder).cloner();
63 if ( hits.
size() < 2)
return;
91 float zErr = vertexErr.czz();
92 float transverseErr = vertexErr.cxx();
95 C[1][1] = deltaEta*deltaEta*4;
96 C[2][2] = deltaPhi*deltaPhi*4;
97 C[3][3] = transverseErr;
98 C[4][4] = zErr*sin2Theta + transverseErr*(1-sin2Theta);
119 if (helix.isValid()) {
120 kine = helix.stateAtVertex();
122 GlobalVector initMomentum(tth2->globalPosition() - vertexPos);
123 initMomentum *= (100./initMomentum.perp());
149 float sin2th = sin2Theta;
154 C[3][3] = transverseErr;
155 C[4][4] = zErr*sin2th + transverseErr*(1.f-sin2th);
176 for (
unsigned int iHit = 0; iHit < hits.
size(); iHit++) {
177 hit = hits[iHit]->hit();
185 std::unique_ptr<BaseTrackerRecHit> newtth(
refitHit( tth, state));
187 if (!
checkHit(state,&*newtth))
return;
189 updatedState = updator.
update(state, *newtth);
190 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
int nominalValue() const
The nominal field value for this map in kGauss.
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
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
virtual bool compatible(const SeedingHitSet &hits) const =0
double theMinOneOverPtError
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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
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
static void fillDescriptions(edm::ParameterSetDescription &desc)
TrackCharge charge() const
edm::ESHandle< MagneticField > bfield
T const * product() const
const SeedComparitor * filter
const TrackerGeomDet * idToDet(DetId) const
bool checkHit(const TrajectoryStateOnSurface &tsos, SeedingHitSet::ConstRecHitPointer hit) const
const Range & etaRange() const
allowed eta range [eta_min, eta_max] interval