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>
149 template <
typename DETAIL>
154 template <
typename DETAIL,
typename Enable>
161 ps.
get<
bool>(
"wantPresentOnly",
true),
162 ps.get<
bool>(
"resolveProducts",
true),
163 ps.get<
bool>(
"wantResolvedOnly",
false)}
164 , impl_{detail_, pp_}
187 impl_.writeSubRun(sr);
202 template <
typename DETAIL>
214 ps().wantPresentOnly(),
215 ps().resolveProducts(),
216 ps().wantResolvedOnly()}
217 , impl_{detail_, pp_}
240 impl_.writeSubRun(sr);
ProvenanceDumper(Parameters const &ps)
fhicl::Atom< bool > resolveProducts
void writeRun(RunPrincipal &r) override
detail::ProvenanceDumperImpl< DETAIL > impl_
fhicl::Atom< bool > wantPresentOnly
void writeRun(RunPrincipal &r) override
fhicl::Atom< bool > wantResolvedOnly
fhicl::TableFragment< art::OutputModule::Config > omConfig
fhicl::TableFragment< typename DETAIL::Config > user
fhicl::TableFragment< art::OutputModule::Config > omConfig
T get(std::string const &key) const
void writeSubRun(SubRunPrincipal &sr) override
ProvenanceDumper(fhicl::ParameterSet const &ps)
detail::PrincipalProcessor< DETAIL > pp_
void writeSubRun(SubRunPrincipal &sr) override
void write(EventPrincipal &e) override
detail::PrincipalProcessor< DETAIL > pp_
detail::ProvenanceDumperImpl< DETAIL > impl_
void write(EventPrincipal &e) override