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 <memory>
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  std::shared_ptr<BranchIDListHelper> branchIDListHelper,
32  std::shared_ptr<ActivityRegistry> areg,
33  int maxEvents,
34  int maxLumis,
35  int maxSecondsUntilRampdown,
36  PreallocationConfiguration const& allocations) :
38  productRegistry_(&preg),
39  branchIDListHelper_(branchIDListHelper),
40  actReg_(areg),
41  maxEvents_(maxEvents),
42  maxLumis_(maxLumis),
43  maxSecondsUntilRampdown_(maxSecondsUntilRampdown),
44  allocations_(&allocations) {
45  }
46 
49  std::shared_ptr<BranchIDListHelper> branchIDListHelper_;
50  std::shared_ptr<ActivityRegistry> actReg_;
52  int maxLumis_;
55  };
56 }
57 
58 #endif
std::shared_ptr< ActivityRegistry > actReg_
#define nullptr
areg
Definition: Schedule.cc:368
InputSourceDescription(ModuleDescription const &md, ProductRegistry &preg, std::shared_ptr< BranchIDListHelper > branchIDListHelper, std::shared_ptr< ActivityRegistry > areg, int maxEvents, int maxLumis, int maxSecondsUntilRampdown, PreallocationConfiguration const &allocations)
std::shared_ptr< BranchIDListHelper > branchIDListHelper_
preg
Definition: Schedule.cc:368
PreallocationConfiguration const * allocations_