Public Types | Public Member Functions | Private Attributes | List of all members
art::InputSource Class Referenceabstract

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/InputSource.h"

Inheritance diagram for art::InputSource:
art::DecrepitRelicInputSourceImplementation art::SamplingInput art::Source< T > art::EmptyEvent art::RootInput

Public Types

enum  ProcessingMode { Runs, RunsAndSubRuns, RunsSubRunsAndEvents }
 

Public Member Functions

 InputSource (ModuleDescription const &md)
 
virtual ~InputSource () noexcept=default
 
auto const & moduleDescription () const
 
auto const & processConfiguration () const
 
virtual void skipEvents (int n)
 
virtual void rewind ()
 
virtual void doBeginJob ()
 
virtual void doEndJob ()
 
virtual input::ItemType nextItemType ()=0
 
virtual std::unique_ptr< FileBlockreadFile ()=0
 
virtual void closeFile ()=0
 
virtual std::unique_ptr< RunPrincipalreadRun ()=0
 
virtual std::unique_ptr< SubRunPrincipalreadSubRun (cet::exempt_ptr< RunPrincipal const > rp)=0
 
virtual std::unique_ptr< EventPrincipalreadEvent (cet::exempt_ptr< SubRunPrincipal const > srp)=0
 
virtual std::unique_ptr< RangeSetHandlerrunRangeSetHandler ()=0
 
virtual std::unique_ptr< RangeSetHandlersubRunRangeSetHandler ()=0
 

Private Attributes

ModuleDescription moduleDescription_
 

Detailed Description

Definition at line 48 of file InputSource.h.

Member Enumeration Documentation

Enumerator
Runs 
RunsAndSubRuns 
RunsSubRunsAndEvents 

Definition at line 52 of file InputSource.h.

Constructor & Destructor Documentation

art::InputSource::InputSource ( ModuleDescription const &  md)
inlineexplicit

Definition at line 54 of file InputSource.h.

virtual art::InputSource::~InputSource ( )
virtualdefaultnoexcept

Member Function Documentation

virtual void art::InputSource::closeFile ( )
pure virtual
virtual void art::InputSource::doBeginJob ( )
virtual
virtual void art::InputSource::doEndJob ( )
virtual
auto const& art::InputSource::moduleDescription ( ) const
inline

Definition at line 59 of file InputSource.h.

Referenced by art::EmptyEvent::readRun_(), and art::EmptyEvent::readSubRun_().

60  {
61  return moduleDescription_;
62  }
ModuleDescription moduleDescription_
Definition: InputSource.h:93
virtual input::ItemType art::InputSource::nextItemType ( )
pure virtual
auto const& art::InputSource::processConfiguration ( ) const
inline

Definition at line 64 of file InputSource.h.

References getGoodRuns4SAM::n.

Referenced by art::EmptyEvent::readRun_(), art::EmptyEvent::readSubRun_(), art::EmptyEvent::reallyReadEvent(), and art::RootInput::RootInput().

65  {
67  }
ModuleDescription moduleDescription_
Definition: InputSource.h:93
ProcessConfiguration const & processConfiguration() const
virtual std::unique_ptr<EventPrincipal> art::InputSource::readEvent ( cet::exempt_ptr< SubRunPrincipal const >  srp)
pure virtual
virtual std::unique_ptr<FileBlock> art::InputSource::readFile ( )
pure virtual
virtual std::unique_ptr<RunPrincipal> art::InputSource::readRun ( )
pure virtual
virtual std::unique_ptr<SubRunPrincipal> art::InputSource::readSubRun ( cet::exempt_ptr< RunPrincipal const >  rp)
pure virtual
virtual void art::InputSource::rewind ( )
virtual
virtual std::unique_ptr<RangeSetHandler> art::InputSource::runRangeSetHandler ( )
pure virtual
virtual void art::InputSource::skipEvents ( int  n)
virtual
virtual std::unique_ptr<RangeSetHandler> art::InputSource::subRunRangeSetHandler ( )
pure virtual

Member Data Documentation

ModuleDescription art::InputSource::moduleDescription_
private

Definition at line 93 of file InputSource.h.


The documentation for this class was generated from the following file: