44 if(iConfig.
getParameter<
bool>(
"useBeamSpotConstraint")) {
48 produces<PixelFitter>();
54 desc.
add<
bool>(
"useBeamSpotConstraint",
true);
57 desc.
add<
std::string>(
"propagatorOpposite",
"PropagatorWithMaterialOpposite");
58 desc.
add<
std::string>(
"TTRHBuilder",
"PixelTTRHBuilderWithoutAngle");
60 descriptions.
add(
"kfBasedPixelFitter", desc);
86 auto impl = std::make_unique<KFBasedPixelFitter>(&iSetup,
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)
virtual 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)
std::string thePropagatorOppositeLabel
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
KFBasedPixelFitterProducer(const edm::ParameterSet &iConfig)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~KFBasedPixelFitterProducer()
T const * product() const
std::string thePropagatorLabel
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool isUninitialized() const
T const * product() const