Go to the documentation of this file.
40 : thePropagatorLabel(iConfig.getParameter<
std::
string>(
"propagator")),
41 thePropagatorOppositeLabel(iConfig.getParameter<
std::
string>(
"propagator")),
42 theTTRHBuilderName(iConfig.getParameter<
std::
string>(
"TTRHBuilder")) {
43 if (iConfig.
getParameter<
bool>(
"useBeamSpotConstraint")) {
47 produces<PixelFitter>();
53 desc.add<
bool>(
"useBeamSpotConstraint",
true);
56 desc.add<
std::string>(
"propagatorOpposite",
"PropagatorWithMaterialOpposite");
59 descriptions.
add(
"kfBasedPixelFitter",
desc);
85 auto impl = std::make_unique<KFBasedPixelFitter>(
T const * product() const
T const * product() const
std::string thePropagatorLabel
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
constexpr bool isUninitialized() const noexcept
std::string theTTRHBuilderName
std::string thePropagatorOppositeLabel
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
T getParameter(std::string const &) const
KFBasedPixelFitterProducer(const edm::ParameterSet &iConfig)
~KFBasedPixelFitterProducer() override