1 #ifndef PhysicsTools_UtilAlgos_CollectionAdder_h 2 #define PhysicsTools_UtilAlgos_CollectionAdder_h 23 produces<collection>();
29 std::unique_ptr<collection> coll(
new collection);
30 typename collection::Filler
filler(*coll);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::StreamID, edm::Event &evt, const edm::EventSetup &) const override
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
std::vector< edm::EDGetTokenT< collection > > srcTokens_
def template(fileName, svg, replaceme="REPLACEME")
CollectionAdder(const edm::ParameterSet &cfg)