CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EDInputSource.h
Go to the documentation of this file.
1 #ifndef FWCore_Sources_EDInputSource_h
2 #define FWCore_Sources_EDInputSource_h
3 
4 /*----------------------------------------------------------------------
5 ----------------------------------------------------------------------*/
6 
11 #include <vector>
12 #include <string>
13 
14 namespace edm {
15  struct InputSourceDescription;
16  class ParameterSet;
18 
19  class EDInputSource : public InputSource {
20  public:
21  explicit EDInputSource(ParameterSet const& pset, InputSourceDescription const& desc);
22  virtual ~EDInputSource();
23 
24  std::vector<std::string> const& logicalFileNames(int n = 0) const {
26  }
27  std::vector<std::string> const& fileNames(int n = 0) const {
29  }
30  std::vector<FileCatalogItem> const& fileCatalogItems(int n = 0) const {
32  }
34 
35  static void fillDescription(ParameterSetDescription& desc);
36 
37  private:
38  virtual void setRun(RunNumber_t);
39  virtual void setLumi(LuminosityBlockNumber_t lb);
40 
43  };
44 }
45 #endif
std::vector< std::string > const & fileNames(int n=0) const
Definition: EDInputSource.h:27
static void fillDescription(ParameterSetDescription &desc)
unsigned int LuminosityBlockNumber_t
Definition: EventID.h:31
EDInputSource(ParameterSet const &pset, InputSourceDescription const &desc)
InputFileCatalog catalog_
Definition: EDInputSource.h:41
InputFileCatalog & catalog(int n=0)
Definition: EDInputSource.h:33
std::vector< std::string > const & logicalFileNames() const
std::vector< FileCatalogItem > const & fileCatalogItems(int n=0) const
Definition: EDInputSource.h:30
std::vector< std::string > const & fileNames() const
virtual void setLumi(LuminosityBlockNumber_t lb)
InputFileCatalog secondaryCatalog_
Definition: EDInputSource.h:42
virtual void setRun(RunNumber_t)
unsigned int RunNumber_t
Definition: EventRange.h:32
std::vector< std::string > const & logicalFileNames(int n=0) const
Definition: EDInputSource.h:24
virtual ~EDInputSource()
std::vector< FileCatalogItem > const & fileCatalogItems() const