CMS 3D CMS Logo

InputSourceDescription.h

Go to the documentation of this file.
00001 #ifndef FWCore_Framework_InputSourceDescription_h
00002 #define FWCore_Framework_InputSourceDescription_h
00003 
00004 /*----------------------------------------------------------------------
00005 
00006 InputSourceDescription : the stuff that is needed to configure an
00007 input source that does not come in through the ParameterSet  
00008 
00009 $Id: InputSourceDescription.h,v 1.9 2008/10/16 23:06:28 wmtan Exp $
00010 ----------------------------------------------------------------------*/
00011 #include <string>
00012 #include "boost/shared_ptr.hpp"
00013 #include "DataFormats/Provenance/interface/ModuleDescription.h"
00014 
00015 namespace edm {
00016   class ProductRegistry;
00017   class ActivityRegistry;
00018 
00019   struct InputSourceDescription {
00020     InputSourceDescription() : moduleDescription_(), productRegistry_(0), actReg_(), maxEvents_(-1), maxLumis_(-1) {}
00021     InputSourceDescription(ModuleDescription const& md,
00022                            ProductRegistry& preg,
00023                            boost::shared_ptr<ActivityRegistry> areg,
00024                            int maxEvents,
00025                            int maxLumis) :
00026       moduleDescription_(md),
00027       productRegistry_(&preg),
00028       actReg_(areg),
00029       maxEvents_(maxEvents),
00030       maxLumis_(maxLumis)
00031          
00032     {}
00033 
00034     ModuleDescription moduleDescription_;
00035     ProductRegistry * productRegistry_;
00036     boost::shared_ptr<ActivityRegistry> actReg_;
00037     int maxEvents_;
00038     int maxLumis_;
00039   };
00040 }
00041 
00042 #endif

Generated on Tue Jun 9 17:35:42 2009 for CMSSW by  doxygen 1.5.4