47 thePutToken(produces()) {
48 if (iConfig.
getParameter<
bool>(
"useBeamSpotConstraint")) {
56 desc.
add<
bool>(
"useBeamSpotConstraint",
true);
59 desc.
add<
std::string>(
"propagatorOpposite",
"PropagatorWithMaterialOpposite");
60 desc.
add<
std::string>(
"TTRHBuilder",
"PixelTTRHBuilderWithoutAngle");
62 descriptions.
add(
"kfBasedPixelFitter", desc);
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
const edm::ESGetToken< Propagator, TrackingComponentsRecord > thePropagatorToken
constexpr bool isUninitialized() const noexcept
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTTRHBuilderToken
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerToken
theTrackerToken(iC.esConsumes())
bool getData(T &iHolder) const
KFBasedPixelFitterProducer(const edm::ParameterSet &iConfig)
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
const edm::EDPutTokenT< PixelFitter > thePutToken
T getParameter(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::ESGetToken< Propagator, TrackingComponentsRecord > thePropagatorOppositeToken
~KFBasedPixelFitterProducer() override