23 getToken(
eeSCsToken_, config,
"superClusters",
"particleFlowSuperClusterECALEndcapWithPreshower");
26 produces<reco::ConversionCollection>();
44 for (
auto& inConv : inputConvs) {
45 pOutput->emplace_back(inConv);
46 auto& newConv(pOutput->back());
49 for (
auto ptr : inConv.caloCluster()) {
50 auto* sc(static_cast<reco::SuperCluster const*>(ptr.get()));
52 if (sc->seed()->seed().subdetId() ==
EcalBarrel)
61 newConv.setMatchingSuperCluster(clusters);
bool isNonnull() const
Checks for non-null.
edm::Handle< T > getHandle(edm::Event const &_event, edm::EDGetTokenT< T > const &token, std::string const &name)
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
edm::EDGetTokenT< SCRefMap > eeSCMapToken_
edm::EDGetTokenT< reco::ConversionCollection > inputConvsToken_
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::SuperClusterCollection > ebSCsToken_
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
edm::EDGetTokenT< SCRefMap > ebSCMapToken_
ConversionGSCrysFixer(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< reco::SuperClusterCollection > eeSCsToken_
void getToken(edm::EDGetTokenT< T > &token, edm::ParameterSet const &pset, std::string const &label, std::string const &instance="")