CMS 3D CMS Logo

ExternalInputSource.h

Go to the documentation of this file.
00001 #ifndef FWCore_Sources_ExternalInputSource_h
00002 #define FWCore_Sources_ExternalInputSource_h
00003 
00004 /*----------------------------------------------------------------------
00005 $Id: ExternalInputSource.h,v 1.5 2008/11/11 15:58:32 wmtan Exp $
00006 ----------------------------------------------------------------------*/
00007 
00008 #include <memory>
00009 #include <vector>
00010 #include <string>
00011 
00012 #include "FWCore/Framework/interface/ConfigurableInputSource.h"
00013 #include "FWCore/Catalog/interface/InputFileCatalog.h"
00014 
00015 namespace edm {
00016   class ExternalInputSource : public ConfigurableInputSource {
00017   public:
00018     ExternalInputSource(ParameterSet const& pset, InputSourceDescription const& desc, bool realData = true);
00019     virtual ~ExternalInputSource();
00020 
00021   std::vector<std::string> const& logicalFileNames() const {return catalog_.logicalFileNames();}
00022   std::vector<std::string> const& fileNames() const {return catalog_.fileNames();}
00023   InputFileCatalog& catalog() {return catalog_;}
00024 
00025 
00026   private:
00027     PoolCatalog poolCatalog_;
00028     InputFileCatalog catalog_;
00029   };
00030 }
00031 #endif

Generated on Tue Jun 9 17:36:40 2009 for CMSSW by  doxygen 1.5.4