#include <Source.h>
Public Types | |
using | Parameters = typename detail::maybe_has_Parameters< T >::Parameters |
Public Types inherited from art::InputSource | |
enum | ProcessingMode { Runs, RunsAndSubRuns, RunsSubRunsAndEvents } |
Public Member Functions | |
template<typename U = Parameters> | |
Source (std::enable_if_t< std::is_same_v< U, fhicl::ParameterSet >, fhicl::ParameterSet > const &p, InputSourceDescription &d) | |
template<typename U = Parameters> | |
Source (std::enable_if_t<!std::is_same_v< U, fhicl::ParameterSet >, U > const &p, InputSourceDescription &d) | |
Source (Source< T > const &)=delete | |
Source (Source< T > &&)=delete | |
Source< T > & | operator= (Source< T > const &)=delete |
Source< T > & | operator= (Source< T > &&)=delete |
Public Member Functions inherited from art::InputSource | |
virtual | ~InputSource () noexcept |
InputSource (ModuleDescription const &) | |
InputSource (InputSource const &)=delete | |
InputSource (InputSource &&)=delete | |
InputSource & | operator= (InputSource const &)=delete |
InputSource & | operator= (InputSource &&)=delete |
virtual void | doBeginJob () |
virtual void | doEndJob () |
virtual void | skipEvents (int n) |
virtual void | rewind () |
ModuleDescription const & | moduleDescription () const |
ProcessConfiguration const & | processConfiguration () const |
Private Member Functions | |
input::ItemType | nextItemType () override |
std::unique_ptr< FileBlock > | readFile () override |
void | closeFile () override |
std::unique_ptr< RunPrincipal > | readRun () override |
std::unique_ptr< SubRunPrincipal > | readSubRun (cet::exempt_ptr< RunPrincipal const > rp) override |
std::unique_ptr< EventPrincipal > | readEvent (cet::exempt_ptr< SubRunPrincipal const > srp) override |
std::unique_ptr< RangeSetHandler > | runRangeSetHandler () override |
std::unique_ptr< RangeSetHandler > | subRunRangeSetHandler () override |
void | finishProductRegistration_ (InputSourceDescription &d) |
bool | readNext_ () |
void | checkForNextFile_ () |
void | readNextAndRequireRun_ () |
void | readNextAndRefuseEvent_ () |
void | throwIfInsane_ (bool result, RunPrincipal *newR, SubRunPrincipal *newSR, EventPrincipal *newE) const |
Static Private Member Functions | |
static void | throwDataCorruption_ (const char *msg) |
Private Attributes | |
ProductRegistryHelper | h_ {product_creation_mode::reconstitutes} |
UpdateOutputCallbacks & | outputCallbacks_ |
ProductTables | presentProducts_ {ProductTables::invalid()} |
SourceHelper | sourceHelper_ |
T | detail_ |
input::ItemType | state_ {input::IsInvalid} |
detail::FileNamesHandler< Source_wantFileServices< T >::value > | fh_ |
std::string | currentFileName_ {} |
std::unique_ptr< RunPrincipal > | newRP_ {} |
std::unique_ptr< SubRunPrincipal > | newSRP_ {} |
std::unique_ptr< EventPrincipal > | newE_ {} |
cet::exempt_ptr< RunPrincipal > | cachedRP_ {nullptr} |
cet::exempt_ptr< SubRunPrincipal > | cachedSRP_ {nullptr} |
bool | pendingSubRun_ {false} |
bool | pendingEvent_ {false} |
bool | subRunIsNew_ {false} |
SubRunNumber_t | remainingSubRuns_ {1} |
bool | haveSRLimit_ {false} |
EventNumber_t | remainingEvents_ {1} |
bool | haveEventLimit_ {false} |
using art::Source< T >::Parameters = typename detail::maybe_has_Parameters<T>::Parameters |
|
explicit |
Definition at line 298 of file Source.h.
|
explicit |
Definition at line 321 of file Source.h.
|
delete |
|
delete |
|
private |
Definition at line 508 of file Source.h.
|
overrideprivatevirtual |
|
private |
Definition at line 709 of file Source.h.
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 529 of file Source.h.
|
delete |
|
delete |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 643 of file Source.h.
|
private |
Definition at line 461 of file Source.h.
|
private |
Definition at line 614 of file Source.h.
|
private |
Definition at line 594 of file Source.h.
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 667 of file Source.h.
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 680 of file Source.h.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
staticprivate |
Definition at line 344 of file Source.h.
|
private |
Definition at line 351 of file Source.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |