59 Name (
"SpacePointLabel"),
61 "label of the producer used to create" 62 " the recob::SpacePoint collection to be dumped" 66 Name (
"OutputCategory"),
67 Comment(
"the category used for the output (useful for filtering)"),
68 "DumpChargedSpacePoints" 114 size_t const nPoints = points.size();
117 <<
"The event " <<
event.id()
118 <<
" contains " << nPoints
121 for (
auto const& point: points) {
123 log <<
"\n [#" << point.index() <<
"] " 124 << 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.
Information about charge reconstructed in the active volume.
Functions dumping space points.
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.
EDAnalyzer(Table< Config > const &config)
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.