CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
InputSourceDescription.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_InputSourceDescription_h
2 #define FWCore_Framework_InputSourceDescription_h
3 
4 /*----------------------------------------------------------------------
5 
6 InputSourceDescription : the stuff that is needed to configure an
7 input source that does not come in through the ParameterSet
8 ----------------------------------------------------------------------*/
9 #include "boost/shared_ptr.hpp"
11 
12 namespace edm {
13  class ProductRegistry;
14  class ActivityRegistry;
15  class BranchIDListHelper;
16 
21  actReg_(), maxEvents_(-1),
22  maxLumis_(-1) {}
24  ProductRegistry& preg,
25  boost::shared_ptr<BranchIDListHelper> branchIDListHelper,
26  boost::shared_ptr<ActivityRegistry> areg,
27  int maxEvents,
28  int maxLumis) :
30  productRegistry_(&preg),
31  branchIDListHelper_(branchIDListHelper),
32  actReg_(areg),
33  maxEvents_(maxEvents),
34  maxLumis_(maxLumis)
35 
36  {}
37 
40  boost::shared_ptr<BranchIDListHelper> branchIDListHelper_;
41  boost::shared_ptr<ActivityRegistry> actReg_;
43  int maxLumis_;
44  };
45 }
46 
47 #endif
#define nullptr
InputSourceDescription(ModuleDescription const &md, ProductRegistry &preg, boost::shared_ptr< BranchIDListHelper > branchIDListHelper, boost::shared_ptr< ActivityRegistry > areg, int maxEvents, int maxLumis)
boost::shared_ptr< BranchIDListHelper > branchIDListHelper_
boost::shared_ptr< ActivityRegistry > actReg_