40 #include "TDecompSVD.h" 82 art::FindOneP<raw::RawDigit> ChannelHitRawDigits(ChannelHits, evt,
fChanHitLabel);
83 art::FindOneP<recob::Wire> ChannelHitWires (ChannelHits, evt,
fChanHitLabel);
88 ChannelHitWires.isValid(),
89 ChannelHitRawDigits.isValid()
93 std::vector< art::Ptr<recob::Hit> > ChHits;
96 for(
size_t h = 0;
h < ChHits.size();
h++ ) {
98 for(
size_t w = 0;
w < cwids.size();
w++) {
106 hcol.emplace_back(repeated_hit.
move(), wire, rawdigits);
Handle< PROD > getHandle(SelectorBase const &) const
EDProducer(fhicl::ParameterSet const &pset)
std::vector< geo::WireID > ChannelToWire(raw::ChannelID_t const channel) const
Returns a list of wires connected to the specified TPC channel.
static void declare_products(art::ProducesCollector &collector, std::string instance_name="", bool doWireAssns=true, bool doRawDigitAssns=true)
Declares the hit products we are going to fill.
art framework interface to geometry description
std::string fChanHitLabel
HitRepeater(fhicl::ParameterSet const &pset)
Class managing the creation of a new recob::Hit object.
Helper functions to create a hit.
A class handling a collection of hits and its associations.
#define DEFINE_ART_MODULE(klass)
void produce(art::Event &evt)
key_type key() const noexcept
T get(std::string const &key) const
Detector simulation of raw signals on wires.
ProducesCollector & producesCollector() noexcept
Declaration of signal hit object.
art::ServiceHandle< geo::Geometry > geom
void reconfigure(fhicl::ParameterSet const &p)
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
recob::Hit && move()
Prepares the constructed hit to be moved away.