CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FromFiles.cc
Go to the documentation of this file.
4 
5 namespace edm {
7  : catalog_(pset.getUntrackedParameter<std::vector<std::string> >("fileNames"),
8  pset.getUntrackedParameter<std::string>("overrideCatalog", std::string())),
9  fileIndex_(0) {}
10 
12 
14  std::vector<std::string> defaultStrings;
15  desc.addUntracked<std::vector<std::string> >("fileNames", defaultStrings)
16  ->setComment("Names of files to be processed.");
17  desc.addUntracked<std::string>("overrideCatalog", std::string());
18  }
19 
20  size_t FromFiles::fileIndex() const { return fileIndex_; }
21 } // namespace edm
FromFiles(ParameterSet const &pset)
Definition: FromFiles.cc:6
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
static void fillDescription(ParameterSetDescription &desc)
Definition: FromFiles.cc:13
size_t fileIndex_
Definition: FromFiles.h:33
size_t fileIndex() const
Definition: FromFiles.cc:20