34 static constexpr
bool value{
false};
44 void closeCurrentFile();
81 helper.reconstitutes<double,
art::InRun>(
"r1");
83 helper.reconstitutes<
bool, art::InEvent>(
"m2",
"b");
100 <<
"ToyReader expects to find a parameter representing a file's\n" 101 <<
"contents whose name is " << name <<
"\n";
118 using std::make_unique;
148 std::vector<double> nums{1.0, 3.7, 5.2};
150 make_unique<decltype(nums)>(std::move(nums)), *outE,
"m3");
Ptr< T > makePtr(TypeLabel const &t, Principal const &p, typename Ptr< T >::key_type key) const
fhicl::ParameterSet data_
std::vector< std::tuple< int, int, int >> eventNumbers_t
SubRunPrincipal * makeSubRunPrincipal(SubRunAuxiliary const &subRunAux) const
RunPrincipal * makeRunPrincipal(RunAuxiliary const &runAux) const
art::SourceHelper const & sHelper_
void readFile(string fileName, string &content)
SimpleSource(fhicl::ParameterSet const &ps, art::ProductRegistryHelper &help, art::SourceHelper const &sHelper)
std::string currentFilename_
eventNumbers_t::const_iterator iter
IDNumber_t< Level::SubRun > SubRunNumber_t
bool get_if_present(std::string const &key, T &value) const
void readFile(std::string const &name, FileBlock *&fb)
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={})
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
IDNumber_t< Level::Event > EventNumber_t
EventPrincipal * makeEventPrincipal(EventAuxiliary const &eventAux, std::unique_ptr< History > &&history) const
bool readNext(RunPrincipal const *const inR, SubRunPrincipal const *const inSR, RunPrincipal *&outR, SubRunPrincipal *&outSR, EventPrincipal *&outE)
SubRunID currentSubRunID_
IDNumber_t< Level::Run > RunNumber_t