Definition at line 125 of file EventProcessorTestSource_source.cc.
129 ,
fileNames_{
ps.get<std::vector<std::string>>(
"fileNames")}
art::ProcessConfiguration const pc_
std::vector< std::string > fileNames_
static constexpr double ps
ProcessConfiguration const & processConfiguration() const
void arttest::EventProcessorTestSource::closeFile |
( |
| ) |
|
|
inlineoverridevirtual |
Implements art::InputSource.
Definition at line 148 of file EventProcessorTestSource_source.cc.
159 }
else if (
action[0] ==
's') {
165 }
else if (
action[0] ==
'e') {
176 <<
"Test pattern \"" <<
action <<
"\" not recognized.";
static constexpr EventID flushEvent() noexcept
static constexpr RunID flushRun() noexcept
std::vector< std::string > fileNames_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
static constexpr SubRunID flushSubRun() noexcept
decltype(auto) constexpr cbegin(T &&obj)
ADL-aware version of std::cbegin.
EventNumber_t event() const
static constexpr double sr
Implements art::InputSource.
Definition at line 216 of file EventProcessorTestSource_source.cc.
221 "There was an exception while reading an event from the input file."};
225 auto ep = std::make_unique<art::EventPrincipal>(aux,
pc_,
nullptr);
226 ep->setSubRunPrincipal(srp);
art::ProcessConfiguration const pc_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
EventNumber_t event() const
std::unique_ptr<art::FileBlock> arttest::EventProcessorTestSource::readFile |
( |
| ) |
|
|
inlineoverridevirtual |
Implements art::InputSource.
Definition at line 187 of file EventProcessorTestSource_source.cc.
189 if (
run_.
run() == throw_value(
'r')) {
192 "There was an exception while reading a run from the input file."};
196 auto rp = std::make_unique<art::RunPrincipal>(aux,
pc_,
nullptr);
art::ProcessConfiguration const pc_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Implements art::InputSource.
Definition at line 201 of file EventProcessorTestSource_source.cc.
206 "There was an exception while reading a subrun from the input file."};
210 auto srp = std::make_unique<art::SubRunPrincipal>(aux,
pc_,
nullptr);
211 srp->setRunPrincipal(rp);
art::ProcessConfiguration const pc_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
SubRunNumber_t subRun() const
std::string arttest::EventProcessorTestSource::currentName_ {} |
|
private |
std::ifstream arttest::EventProcessorTestSource::inputFile_ {} |
|
private |
art::RunID arttest::EventProcessorTestSource::run_ {} |
|
private |
The documentation for this class was generated from the following file: