1 #ifndef RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
2 #define RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
26 ,
theBOFFMomentum (cfg.existsAs<double>(
"SeedMomentumForBOFF") ? cfg.getParameter<double>(
"SeedMomentumForBOFF") : 5.0)
28 ,
theMinOneOverPtError (cfg.existsAs<double>(
"MinOneOverPtError") ? cfg.getParameter<double>(
"MinOneOverPtError") : 1.0)
37 if (cfg.
exists(
"SimpleMagneticField")) {
44 const std::string & propagator =
"PropagatorWithMaterial",
double seedMomentumForBOFF = -5.0,
45 double aOriginTransverseErrorMultiplier = 1.0,
double aMinOneOverPtError = 1.0,
const std::string & bname=
"WithTrackAngle")
T getParameter(std::string const &) const
edm::ESHandle< Propagator > propagatorHandle
bool exists(std::string const ¶meterName) const
checks if a parameter exists
virtual bool initialKinematic(GlobalTrajectoryParameters &kine, const SeedingHitSet &hits) const
SeedFromConsecutiveHitsCreator(const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0, double aOriginTransverseErrorMultiplier=1.0, double aMinOneOverPtError=1.0, const std::string &bname="WithTrackAngle")
void buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts) const dso_hidden
SeedingHitSet::RecHitPointer refitHit(SeedingHitSet::ConstRecHitPointer hit, const TrajectoryStateOnSurface &state) const dso_hidden
BaseTrackerRecHit const * ConstRecHitPointer
bool checkHit(const TrajectoryStateOnSurface &tsos, SeedingHitSet::ConstRecHitPointer hit) const dso_hidden
std::vector< TrajectorySeed > TrajectorySeedCollection
std::string thePropagatorLabel
const TrackingRegion * region
virtual ~SeedFromConsecutiveHitsCreator()
virtual void init(const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter) GCC11_FINAL
double theMinOneOverPtError
SeedFromConsecutiveHitsCreator(const edm::ParameterSet &cfg)
double theOriginTransverseErrorMultiplier
edm::ESHandle< TrackerGeometry > tracker
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) GCC11_FINAL
CurvilinearTrajectoryError initialError(float sin2Theta) const dso_hidden
volatile std::atomic< bool > shutdown_flag false
edm::ESHandle< MagneticField > bfield
const SeedComparitor * filter