23 for (
auto clus = cbegin; clus != cend; ++clus) {
26 switch (clus->layer()) {
54 throw cms::Exception(
"InvalidPFLayer") <<
"Layer given, " << clus->layer() <<
" is not a valid PFLayer!";
57 elems.emplace_back(cptr);
Abstract base class for a PFBlock element (track, cluster...)
void importToBlock(const edm::Event &, ElementList &) const override
std::vector< l1t::PFCluster > PFClusterCollection
GenericClusterImporter(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::vector< std::unique_ptr< reco::PFBlockElement > > ElementList
edm::EDGetTokenT< reco::PFClusterCollection > _src