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  class ThinnedAssociationsHelper;
19 
24  actReg_(),
25  maxEvents_(-1),
26  maxLumis_(-1),
28  }
29 
31  std::shared_ptr<ProductRegistry> preg,
32  std::shared_ptr<BranchIDListHelper> branchIDListHelper,
33  std::shared_ptr<ThinnedAssociationsHelper> thinnedAssociationsHelper,
34  std::shared_ptr<ActivityRegistry> areg,
35  int maxEvents,
36  int maxLumis,
37  int maxSecondsUntilRampdown,
38  PreallocationConfiguration const& allocations) :
40  productRegistry_(preg),
41  branchIDListHelper_(branchIDListHelper),
42  thinnedAssociationsHelper_(thinnedAssociationsHelper),
43  actReg_(areg),
44  maxEvents_(maxEvents),
45  maxLumis_(maxLumis),
46  maxSecondsUntilRampdown_(maxSecondsUntilRampdown),
47  allocations_(&allocations) {
48  }
49 
51  std::shared_ptr<ProductRegistry> productRegistry_;
52  std::shared_ptr<BranchIDListHelper> branchIDListHelper_;
53  std::shared_ptr<ThinnedAssociationsHelper> thinnedAssociationsHelper_;
54  std::shared_ptr<ActivityRegistry> actReg_;
56  int maxLumis_;
59  };
60 }
61 
62 #endif
std::shared_ptr< ProductRegistry > productRegistry_
std::shared_ptr< ActivityRegistry > actReg_
std::shared_ptr< ThinnedAssociationsHelper > thinnedAssociationsHelper_
InputSourceDescription(ModuleDescription const &md, std::shared_ptr< ProductRegistry > preg, std::shared_ptr< BranchIDListHelper > branchIDListHelper, std::shared_ptr< ThinnedAssociationsHelper > thinnedAssociationsHelper, std::shared_ptr< ActivityRegistry > areg, int maxEvents, int maxLumis, int maxSecondsUntilRampdown, PreallocationConfiguration const &allocations)
#define nullptr
areg
Definition: Schedule.cc:370
std::shared_ptr< BranchIDListHelper > branchIDListHelper_
preg
Definition: Schedule.cc:370
PreallocationConfiguration const * allocations_