00001 #ifndef FWCore_Framework_InputSourceDescription_h
00002 #define FWCore_Framework_InputSourceDescription_h
00003
00004
00005
00006
00007
00008
00009
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