1 #ifndef art_Framework_Modules_ProvenanceDumper_h 2 #define art_Framework_Modules_ProvenanceDumper_h 118 #include "cetlib/exempt_ptr.h" 119 #include "cetlib/metaprogramming.h" 128 template <
typename DETAIL,
typename Enable =
void>
131 template <
typename DETAIL,
typename Enable =
void>
139 template <
typename DETAIL>
151 template <
typename DETAIL>
152 class PrincipalProcessor;
156 template <
typename DETAIL,
typename Enable>
163 ps.
get<
bool>(
"wantPresentOnly",
true),
164 ps.get<
bool>(
"resolveProducts",
true),
165 ps.get<
bool>(
"wantResolvedOnly",
false)}
166 , impl_{detail_, pp_}
189 impl_.writeSubRun(sr);
204 template <
typename DETAIL>
217 ps().wantPresentOnly(),
218 ps().resolveProducts(),
219 ps().wantResolvedOnly()}
220 , impl_{detail_, pp_}
243 impl_.writeSubRun(sr);
fhicl::TableFragment< typename DETAIL::Config > user
fhicl::Atom< bool > resolveProducts
auto const & get_PSet() const
detail::ProvenanceDumperImpl< DETAIL > impl_
fhicl::Atom< bool > wantPresentOnly
void writeRun(RunPrincipal &r) override
void writeSubRun(SubRunPrincipal &sr) override
fhicl::Atom< bool > wantResolvedOnly
fhicl::TableFragment< art::OutputModule::Config > omConfig
typename enable_if_type_exists< T, R >::type enable_if_type_exists_t
T get(std::string const &key) const
void writeSubRun(SubRunPrincipal &sr) override
ProvenanceDumper(fhicl::ParameterSet const &ps)
void writeRun(RunPrincipal &r) override
ProvenanceDumper(Parameters const &ps)
detail::ProvenanceDumperImpl< DETAIL > impl_
void write(EventPrincipal &e) override
void write(EventPrincipal &e) override
fhicl::TableFragment< art::OutputModule::Config > omConfig
detail::PrincipalProcessor< DETAIL > pp_
detail::PrincipalProcessor< DETAIL > pp_