23 const string metname =
"Muon|RecoMuon|MuonSeedMerger";
25 theSeedCollectionLabels = parameterSet.
getParameter<vector<InputTag> >(
"SeedCollections");
27 LogTrace(metname)<<
"MuonSeedMerger will Merge the following seed collections:";
28 for(vector<InputTag>::const_iterator
label = theSeedCollectionLabels.begin();
29 label != theSeedCollectionLabels.end(); ++
label)
32 for(vector<InputTag>::const_iterator
label = theSeedCollectionLabels.begin();
33 label != theSeedCollectionLabels.end(); ++
label){
37 produces<TrajectorySeedCollection>();
45 const string metname =
"Muon|RecoMuon|MuonSeedMerger";
47 auto output = std::make_unique<TrajectorySeedCollection>();
51 for(
unsigned int i=0;
i<theSeedCollectionLabels.size();++
i) {
52 event.getByToken(seedTokens.at(
i),seeds);
54 LogTrace(metname) << theSeedCollectionLabels.at(
i) <<
" has "<< seeds->size() <<
" seeds";
T getParameter(std::string const &) const
const std::string metname
MuonSeedMerger(const edm::ParameterSet &)
Constructor.
virtual void produce(edm::Event &, const edm::EventSetup &) override
virtual ~MuonSeedMerger()
Destructor.
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
ParameterSet const & parameterSet(Provenance const &provenance)