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 PrincipalCache;
14  class ProductRegistry;
15  class ActivityRegistry;
16 
21  principalCache_(0),
22  actReg_(), maxEvents_(-1),
23  maxLumis_(-1) {}
25  ProductRegistry& preg,
26  PrincipalCache& pCache,
27  boost::shared_ptr<ActivityRegistry> areg,
28  int maxEvents,
29  int maxLumis) :
31  productRegistry_(&preg),
32  principalCache_(&pCache),
33  actReg_(areg),
34  maxEvents_(maxEvents),
35  maxLumis_(maxLumis)
36 
37  {}
38 
42  boost::shared_ptr<ActivityRegistry> actReg_;
44  int maxLumis_;
45  };
46 }
47 
48 #endif
boost::shared_ptr< ActivityRegistry > actReg_
author Stefano ARGIRO author Bill Tanenbaum
InputSourceDescription(ModuleDescription const &md, ProductRegistry &preg, PrincipalCache &pCache, boost::shared_ptr< ActivityRegistry > areg, int maxEvents, int maxLumis)