43 if (iConfig.
getParameter<
bool>(
"useBeamSpotConstraint")) {
47 produces<PixelFitter>();
53 desc.
add<
bool>(
"useBeamSpotConstraint",
true);
56 desc.
add<
std::string>(
"propagatorOpposite",
"PropagatorWithMaterialOpposite");
57 desc.
add<
std::string>(
"TTRHBuilder",
"PixelTTRHBuilderWithoutAngle");
59 descriptions.
add(
"kfBasedPixelFitter", desc);
85 auto impl = std::make_unique<KFBasedPixelFitter>(
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::string theTTRHBuilderName
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
std::string thePropagatorOppositeLabel
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
#define DEFINE_FWK_MODULE(type)
KFBasedPixelFitterProducer(const edm::ParameterSet &iConfig)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
std::string thePropagatorLabel
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool isUninitialized() const
~KFBasedPixelFitterProducer() override
T const * product() const