Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:10

0001 #ifndef FWCore_Sources_VectorInputSourceDescription_h
0002 #define FWCore_Sources_VectorInputSourceDescription_h
0003 
0004 /*----------------------------------------------------------------------
0005 
0006 VectorInputSourceDescription : the stuff that is needed to configure
0007 a VectorinputSource that does not come in through the ParameterSet  
0008 ----------------------------------------------------------------------*/
0009 
0010 #include "FWCore/Framework/interface/PreallocationConfiguration.h"
0011 
0012 #include <memory>
0013 
0014 namespace edm {
0015   class PreallocationConfiguration;
0016   class ProductRegistry;
0017 
0018   struct VectorInputSourceDescription {
0019     VectorInputSourceDescription() : productRegistry_(nullptr) {}
0020 
0021     VectorInputSourceDescription(std::shared_ptr<ProductRegistry> preg, PreallocationConfiguration const& allocations)
0022         : productRegistry_(preg), allocations_(&allocations) {}
0023 
0024     std::shared_ptr<ProductRegistry> productRegistry_;
0025     PreallocationConfiguration const* allocations_;
0026   };
0027 }  // namespace edm
0028 
0029 #endif