template<typename InputCollection, typename OutputCollection = InputCollection, typename P = typename edm::clonehelper::CloneTrait<InputCollection>::type>
class Merger< InputCollection, OutputCollection, P >
Merges an arbitrary number of collections into a single collection.
Template parameters:
- C : collection type
- P : policy class that specifies how objects in the collection are are cloned
- Author
- Luca Lista, INFN
- Version
- Revision:
- 1.1
- Id:
- Merger.h,v 1.1 2009/03/03 13:07:27 llista Exp
Definition at line 30 of file Merger.h.
template<typename InputCollection , typename OutputCollection , typename P >
process an event
Implements edm::EDProducer.
Definition at line 57 of file Merger.h.
References trackerHits::c, clone(), coll, edm::Event::getByLabel(), h, edm::Event::put(), and asciidump::s.
Referenced by python.JSONExport.JsonExport::export(), and python.HTMLExport.HTMLExport::export().
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
void push_back(key_type i, value_type const &j, label_type const &flav="")
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.