9 #include "Utilities/AssociationUtil.h" 48 produces<std::vector<tf::TimingFitResult>>();
49 produces<art::Assns<tf::TimingFitResult, rb::Track>>();
66 std::unique_ptr<std::vector<tf::TimingFitResult>> rescol(
new std::vector<tf::TimingFitResult>);
72 const unsigned int trackMax = tracks->size();
73 for(
unsigned int trackIdx = 0; trackIdx < trackMax; ++trackIdx){
80 evt.
put(std::move(rescol));
81 evt.
put(std::move(assns));
static bool CreateAssn(art::EDProducer const &prod, art::Event &evt, std::vector< T > &a, art::Ptr< U > b, art::Assns< T, U > &assn, size_t indx=UINT_MAX, std::string const &instance=std::string())
Create a 1 to 1 association between a new product and one already in the event.
Represent one distance/time pair on a track.
Determine the direction of tracks using timing.
TimingFit(const fhicl::ParameterSet &pset)
TimingFitAlg fTimingFitAlg
EDProducer(fhicl::ParameterSet const &pset)
Algorithm to determine the direction of tracks using timing.
DEFINE_ART_MODULE(TestTMapFile)
TimingFitResult HoughFit(const rb::Track *track) const
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
T get(std::string const &key) const
virtual void reconfigure(const fhicl::ParameterSet &pset)
virtual void produce(art::Event &evt)
ProductID put(std::unique_ptr< PROD > &&edp, FullSemantic< Level::Run > const semantic)