27 helper.reconstitutes<double,
art::InRun>(
"r1");
29 helper.reconstitutes<
bool, art::InEvent>(
"m2",
"b");
51 using std::make_unique;
59 if (
data_.
get<
bool>(
"returnTrueWithoutNewFault",
false))
62 bool readSomething{
false};
79 if (
data_.
get<
bool>(
"newRunSameSubRunFault",
false) && inSR) {
89 assert(outSR || inSR);
98 std::vector<double> nums{1.0, 3.7, 5.2};
100 make_unique<decltype(nums)>(std::move(nums)), *outE,
"m3");
107 readSomething =
true;
110 if (
data_.
get<
bool>(
"returnFalseWithNewFault",
false))
114 <<
"Did not read expected info from 'file.'\n";
124 <<
"Expected exception from DETAIL::" << funcname <<
'\n';
Ptr< T > makePtr(TypeLabel const &t, Principal const &p, typename Ptr< T >::key_type key) const
static void throw_exception_from(const char *funcname)
bool readNext(art::RunPrincipal const *const inR, art::SubRunPrincipal const *const inSR, art::RunPrincipal *&outR, art::SubRunPrincipal *&outSR, art::EventPrincipal *&outE)
SubRunPrincipal * makeSubRunPrincipal(SubRunAuxiliary const &subRunAux) const
RunPrincipal * makeRunPrincipal(RunAuxiliary const &runAux) const
bool const throw_on_construction_
T get(std::string const &key) const
vv_t::const_iterator iter
bool const throw_on_readNext_
SubRunID subRunID() const
bool const throw_on_readFile_
fhicl::ParameterSet data_
std::enable_if_t<(P::branch_type==InEvent)||(P::branch_type==InResults)> put_product_in_principal(std::unique_ptr< T > &&product, P &principal, std::string const &module_label, std::string const &instance_name={})
static constexpr Timestamp invalidTimestamp()
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
art::SourceHelper const & sHelper_
bool const throw_on_closeCurrentFile_
EventPrincipal * makeEventPrincipal(EventAuxiliary const &eventAux, std::unique_ptr< History > &&history) const
SubRunNumber_t subRun() const
ToySource(fhicl::ParameterSet const &ps, art::ProductRegistryHelper &help, art::SourceHelper const &sHelper)