1 #ifndef FWCore_Sources_VectorInputSource_h 2 #define FWCore_Sources_VectorInputSource_h 19 class HepRandomEngine;
24 struct VectorInputSourceDescription;
37 CLHEP::HepRandomEngine* =
nullptr,
39 bool recycleFiles =
true);
41 template <
typename T,
typename Iterator>
89 CLHEP::HepRandomEngine* engine,
93 unsigned int consecutiveRejections = 0
U;
99 bool used = eventOperator(
cache, fileNameHash);
102 consecutiveRejections = 0
U;
104 ++consecutiveRejections;
111 template <
typename T,
typename Iterator>
115 for (
Iterator iter = begin; iter != end; ++iter) {
118 eventOperator(
cache, fileNameHash);
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)