CMS 3D CMS Logo

FromFiles.h
Go to the documentation of this file.
1 #ifndef FWCore_Sources_FromFiles_h
2 #define FWCore_Sources_FromFiles_h
3 
4 /*----------------------------------------------------------------------
5 ----------------------------------------------------------------------*/
6 
7 #include <vector>
8 #include <string>
9 
11 
12 namespace edm {
13  class ParameterSet;
15 
16  class FromFiles {
17  public:
18  FromFiles(ParameterSet const& pset);
19  ~FromFiles();
20 
21  std::vector<std::string> const& logicalFileNames() const { return catalog_.logicalFileNames(); }
22  std::vector<std::string> fileNames(unsigned iCatalog) const { return catalog_.fileNames(iCatalog); }
24 
26 
28 
29  size_t fileIndex() const;
30 
31  private:
33  size_t fileIndex_;
34  };
35 } // namespace edm
36 #endif
edm::FromFiles::incrementFileIndex
void incrementFileIndex()
Definition: FromFiles.h:27
edm::FromFiles::catalog_
InputFileCatalog catalog_
Definition: FromFiles.h:32
edm::FromFiles::fileIndex
size_t fileIndex() const
Definition: FromFiles.cc:20
edm::FromFiles::logicalFileNames
std::vector< std::string > const & logicalFileNames() const
Definition: FromFiles.h:21
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::InputFileCatalog::fileNames
std::vector< std::string > fileNames(unsigned iCatalog) const
Definition: InputFileCatalog.cc:26
edm::InputFileCatalog
Definition: InputFileCatalog.h:32
InputFileCatalog.h
edm::FromFiles::catalog
InputFileCatalog & catalog()
Definition: FromFiles.h:23
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
edm::FromFiles::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition: FromFiles.cc:13
edm::FromFiles::fileNames
std::vector< std::string > fileNames(unsigned iCatalog) const
Definition: FromFiles.h:22
edm::InputFileCatalog::logicalFileNames
std::vector< std::string > const & logicalFileNames() const
Definition: InputFileCatalog.h:40
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
edm::FromFiles::FromFiles
FromFiles(ParameterSet const &pset)
Definition: FromFiles.cc:6
edm::FromFiles::~FromFiles
~FromFiles()
Definition: FromFiles.cc:11
edm::FromFiles::fileIndex_
size_t fileIndex_
Definition: FromFiles.h:33
ParameterSetDescription
edm::FromFiles
Definition: FromFiles.h:16
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27