1 #ifndef RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
2 #define RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
25 : thePropagatorLabel (cfg.getParameter<std::
string>(
"propagator"))
26 , theBOFFMomentum (cfg.existsAs<double>(
"SeedMomentumForBOFF") ? cfg.getParameter<double>(
"SeedMomentumForBOFF") : 5.0)
27 , theOriginTransverseErrorMultiplier(cfg.existsAs<double>(
"OriginTransverseErrorMultiplier") ? cfg.getParameter<double>(
"OriginTransverseErrorMultiplier") : 1.0)
28 , theMinOneOverPtError (cfg.existsAs<double>(
"MinOneOverPtError") ? cfg.getParameter<double>(
"MinOneOverPtError") : 1.0)
36 , forceKinematicWithRegionDirection_(cfg.existsAs<bool>(
"forceKinematicWithRegionDirection") ? cfg.getParameter<bool>(
"forceKinematicWithRegionDirection") :
false)
38 if (cfg.
exists(
"SimpleMagneticField")) {
45 const std::string & propagator =
"PropagatorWithMaterial",
double seedMomentumForBOFF = -5.0,
46 double aOriginTransverseErrorMultiplier = 1.0,
double aMinOneOverPtError = 1.0,
const std::string & bname=
"WithTrackAngle")
47 : thePropagatorLabel(propagator)
48 , theBOFFMomentum(seedMomentumForBOFF)
49 , theOriginTransverseErrorMultiplier(aOriginTransverseErrorMultiplier)
50 , theMinOneOverPtError(aMinOneOverPtError)
53 , forceKinematicWithRegionDirection_(
false)
virtual void init(const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter)=0
T getParameter(std::string const &) const
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits)=0
edm::ESHandle< Propagator > propagatorHandle
bool exists(std::string const ¶meterName) const
checks if a parameter exists
SeedFromConsecutiveHitsCreator(const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0, double aOriginTransverseErrorMultiplier=1.0, double aMinOneOverPtError=1.0, const std::string &bname="WithTrackAngle")
BaseTrackerRecHit const * ConstRecHitPointer
std::vector< TrajectorySeed > TrajectorySeedCollection
std::string thePropagatorLabel
double theMinOneOverPtError
bool forceKinematicWithRegionDirection_
SeedFromConsecutiveHitsCreator(const edm::ParameterSet &cfg)
double theOriginTransverseErrorMultiplier
edm::ESHandle< TrackerGeometry > tracker
volatile std::atomic< bool > shutdown_flag false
edm::ESHandle< MagneticField > bfield