16 #include "art/Framework/Core/EDProducer.h"
17 #include "art/Framework/Core/ModuleMacros.h"
18 #include "art/Framework/Principal/Event.h"
19 #include "messagefacility/MessageLogger/MessageLogger.h"
20 #include "fhiclcpp/types/Atom.h"
21 #include "fhiclcpp/types/Name.h"
22 #include "fhiclcpp/types/Comment.h"
51 fhicl::Atom<unsigned int>
nHits{
53 Comment(
"number of dummy hits to be generated"),
64 produces<std::vector<recob::Hit>>();
67 virtual void produce(art::Event& event)
override;
84 auto hits = std::make_unique<std::vector<recob::Hit>>();
86 for (
unsigned int i = 0; i <
nHits; ++i) {
111 mf::LogInfo(
"TrackProxyHitMaker") <<
"Produced " << hits->size() <<
" hits.";
113 event.put(std::move(hits));
virtual void produce(art::Event &event) override
Declaration of signal hit object.
int TDCtick_t
Type representing a TDC tick.
unsigned int nHits
Number of hits to be generated.
BEGIN_PROLOG vertical distance to the surface Name
Definition of data types for geometry description.
art::EDProducer::Table< Config > Parameters
fhicl::Atom< unsigned int > nHits
BEGIN_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree showermakertwo END_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree sequence::inline_paths sequence::inline_paths sequence::inline_paths showermakers test
unsigned int ChannelID_t
Type representing the ID of a readout channel.
TrackProxyHitMaker(Parameters const &config)
Signal from collection planes.