14 #include "art/Framework/Core/EDProducer.h"
15 #include "art/Framework/Core/ModuleMacros.h"
16 #include "art/Framework/Principal/Event.h"
17 #include "fhiclcpp/types/Atom.h"
18 #include "fhiclcpp/types/Name.h"
19 #include "fhiclcpp/types/Comment.h"
20 #include "messagefacility/MessageLogger/MessageLogger.h"
49 fhicl::Atom<unsigned int>
nHits{
51 Comment(
"number of dummy hits to be generated"),
62 produces<std::vector<recob::Hit>>();
65 virtual void produce(art::Event& event)
override;
82 auto hits = std::make_unique<std::vector<recob::Hit>>();
84 for (
unsigned int i = 0; i <
nHits; ++i) {
109 mf::LogInfo(
"AssnsChainHitMaker") <<
"Produced " << hits->size() <<
" hits.";
111 event.put(std::move(hits));
Declaration of signal hit object.
fhicl::Atom< unsigned int > nHits
int TDCtick_t
Type representing a TDC tick.
virtual void produce(art::Event &event) override
BEGIN_PROLOG vertical distance to the surface Name
Definition of data types for geometry description.
unsigned int nHits
Number of hits to be generated.
AssnsChainHitMaker(Parameters const &config)
art::EDProducer::Table< Config > Parameters
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.