CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

edm::ExternalInputSource Class Reference

#include <ExternalInputSource.h>

Inheritance diagram for edm::ExternalInputSource:
edm::ConfigurableInputSource edm::InputSource edm::ProductRegistryHelper AlpgenSource edm::H2RootNtplSource edm::MCFileSource ErrorStreamSource HcalTBSource L1MuGMTHWFileReader LHESource MCatNLOSource PixelSLinkDataInputSource

List of all members.

Public Member Functions

InputFileCatalogcatalog ()
 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_

Detailed Description

Definition at line 18 of file ExternalInputSource.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

InputFileCatalog& edm::ExternalInputSource::catalog ( ) [inline]

Definition at line 25 of file ExternalInputSource.h.

References catalog_.

{return catalog_;}
std::vector<std::string> const& edm::ExternalInputSource::fileNames ( ) const [inline]
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();}

Member Data Documentation

Definition at line 30 of file ExternalInputSource.h.

Referenced by catalog(), fileNames(), and logicalFileNames().