1 #ifndef UtilAlgos_Merger_h
2 #define UtilAlgos_Merger_h
41 typedef std::vector<edm::InputTag>
vtag;
46 template<
typename InputCollection,
typename OutputCollection,
typename P>
49 produces<OutputCollection>();
52 template<
typename InputCollection,
typename OutputCollection,
typename P>
56 template<
typename InputCollection,
typename OutputCollection,
typename P>
59 for( vtag::const_iterator
s = src_.begin();
s != src_.end(); ++
s ) {
62 for(
typename InputCollection::const_iterator
c = h->begin();
c != h->end(); ++
c ) {
std::vector< ProtoJet > OutputCollection
vtag src_
labels of the collections to be merged
std::vector< InputItem > InputCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< edm::InputTag > vtag
vector of strings
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &) override
process an event
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Merger(const edm::ParameterSet &)
constructor from parameter set