40 Comment(
"Label of recob::TrackTrajectory Collection to be fit")};
74 produces<std::vector<recob::MCSFitResult>>();
82 auto output = std::make_unique<std::vector<recob::MCSFitResult>>();
88 <<
"Cannot find input art::Handle with inputTag " <<
inputTag;
89 const auto& inputVec = *(inputH.product());
90 for (
const auto& element : inputVec) {
93 output->emplace_back(std::move(result));
95 e.
put(std::move(output));
MCSFitProducer & operator=(MCSFitProducer const &)=delete
MCSFitProducer(Parameters const &p)
EDProducer(fhicl::ParameterSet const &pset)
recob::MCSFitResult fitMcs(const recob::TrackTrajectory &traj) const
Producer for TrajectoryMCSFitter.
PutHandle< PROD > put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
#define DEFINE_ART_MODULE(klass)
void produce(art::Event &e) override
Provides recob::Track data product.
Class storing the result of the Maximum Likelihood fit of Multiple Coulomb Scattering angles between ...
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
TrajectoryMCSFitter mcsfitter
Class for Maximum Likelihood fit of Multiple Coulomb Scattering angles between segments within a Trac...
cet::coded_exception< error, detail::translate > exception