#include <LArRawInputDriver.h>
|
| LArRawInputDriver (fhicl::ParameterSet const &pset, art::ProductRegistryHelper &helper, art::SourceHelper const &pm) |
|
void | closeCurrentFile () |
|
void | readFile (std::string const &name, art::FileBlock *&fb) |
|
bool | readNext (art::RunPrincipal *const &inR, art::SubRunPrincipal *const &inSR, art::RunPrincipal *&outR, art::SubRunPrincipal *&outSR, art::EventPrincipal *&outE) |
|
Definition at line 28 of file LArRawInputDriver.h.
lris::LArRawInputDriver::LArRawInputDriver |
( |
fhicl::ParameterSet const & |
pset, |
|
|
art::ProductRegistryHelper & |
helper, |
|
|
art::SourceHelper const & |
pm |
|
) |
| |
Class to fill the constraints on a template argument to the class, FileReaderSource
Definition at line 225 of file LArRawInputDriver.cxx.
237 helper.reconstitutes<std::vector<raw::RawDigit>, art::InEvent>(
"daq");
void lris::LArRawInputDriver::closeCurrentFile |
( |
| ) |
|
void lris::LArRawInputDriver::readFile |
( |
std::string const & |
name, |
|
|
art::FileBlock *& |
fb |
|
) |
| |
Definition at line 246 of file LArRawInputDriver.cxx.
257 fb =
new art::FileBlock(art::FileFormatVersion(1,
"LArRawInput 2011a"),
bool lris::LArRawInputDriver::readNext |
( |
art::RunPrincipal *const & |
inR, |
|
|
art::SubRunPrincipal *const & |
inSR, |
|
|
art::RunPrincipal *& |
outR, |
|
|
art::SubRunPrincipal *& |
outSR, |
|
|
art::EventPrincipal *& |
outE |
|
) |
| |
Definition at line 261 of file LArRawInputDriver.cxx.
270 std::unique_ptr<std::vector<raw::RawDigit> > rdcol (
new std::vector<raw::RawDigit> );
276 std::unique_ptr<raw::DAQHeader> daqcol(
new raw::DAQHeader(daqHeader) );
278 art::RunNumber_t rn = daqHeader.
GetRun();
281 if (firstEventInRun){
282 std::unique_ptr<sumdata::RunData> rundata(
new sumdata::RunData(
"argoneut") );
288 art::put_product_in_principal(std::move(rundata), *outR,
"daq");
291 throw cet::exception(
"InconsistentEventStream")
292 <<
"Encountered run #" << rn
303 art::put_product_in_principal(std::move(rdcol),
306 art::put_product_in_principal(std::move(daqcol),
std::string lris::LArRawInputDriver::currentDir_ |
|
private |
art::SubRunID lris::LArRawInputDriver::currentSubRunID_ |
|
private |
stringvec_t::const_iterator lris::LArRawInputDriver::filesdone_ |
|
private |
stringvec_t::const_iterator lris::LArRawInputDriver::nextfile_ |
|
private |
art::SourceHelper const& lris::LArRawInputDriver::principalMaker_ |
|
private |
The documentation for this class was generated from the following files: