CMS 3D CMS Logo

EDInputSource.cc

Go to the documentation of this file.
00001 /*----------------------------------------------------------------------
00002 $Id: EDInputSource.cc,v 1.4 2008/03/14 03:46:24 wmtan Exp $
00003 ----------------------------------------------------------------------*/
00004 
00005 #include "FWCore/Sources/interface/EDInputSource.h"
00006 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00007 
00008 namespace edm {
00009   
00010   EDInputSource::EDInputSource(ParameterSet const& pset,
00011                                        InputSourceDescription const& desc) :
00012       InputSource(pset, desc),
00013       poolCatalog_(),
00014       catalog_(pset, poolCatalog_),
00015       secondaryCatalog_(pset, poolCatalog_, std::string("secondaryFileNames"), true) {}
00016 
00017   EDInputSource::~EDInputSource() {
00018   }
00019 
00020   void
00021   EDInputSource::setRun(RunNumber_t) {
00022       LogWarning("IllegalCall")
00023         << "EDInputSource::setRun()\n"
00024         << "Run number cannot be modified for an EDInputSource\n";
00025   }
00026 
00027   void
00028   EDInputSource::setLumi(LuminosityBlockNumber_t) {
00029       LogWarning("IllegalCall")
00030         << "EDInputSource::setLumi()\n"
00031         << "Luminosity Block ID cannot be modified for an EDInputSource\n";
00032   }
00033 }

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