CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ExternalInputSource.h
Go to the documentation of this file.
1 #ifndef FWCore_Sources_ExternalInputSource_h
2 #define FWCore_Sources_ExternalInputSource_h
3 
4 /*----------------------------------------------------------------------
5 ----------------------------------------------------------------------*/
6 
7 #include <memory>
8 #include <vector>
9 #include <string>
10 
13 
14 namespace edm {
15  class ParameterSet;
17 
19  public:
20  ExternalInputSource(ParameterSet const& pset, InputSourceDescription const& desc, bool realData = true);
21  virtual ~ExternalInputSource();
22 
23  std::vector<std::string> const& logicalFileNames() const {return catalog_.logicalFileNames();}
24  std::vector<std::string> const& fileNames() const {return catalog_.fileNames();}
26 
27  static void fillDescription(ParameterSetDescription& desc);
28 
29  protected:
31 
32  private:
33  virtual size_t fileIndex() const {return fileIndex_;}
34 
35  size_t fileIndex_;
37  };
38 }
39 #endif
InputFileCatalog & catalog()
static void fillDescription(ParameterSetDescription &desc)
virtual size_t fileIndex() const
std::vector< std::string > const & logicalFileNames() const
std::vector< std::string > const & fileNames() const
std::vector< std::string > const & logicalFileNames() const
ExternalInputSource(ParameterSet const &pset, InputSourceDescription const &desc, bool realData=true)
std::vector< std::string > const & fileNames() const