12 template <reco::PFBlockElement::Type T>
27 template <reco::PFBlockElement::Type T>
39 for (
auto clus = bclus; clus != eclus; ++clus) {
42 for (
auto scelem = elems.begin(); scelem != sc_end; ++scelem) {
58 ecals.emplace_back(newelem);
60 elems.reserve(elems.size() + ecals.size());
61 for (
auto&
ecal : ecals) {
62 elems.emplace_back(
ecal.release());
const SuperClusterRef & superClusterRef() const
static bool overlap(const reco::CaloCluster &sc1, const reco::CaloCluster &sc, float minfrac=0.01, bool debug=false)
edm::EDGetTokenT< edm::ValueMap< reco::CaloClusterPtr > > _assoc
edm::Ptr< CaloCluster > CaloClusterPtr
edm::EDGetTokenT< reco::PFClusterCollection > _src
SpecialClusterImporter< reco::PFBlockElement::HGCAL > HGCalClusterImporter
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
Container::value_type value_type
bool fromPFSuperCluster() const
void importToBlock(const edm::Event &, ElementList &) const override
SpecialClusterImporter< reco::PFBlockElement::ECAL > ECALClusterImporter
std::vector< l1t::PFCluster > PFClusterCollection
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::vector< std::unique_ptr< reco::PFBlockElement > > ElementList
SpecialClusterImporter(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
void setSuperClusterRef(const SuperClusterRef &ref)