Stakeholder meeting notes – 2015/02/25

by Kyle Knoepfel
Attendees:

Martin Frank, Herb Greenlee, Ken Herner, Chris Jones, Tom Junk

artists: Lynn Garren, Chris Green, Kyle Knoepfel, Marc Paterno

Agenda:

Lynn gave a progress report about art v1.13.01 builds. She reported that she has done everything for the nu distribution up to building nutools.

FHiCL issue resolutions:

[[ https://cdcvs.fnal.gov/redmine/issues/3202 ]]
[[ https://cdcvs.fnal.gov/redmine/issues/5582 ]]

Kyle added FHiCL-decoding support for the following calls:

pset.get< std::array<…> >()
pset.get< std::pair <…> >()
pset.get< std::tuple<…> >()

and also for the CLHEP vectors

pset.get< CLHEP::Hep2Vector >()
pset.get< CLHEP::Hep3Vector >()
pset.get< CLHEP::HepLorentzVector >()

Kyle will generalize the recent inclusion of the pset.get facility to include multi-argument construction.

The way this is done is by providing a decode function in the namespace that contains the object to be converted. For example, to support pset.get(), the user can provide the following overload:

namespace some_namespace {

void decode( boost::any const & a, Object & result ) {
// … implementation
}

}

This will be documented on the fhicl-cpp Wiki.

Other business:

Herb asked if it was possible to read multiple input modules? Marc said it is possible to read multiple files into the same event, and this is done using the MixFilter class template, as described here. Herb was encouraged to consult with Mu2e, which uses this class heavily.