CMS 3D CMS Logo

ProducerSourceFromFiles.h
Go to the documentation of this file.
1 #ifndef FWCore_Sources_ProducerSourceFromFiles_h
2 #define FWCore_Sources_ProducerSourceFromFiles_h
3 
4 /*----------------------------------------------------------------------
5 ----------------------------------------------------------------------*/
6 
7 #include <string>
8 #include <vector>
9 
12 
13 namespace edm {
14  class ParameterSet;
16 
18  public:
19  ProducerSourceFromFiles(ParameterSet const& pset, InputSourceDescription const& desc, bool realData);
20  virtual ~ProducerSourceFromFiles();
21 
24  using FromFiles::catalog;
25 
26  virtual bool noFiles() const override {
27  return fileNames().empty();
28  }
29 
30  static void fillDescription(ParameterSetDescription& desc);
31 
32  protected:
34 
35  private:
37  };
38 }
39 #endif
void incrementFileIndex()
Definition: FromFiles.h:27
static void fillDescription(ParameterSetDescription &desc)
ProducerSourceFromFiles(ParameterSet const &pset, InputSourceDescription const &desc, bool realData)
std::vector< std::string > const & fileNames() const
Definition: FromFiles.h:22
InputFileCatalog & catalog()
Definition: FromFiles.h:23
virtual bool noFiles() const override
std::vector< std::string > const & logicalFileNames() const
Definition: FromFiles.h:21
HLT enums.
size_t fileIndex() const
Definition: FromFiles.cc:23