22 const string metname =
"Muon|RecoMuon|MuonSeedMerger";
24 theSeedCollectionLabels = parameterSet.
getParameter<vector<InputTag> >(
"SeedCollections");
26 LogTrace(metname) <<
"MuonSeedMerger will Merge the following seed collections:";
27 for (vector<InputTag>::const_iterator
label = theSeedCollectionLabels.begin();
label != theSeedCollectionLabels.end();
31 for (vector<InputTag>::const_iterator
label = theSeedCollectionLabels.begin();
label != theSeedCollectionLabels.end();
36 produces<TrajectorySeedCollection>();
42 const string metname =
"Muon|RecoMuon|MuonSeedMerger";
44 auto output = std::make_unique<TrajectorySeedCollection>();
48 for (
unsigned int i = 0;
i < theSeedCollectionLabels.size(); ++
i) {
49 event.getByToken(seedTokens.at(
i),
seeds);
51 LogTrace(metname) << theSeedCollectionLabels.at(
i) <<
" has " << seeds->size() <<
" seeds";
const std::string metname
MuonSeedMerger(const edm::ParameterSet &)
Constructor.
void produce(edm::Event &, const edm::EventSetup &) override
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
T getParameter(std::string const &) const
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
~MuonSeedMerger() override
Destructor.