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"
12 
13 namespace edm {
14  class ProductRegistry;
15  class ActivityRegistry;
16  class BranchIDListHelper;
17  class PreallocationConfiguration;
18 
23  actReg_(),
24  maxEvents_(-1),
25  maxLumis_(-1),
27  }
28 
31  boost::shared_ptr<BranchIDListHelper> branchIDListHelper,
32  boost::shared_ptr<ActivityRegistry> areg,
33  int maxEvents,
34  int maxLumis,
35  PreallocationConfiguration const& allocations) :
37  productRegistry_(&preg),
38  branchIDListHelper_(branchIDListHelper),
39  actReg_(areg),
40  maxEvents_(maxEvents),
41  maxLumis_(maxLumis),
42  allocations_(&allocations) {
43  }
44 
47  boost::shared_ptr<BranchIDListHelper> branchIDListHelper_;
48  boost::shared_ptr<ActivityRegistry> actReg_;
50  int maxLumis_;
52  };
53 }
54 
55 #endif
#define nullptr
InputSourceDescription(ModuleDescription const &md, ProductRegistry &preg, boost::shared_ptr< BranchIDListHelper > branchIDListHelper, boost::shared_ptr< ActivityRegistry > areg, int maxEvents, int maxLumis, PreallocationConfiguration const &allocations)
areg
Definition: Schedule.cc:362
boost::shared_ptr< BranchIDListHelper > branchIDListHelper_
boost::shared_ptr< ActivityRegistry > actReg_
preg
Definition: Schedule.cc:362
PreallocationConfiguration const * allocations_