Go to the documentation of this file.00001 #ifndef FWCore_Framework_InputSourceDescription_h
00002 #define FWCore_Framework_InputSourceDescription_h
00003
00004
00005
00006
00007
00008
00009 #include "boost/shared_ptr.hpp"
00010 #include "DataFormats/Provenance/interface/ModuleDescription.h"
00011
00012 namespace edm {
00013 class ProductRegistry;
00014 class ActivityRegistry;
00015 class BranchIDListHelper;
00016
00017 struct InputSourceDescription {
00018 InputSourceDescription() :
00019 moduleDescription_(),
00020 productRegistry_(0),
00021 actReg_(), maxEvents_(-1),
00022 maxLumis_(-1) {}
00023 InputSourceDescription(ModuleDescription const& md,
00024 ProductRegistry& preg,
00025 boost::shared_ptr<BranchIDListHelper> branchIDListHelper,
00026 boost::shared_ptr<ActivityRegistry> areg,
00027 int maxEvents,
00028 int maxLumis) :
00029 moduleDescription_(md),
00030 productRegistry_(&preg),
00031 branchIDListHelper_(branchIDListHelper),
00032 actReg_(areg),
00033 maxEvents_(maxEvents),
00034 maxLumis_(maxLumis)
00035
00036 {}
00037
00038 ModuleDescription moduleDescription_;
00039 ProductRegistry* productRegistry_;
00040 boost::shared_ptr<BranchIDListHelper> branchIDListHelper_;
00041 boost::shared_ptr<ActivityRegistry> actReg_;
00042 int maxEvents_;
00043 int maxLumis_;
00044 };
00045 }
00046
00047 #endif