54 Name(
"SpacePointLabel"),
55 Comment(
"label of the producer used to create" 56 " the recob::SpacePoint collection to be dumped")};
58 Name(
"OutputCategory"),
59 Comment(
"the category used for the output (useful for filtering)"),
60 "DumpChargedSpacePoints" 102 size_t const nPoints = points.size();
104 log <<
"The event " <<
event.id() <<
" contains " << nPoints <<
" space points from '" 107 for (
auto const& point : points) {
109 log <<
"\n [#" << point.index() <<
"] " << 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.
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.