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  ~ProducerSourceFromFiles() override;
21 
22  using FromFiles::catalog;
25 
26  bool noFiles() const override { return fileNames().empty(); }
27 
28  static void fillDescription(ParameterSetDescription& desc);
29 
30  protected:
32 
33  private:
34  size_t fileIndex() const override;
35  };
36 } // namespace edm
37 #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
std::vector< std::string > const & logicalFileNames() const
Definition: FromFiles.h:21
HLT enums.