#include <ExternalInputSource.h>
Public Member Functions | |
InputFileCatalog & | catalog () |
ExternalInputSource (ParameterSet const &pset, InputSourceDescription const &desc, bool realData=true) | |
std::vector< std::string > const & | fileNames () const |
std::vector< std::string > const & | logicalFileNames () const |
virtual | ~ExternalInputSource () |
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
Private Attributes | |
InputFileCatalog | catalog_ |
Definition at line 18 of file ExternalInputSource.h.
edm::ExternalInputSource::ExternalInputSource | ( | ParameterSet const & | pset, |
InputSourceDescription const & | desc, | ||
bool | realData = true |
||
) |
Definition at line 6 of file ExternalInputSource.cc.
: ConfigurableInputSource(pset, desc, realData), catalog_(pset.getUntrackedParameter<std::vector<std::string> >("fileNames"), pset.getUntrackedParameter<std::string>("overrideCatalog", std::string())) { }
edm::ExternalInputSource::~ExternalInputSource | ( | ) | [virtual] |
Definition at line 12 of file ExternalInputSource.cc.
{}
InputFileCatalog& edm::ExternalInputSource::catalog | ( | ) | [inline] |
std::vector<std::string> const& edm::ExternalInputSource::fileNames | ( | ) | const [inline] |
Definition at line 24 of file ExternalInputSource.h.
References catalog_, and edm::InputFileCatalog::fileNames().
Referenced by AlpgenSource::AlpgenSource(), ErrorStreamSource::ErrorStreamSource(), edm::H2RootNtplSource::H2RootNtplSource(), L1MuGMTHWFileReader::L1MuGMTHWFileReader(), MCatNLOSource::MCatNLOSource(), edm::MCFileSource::MCFileSource(), PixelSLinkDataInputSource::PixelSLinkDataInputSource(), HcalTBSource::produce(), HcalTBSource::setRunAndEventInfo(), and ErrorStreamSource::setRunAndEventInfo().
{return catalog_.fileNames();}
void edm::ExternalInputSource::fillDescription | ( | ParameterSetDescription & | desc | ) | [static] |
Reimplemented from edm::ConfigurableInputSource.
Definition at line 15 of file ExternalInputSource.cc.
References edm::ParameterSetDescription::addUntracked().
{ std::vector<std::string> defaultStrings; desc.addUntracked<std::vector<std::string> >("fileNames", defaultStrings) ->setComment("Names of files to be processed."); desc.addUntracked<std::string>("overrideCatalog", std::string()); ConfigurableInputSource::fillDescription(desc); }
std::vector<std::string> const& edm::ExternalInputSource::logicalFileNames | ( | ) | const [inline] |
Definition at line 23 of file ExternalInputSource.h.
References catalog_, and edm::InputFileCatalog::logicalFileNames().
{return catalog_.logicalFileNames();}
Definition at line 30 of file ExternalInputSource.h.
Referenced by catalog(), fileNames(), and logicalFileNames().