56 Name (
"SpacePointLabel"),
58 "label of the producer used to create" 59 " the recob::SpacePoint collection to be dumped" 63 Name (
"OutputCategory"),
64 Comment(
"the category used for the output (useful for filtering)"),
65 "DumpChargedSpacePoints" 111 size_t const nPoints = points.size();
114 <<
"The event " <<
event.id()
115 <<
" contains " << nPoints
118 for (
auto const& point: points) {
120 log <<
"\n [#" << point.index() <<
"] " 121 << point.point() <<
" " << point.charge();
fhicl::Atom< art::InputTag > SpacePointTag
auto getChargedSpacePoints(Event const &event, art::InputTag inputTag, Args &&...withArgs)
Creates and returns a proxy to space points with associated charge.
Reconstruction base classes.
Prints the content of all the space points and charge on screen.
ChannelGroupService::Name Name
EDAnalyzer(fhicl::ParameterSet const &pset)
fhicl::Atom< std::string > OutputCategory
Offers proxy::ChargedSpacePoints and proxy::SpacePointWithCharge class for recob::SpacePoint with rec...
#define DEFINE_ART_MODULE(klass)
virtual void analyze(art::Event const &event) override
Does the printing.
Configuration parameters.
std::string fOutputCategory
Category for LogInfo output.
DumpChargedSpacePoints(Parameters const &config)
Constructor.
art::InputTag fInputTag
Input tag of the SpacePoint product.
Event finding and building.