Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-09 23:33:33

0001 #ifndef FWCore_Sources_ProducerSourceFromFiles_h
0002 #define FWCore_Sources_ProducerSourceFromFiles_h
0003 
0004 /*----------------------------------------------------------------------
0005 ----------------------------------------------------------------------*/
0006 
0007 #include <string>
0008 #include <vector>
0009 
0010 #include "FWCore/Sources/interface/FromFiles.h"
0011 #include "FWCore/Sources/interface/ProducerSourceBase.h"
0012 
0013 namespace edm {
0014   class ParameterSet;
0015   class ParameterSetDescription;
0016 
0017   class ProducerSourceFromFiles : public ProducerSourceBase, private FromFiles {
0018   public:
0019     ProducerSourceFromFiles(ParameterSet const& pset, InputSourceDescription const& desc, bool realData);
0020     ~ProducerSourceFromFiles() override;
0021 
0022     using FromFiles::catalog;
0023     using FromFiles::fileNames;
0024 
0025     static void fillDescription(ParameterSetDescription& desc);
0026 
0027   protected:
0028     using FromFiles::incrementFileIndex;
0029 
0030   private:
0031     size_t fileIndex() const override;
0032   };
0033 }  // namespace edm
0034 #endif